[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27271] Avoiding ‘propagated-inputs’ for Python dependencies
From: |
Hartmut Goebel |
Subject: |
[bug#27271] Avoiding ‘propagated-inputs’ for Python dependencies |
Date: |
Sat, 17 Jun 2017 11:00:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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 | address@hidden |
| www.crazy-compilers.com | compilers which you thought are impossible |
- bug#27271: [PATCH 0/4] Catch collisions at profile creation time, Ludovic Courtès, 2017/06/07
- bug#27271: [PATCH 1/4] profiles: Represent propagated inputs as manifest entries., Ludovic Courtès, 2017/06/07
- bug#27271: [PATCH 0/4] Catch collisions at profile creation time, Ricardo Wurmus, 2017/06/08
- [bug#27271] [PATCH 0/4] Catch collisions at profile creation time, Ricardo Wurmus, 2017/06/17
- [bug#27271] [PATCH 0/4] Catch collisions at profile creation time, Ludovic Courtès, 2017/06/17
- bug#27271: [PATCH 0/4] Catch collisions at profile creation time, Ludovic Courtès, 2017/06/21