broken requirement qpid-python;python_version=='2.7'

Bug #1471073 reported by Rico Lin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Heat
Invalid
Undecided
Unassigned

Bug Description

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*

Rico Lin (rico-lin)
Changed in heat:
assignee: nobody → Rico Lin (rico-lin)
Changed in heat:
status: New → In Progress
Rico Lin (rico-lin)
description: updated
Revision history for this message
Steve Baker (steve-stevebaker) wrote :

Is this fixed by rebuilding your tox? It should work with the latest version of pip and pbr

tox -r -epy27

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Rico Lin (<email address hidden>) on branch: master
Review: https://review.openstack.org/198199
Reason: not a bug

Rico Lin (rico-lin)
Changed in heat:
status: In Progress → Invalid
Rico Lin (rico-lin)
Changed in heat:
assignee: Rico Lin (rico-lin) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.