Test env Ubuntu-14.04.5
execute $tox -epy27
Exception:
Traceback (most recent call last):
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/commands/install.py", line 262, in run
for req in parse_requirements(filename, finder=finder, options=options, session=session):
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/req.py", line 1631, in parse_requirements
req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/req.py", line 172, in from_line
return cls(req, comes_from, url=url, prereleases=prereleases)
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/req.py", line 70, in __init__
req = pkg_resources.Requirement.parse(req)
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2667, in parse
reqs = list(parse_requirements(s))
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2605, in parse_requirements
line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
File "/home/stack/develop/openstack/heat/heat/.tox/py27/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2573, in scan_list
raise ValueError("Expected "+item_name+" in",line,"at",line[p:])
ValueError: ('Expected version spec in', "qpid-python;python_version=='2.7'", 'at', ";python_version=='2.7'")
This problem is relative to a gate fix job
https://github.com/openstack/heat/commit/
01e6713ee2dda7ef16dbe75b4aa4e29b02540703
but the requirement *qpid-python;python_version=='2.7'* seens
can't be satisfied.
I propose that we change back to *qpid-python*
Is this fixed by rebuilding your tox? It should work with the latest version of pip and pbr
tox -r -epy27