Traceback occurs in cd $HOME/swift; sudo pip install -r requirements.txt; in master version of Swift

Bug #1530121 reported by sumit
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
swift-bench
New
Undecided
Unassigned

Bug Description

root@necuser-HP-ProBook-430-G1:~/swift# cd $HOME/swift; sudo pip install -r requirements.txt;
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
  File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 262, in run
    for req in parse_requirements(filename, finder=finder, options=options, session=session):
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1632, in parse_requirements
    req = InstallRequirement.from_line(line, comes_from, prereleases=getattr(options, "pre", None))
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 173, in from_line
    return cls(req, comes_from, url=url, prereleases=prereleases)
  File "/usr/lib/python2.7/dist-packages/pip/req.py", line 71, in __init__
    req = pkg_resources.Requirement.parse(req)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2667, in parse
    reqs = list(parse_requirements(s))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2605, in parse_requirements
    line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2583, in scan_list
    "Expected ',' or end-of-list in",line,"at",line[p:]
ValueError: ("Expected ',' or end-of-list in", "dnspython>=1.12.0;python_version<'3.0'", 'at', ";python_version<'3.0'")

Storing debug log for failure in /root/.pip/pip.log

Revision history for this message
sumit (er-sksumit) wrote :

This was perfectly fine in previous versions, and can be run successfully with following changes in requirements.txt:-

dnspython>=1.12.0,
dnspython3>=1.12.0,
eventlet>=0.16.1,!=0.17.0,
greenlet>=0.3.1,
netifaces>=0.5,!=0.10.0,!=0.10.1,
pastedeploy>=1.3.3,
six>=1.9.0,
xattr>=0.4,
PyECLib>=1.0.7

Revision history for this message
Tom Fanning (tfanning) wrote :

I've just installed using the following requirements.txt:

dnspython>=1.12.0,
dnspython3>=1.12.0,
eventlet>=0.17.4,
greenlet>=0.3.1,
netifaces>=0.5,!=0.10.0,!=0.10.1,
pastedeploy>=1.3.3,
six>=1.9.0,
xattr>=0.4,
PyECLib>=1.2.0,
cryptography>=1.0,!=1.3.0,

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.