[Top][All Lists]

[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


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 "" 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.)

Hartmut Goebel

| Hartmut Goebel          | address@hidden               |
| | compilers which you thought are impossible |

reply via email to

[Prev in Thread] Current Thread [Next in Thread]