Closed mshenfield closed 8 years ago
The 3.2.5 branch is failing mysteriously -
File "/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/pkg_resources/__init__.py", line 2310, in load
return self.resolve()
File "/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/pkg_resources/__init__.py", line 2316, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/coverage/__init__.py", line 13, in <module>
from coverage.control import Coverage, process_startup
File "/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/coverage/control.py", line 15, in <module>
from coverage.annotate import AnnotateReporter
File "/home/travis/virtualenv/python3.2.5/lib/python3.2/site-packages/coverage/annotate.py", line 85
dest.write(u' ')
^
SyntaxError: invalid syntax
This switches parsing the fragment (string following '#' at the end of a requirement) from looking for 'egg' at the beginning of the fragment to allowing any key value pair. These can be extracted as needed - right now only the 'egg' key is used to get the name of the package.
Tests include URI with a single fragment, and multiple fragments.