Issue53

Title respect the PYTHONPATH
Priority feature Status chatting
Superseder Nosy List pje, zooko
Assigned To Keywords

Created on 2008-11-21.16:53:41 by zooko, last changed 2009-05-18.21:40:44 by zooko.

Files
File name Uploaded Type Edit Remove
PYTHONPATH.patch.txt zooko, 2008-11-21.16:56:16 text/plain
Messages
msg288 (view) Author: zooko Date: 2009-05-18.21:40:44
Brian Warner has opened a ticket against Tahoe whose root problem is mostly this
issue:

http://allmydata.org/trac/tahoe/ticket/709 # hard to run against alternate
dependencies, i.e. trunk version of Foolscap
msg250 (view) Author: pje Date: 2009-03-10.17:52:53
See also http://mail.python.org/pipermail/distutils-sig/2009-January/010880.html
- in which I further detail the requirements for such a patch.  There's also one
further issue I forgot about in that email: currently, site-packages eggs can
override the stdlib, and I didn't consider that requirement in the discussion.
msg249 (view) Author: zooko Date: 2009-03-10.15:13:28
Mark Sienkiwicz posted a patch which attempts to resolve this.

http://mail.python.org/pipermail/distutils-sig/2009-January/010768.html
msg209 (view) Author: pje Date: 2008-11-25.00:18:31
This behavior change is unacceptable, as it makes it impossible to ensure that
an easy_install-ed package takes precedence over an existing,
distutils-installed version of the same package in the same PYTHONPATH directory.

Please note that that is the intended default behavior of easy_install: if you
wish to override it, you should use --multi-version, and explicitly select the
egg(s) to be added to sys.path instead.
msg205 (view) Author: zooko Date: 2008-11-21.16:53:41
Here is a patch to let elements of the PYTHONPATH environment variable maintain
precedence with regard to installed eggs, while still allowing installed eggs to
maintain their precedence with regard to installed non-eggs:

http://mail.python.org/pipermail/distutils-sig/2008-November/010487.html
History
Date User Action Args
2009-05-18 21:40:44zookosetmessages: + msg288
2009-03-10 17:52:54pjesetmessages: + msg250
2009-03-10 15:13:28zookosetstatus: resolved -> chatting
messages: + msg249
2008-11-25 00:18:32pjesetstatus: unread -> resolved
nosy: + pje
messages: + msg209
2008-11-21 16:56:16zookosetfiles: + PYTHONPATH.patch.txt
2008-11-21 16:53:41zookocreate