Re: Anomalies in Python search-path

2017-01-19 Thread Ludovic Courtès
Hartmut Goebel skribis: > Am 15.01.2017 um 23:10 schrieb Ludovic Courtès: >>> > My last reporting that pip was working correctly in non-environment was >>> > wrong because I had failed to logout/login after installing the python >>> > package; after doing so, the

Re: Anomalies in Python search-path

2017-01-16 Thread Hartmut Goebel
Am 15.01.2017 um 23:10 schrieb Ludovic Courtès: >> > My last reporting that pip was working correctly in non-environment was >> > wrong because I had failed to logout/login after installing the python >> > package; after doing so, the behavior is the same as in an environment: >> > the user site

Re: Anomalies in Python search-path

2017-01-16 Thread Hartmut Goebel
Am 15.01.2017 um 20:23 schrieb Maxim Cournoyer: > 1. Remove the current "python-2.7-site-prefixes" patch. I'm afraid, we'll still need this patch. Since "native-inputs" will not be available at build time otherwise. But you way give it a try. > 2. Apply a new patch to site.py to add

Re: Anomalies in Python search-path

2017-01-15 Thread Ludovic Courtès
Maxim Cournoyer skribis: > After more testing, the Python search-path we form is always problematic > for pip since the system site-packages will always appear in front of the > user site location (~/.local/...). You’re talking about the search path formed by ‘guix

Re: Anomalies in Python search-path

2017-01-15 Thread Maxim Cournoyer
Hi Hartmut! I was hoping you'd join this thread! Hartmut Goebel writes: > Am 06.01.2017 um 19:41 schrieb Maxim Cournoyer: >> One thing which I discovered while testing pip on Guix was that >> depending on how you use Python on Guix the PYTHONPATH differs: > > I

Re: Anomalies in Python search-path (was: [PATCH] Update python-pip to 9.0.1)

2017-01-15 Thread Maxim Cournoyer
Hi! l...@gnu.org (Ludovic Courtès) writes: > Hello! > > Maxim Cournoyer skribis: > >> l...@gnu.org (Ludovic Courtès) writes: > > [...] > >>> ‘guix environment’ without --pure adds its own entries to the front of >>> the search paths, which is why we observe this

Anomalies in Python search-path (was: [PATCH] Update python-pip to 9.0.1)

2017-01-14 Thread Hartmut Goebel
Am 06.01.2017 um 19:41 schrieb Maxim Cournoyer: > One thing which I discovered while testing pip on Guix was that > depending on how you use Python on Guix the PYTHONPATH differs: I analysed this problem and found set we have another serious problem here. But good news: There is an easy solution