Activity log for bug #821000

Date Who What changed Old value New value Message
2011-08-04 16:08:01 Zooko Wilcox-O'Hearn bug added bug
2011-08-04 16:08:41 Zooko Wilcox-O'Hearn bug task added distribute
2011-08-04 16:10:01 Zooko Wilcox-O'Hearn description This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says: "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@ "import sys; new=sys.path[sys.__plen:];" " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;" " sys.__egginsert = p+len(new)\n" ) % data This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: {{{ Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data }}}
2011-08-04 16:11:15 Zooko Wilcox-O'Hearn description This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: {{{ Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data }}} This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: {{{ Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data </pre>
2011-08-04 16:11:34 Zooko Wilcox-O'Hearn description This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: {{{ Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data </pre> This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: <pre> Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data </pre>
2011-08-04 16:13:16 Zooko Wilcox-O'Hearn bug watch added http://bugs.python.org/setuptools/issue53
2011-08-04 16:13:16 Zooko Wilcox-O'Hearn bug task added setuptools
2011-08-04 16:13:57 Zooko Wilcox-O'Hearn bug watch added http://tahoe-lafs.org/trac/tahoe-lafs/ticket/709
2011-08-04 16:13:57 Zooko Wilcox-O'Hearn bug task added tahoe-lafs
2011-08-04 16:24:27 Zooko Wilcox-O'Hearn description This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: <pre> Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data </pre> This is a long-standing issue in setuptools, which was copied into distribute when distribute forked. There exist patches the attempt to fix the issue offered against both setuptools and distribute. There are tickets in the setuptools issue tracker, distribute issue tracker, and the Tahoe-LAFS issue tracker (where we maintain a fork of setuptools in order to fix this among other outstanding bugs). The crux of the problem is that the Python documentation says:   "The PYTHONPATH variable can be set to a list of paths that will be added to the beginning of sys.path." http://docs.python.org/install/index.html#modifying-python-s-search-path This is true with standard distutils, false with setuptools, false with distribute, and true if you apply the following patch to either setuptools or distribute: Index: setuptools/command/easy_install.py =================================================================== --- setuptools/command/easy_install.py (revision 560) +++ setuptools/command/easy_install.py (revision 562) @@ -1365,5 +1365,5 @@                  "import sys; new=sys.path[sys.__plen:];"                  " del sys.path[sys.__plen:];" - " p=getattr(sys,'__egginsert',0); sys.path[p:p]=new;" + " p=getattr(sys,'__egginsert',len(os.environ.get('PYTHONPATH','').split(os.pathsep))); sys.path[p:p]=new;"                  " sys.__egginsert = p+len(new)\n"              ) % data
2011-08-04 17:14:04 Bug Watch Updater tahoe-lafs: status Unknown New
2015-01-20 23:59:46 Launchpad Janitor distribute (Ubuntu): status New Confirmed
2015-01-21 09:25:00 Dimitri John Ledkov bug task added python-setuptools (Ubuntu)
2015-01-21 09:25:14 Dimitri John Ledkov python-setuptools (Ubuntu): assignee Barry Warsaw (barry)
2015-01-21 14:40:21 Barry Warsaw python-setuptools (Ubuntu): assignee Barry Warsaw (barry)
2015-01-21 14:41:53 Barry Warsaw distribute (Ubuntu): status Confirmed Invalid
2015-01-21 14:41:58 Barry Warsaw distribute: status New Invalid
2015-01-21 14:42:26 Barry Warsaw python-setuptools (Ubuntu): status New Opinion