Opened at 2014-06-10T17:54:51Z
Last modified at 2015-04-28T19:20:25Z
#2242 closed defect
exception from parsing requirements — at Version 3
Reported by: | zooko | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 1.10.1 |
Component: | packaging | Version: | 1.10.0 |
Keywords: | setuptools pkg_resources coverage | Cc: | |
Launchpad Bug: |
Description (last modified by warner)
as reported by ambimorph on IRC:
amber@abhyasa:~/tahoe-lafs$ bin/tahoe @python-coverage run --branch --include='src/allmydata/*' @tahoe debug trial allmydata.test.test_cli Traceback (most recent call last): File "/usr/bin/python-coverage", line 5, in <module> from pkg_resources import load_entry_point File "/home/amber/tahoe-lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg/pkg_resources.py", line 2638, in <module> working_set.add(dist) File "/home/amber/tahoe-lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg/pkg_resources.py", line 532, in add for thisreq in parse_requirements(thisreqstr): File "/home/amber/tahoe-lafs/support/lib/python2.7/site-packages/setuptools-0.6c16dev4.egg/pkg_resources.py", line 2451, in parse_requirements raise ValueError("Missing distribution spec", line) ValueError: ('Missing distribution spec', '=', {'thisreqstr': '='})
Investigation showed the the __requires___ variable held a string ("coverage==3.4") instead of an iterable containing strings, therefore this code in our splinter of setuptools tried to parse each character of that string.
Change History (3)
comment:1 Changed at 2014-06-12T15:44:57Z by daira
comment:2 Changed at 2015-02-24T18:22:54Z by zooko
[e9e63c5e72619f4e5811cd1eed31e344db6236c8] will reveal more information in this case.
comment:3 Changed at 2015-02-25T21:16:03Z by warner
- Description modified (diff)
This came up in #2378, causing one of the buildslaves to fail the "test-from-egg" step.
Note: See
TracTickets for help on using
tickets.
Do we want to fix this specific bug in zetuptoolz, or concentrate on migrating to a later version of setuptools (#2044)?