GNU bug report logs - #27271
[PATCH 0/4] Catch collisions at profile creation time

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Wed, 7 Jun 2017 09:24:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #35 received at 27271 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: Ludovic Courtès <ludo <at> gnu.org>,
 Marius Bakke <mbakke <at> fastmail.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 27271 <at> debbugs.gnu.org
Subject: Re: Avoiding ‘propagated-inputs’ for Python dependencies
Date: Sat, 17 Jun 2017 11:00:29 +0200
Hi,

in addition to what I just wrote, you should be aware of this
implementation restriction:

.pth-files are searched only in directories listed in sys.path
(PYTHONPATH), they are not searched recursively.

Assuming the dependency-graph AAA -> SOME-PACKAGE -> PPP, guix (after
implementing this proposal) will only install AAA into the profile and
only .AAA.pth will be processes. This will result into PPP to be not found.

This could be worked around by adding a module "sitecustomize.py" to our
python setup, which could implement the recursive addition of paths.

BTW: The corresponding patch for python-2.7-site-prefixes.patch is
missing for Python 3, so for Python 3 no .pth-files are processed at
all  – I assume. (I have no time ATM for testing. Sorry.)

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |






This bug report was last modified 8 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.