[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2762: "UndefinedEnvironmentName" error with setuptools-20.6

Tahoe-LAFS trac at tahoe-lafs.org
Thu Mar 31 05:06:57 UTC 2016


#2762: "UndefinedEnvironmentName" error with setuptools-20.6
-----------------------+---------------------------
 Reporter:  warner     |          Owner:
     Type:  defect     |         Status:  new
 Priority:  major      |      Milestone:  undecided
Component:  packaging  |        Version:  1.11.0
 Keywords:             |  Launchpad Bug:
-----------------------+---------------------------
 The tahoe-1.11.0 release was only a few hours old when we started getting
 reports of failures. It looks like setuptools made a release today that
 breaks many packages. (In fact, they made seven releases today, which
 can't be a good sign).

 https://github.com/pypa/setuptools/issues/523 is the setuptools bug.
 Apparently most 20.5.* and 20.6.* versions are broken. The recommended
 workaround (verified by warner and cypher) is to downgrade to
 setuptools-20.4, e.g.:

 {{{
 (venv) % pip install setuptools==20.4
 }}}

 The symptom is that `pip install tahoe-lafs` works normally, but then
 actually trying to run `tahoe` gives a traceback like the following:

 {{{
   File "/ve/lib/python2.7/site-
 packages/pkg_resources/_vendor/packaging/markers.py", line 278, in
 evaluate
     return _evaluate_markers(self._markers, current_environment)
   File "/ve/lib/python2.7/site-
 packages/pkg_resources/_vendor/packaging/markers.py", line 203, in
 _evaluate_markers
     lhs_value = _get_env(environment, lhs.value)
   File "/ve/lib/python2.7/site-
 packages/pkg_resources/_vendor/packaging/markers.py", line 185, in
 _get_env
     "{0!r} does not exist in evaluation environment.".format(name)
 pkg_resources._vendor.packaging.markers.UndefinedEnvironmentName: 'extra'
 does not exist in evaluation environment.
 }}}

 I'm hoping that they'll make a new release tomorrow that fixes the
 problem, but in the meantime, if you see this error, try downgrading your
 setuptools.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2762>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list