all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fixing package-with-python2 (was: Package transformations)
@ 2016-02-01 13:49 Thompson, David
  2016-02-01 14:26 ` Pjotr Prins
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Thompson, David @ 2016-02-01 13:49 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: guix-devel

On Mon, Feb 1, 2016 at 8:06 AM, Efraim Flashner <efraim@flashner.co.il> wrote:

> I looked over the commit but not deeply enough yet, would it be possible to
> use some of the logic in this to fix the package-with-python2 issue?

Here's a potential solution for 'package-with-python2': module
introspection.  AIUI, the issue is that some Python 2 packages need
extra manual tweaking, but 'package-with-python2' creates package
variants without these tweaks. Our algorithm could look up
'python2-foo' in (gnu packages python) and use that package object, if
it exists.  This would stop the recursive transformation for that
branch of the dependency graph and allow us to tweak Python 2 variants
as needed without fear.

Also, somewhat unrelated, package-with-python2 could add setuptools as
an input to these packages so we can remove all the unnecessary usage
of it in Python 3 packages.

Thoughts?

- Dave

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-02-08 18:13 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-01 13:49 Fixing package-with-python2 (was: Package transformations) Thompson, David
2016-02-01 14:26 ` Pjotr Prins
2016-02-01 16:35 ` Efraim Flashner
2016-02-01 16:49   ` Thompson, David
2016-02-01 17:12 ` Andreas Enge
2016-02-01 22:11   ` Fixing package-with-python2 Ludovic Courtès
2016-02-01 22:07 ` Ludovic Courtès
2016-02-01 22:12   ` Thompson, David
2016-02-02  7:50   ` Efraim Flashner
2016-02-03  8:47   ` bug#22437: " Ludovic Courtès
2016-02-03  8:47   ` Ludovic Courtès
2016-02-07  8:17     ` bug#22437: " Efraim Flashner
2016-02-07  8:17     ` Efraim Flashner
2016-02-07  9:32       ` Ricardo Wurmus
2016-02-07  9:32       ` Ricardo Wurmus
2016-02-07 20:35         ` Ludovic Courtès
2016-02-07 20:35         ` Ludovic Courtès
2016-02-07 20:42       ` Ludovic Courtès
2016-02-08 15:11       ` Ludovic Courtès
2016-02-08 15:11       ` Ludovic Courtès
2016-02-07 11:09     ` Andreas Enge
2016-02-07 11:09     ` Andreas Enge
2016-02-07 20:39       ` Ludovic Courtès
2016-02-07 20:39       ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.