← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1486335] Re: Create nova.conf with tox -egenconfig : ValueError: ("Expected ',' or end-of-list in", "Routes!=2.0,!=2.1,>=1.12.3; python_version=='2.7'", 'at', "; python_version=='2.7'")

 

mriedem@ubuntu:~/git/nova$ pip show pbr pip setuptools virtualenv
/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
You are using pip version 7.0.3, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
---
Metadata-Version: 2.0
Name: pip
Version: 7.0.3
Summary: The PyPA recommended tool for installing Python packages.
Home-page: https://pip.pypa.io/
Author: The pip developers
Author-email: python-virtualenv@xxxxxxxxxxxxxxxxx
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires: 
---
Metadata-Version: 2.0
Name: setuptools
Version: 11.3.1
Summary: Easily download, build, install, upgrade, and uninstall Python packages
Home-page: https://bitbucket.org/pypa/setuptools
Author: Python Packaging Authority
Author-email: distutils-sig@xxxxxxxxxx
License: PSF or ZPL
Location: /usr/local/lib/python2.7/dist-packages
Requires: 
---
Metadata-Version: 2.0
Name: virtualenv
Version: 13.0.3
Summary: Virtual Python Environment builder
Home-page: https://virtualenv.pypa.io/
Author: Jannis Leidel, Carl Meyer and Brian Rosner
Author-email: python-virtualenv@xxxxxxxxxxxxxxxxx
License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires: 


** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1486335

Title:
  Create nova.conf with tox -egenconfig :    ValueError: ("Expected ','
  or end-of-list in",
  "Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7'", 'at',
  ";python_version=='2.7'")

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  $git clone https://git.openstack.org/openstack/nova.git
  $pip install tox
  $tox -egenconfig

  
  cmdargs: [local('/home/ubuntu/nova/.tox/genconfig/bin/pip'), 'install', '-U', '--force-reinstall', '-r/home/ubuntu/nova/requirements.txt', '-r/home/ubuntu/nova/test-requirements.txt']
  env: {'LC_ALL': 'en_US.utf-8', 'XDG_RUNTIME_DIR': '/run/user/1000', 'VIRTUAL_ENV': '/home/ubuntu/nova/.tox/genconfig', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'SSH_CLIENT': '27.189.208.43 5793 22', 'LOGNAME': 'ubuntu', 'USER': 'ubuntu', 'HOME': '/home/ubuntu', 'PATH': '/home/ubuntu/nova/.tox/genconfig/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games', 'XDG_SESSION_ID': '25', '_': '/usr/local/bin/tox', 'SSH_CONNECTION': '27.189.208.43 5793 10.0.0.18 22', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'LANGUAGE': 'en_US', 'SHLVL': '1', 'SSH_TTY': '/dev/pts/5', 'OLDPWD': '/home/ubuntu', 'PWD': '/home/ubuntu/nova', 'PYTHONHASHSEED': '67143794', 'OS_TEST_PATH': './nova/tests/unit', 'MAIL': '/var/mail/ubuntu', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}

  Exception:
  Traceback (most recent call last):
    File "/home/ubuntu/nova/.tox/genconfig/local/lib/python2.7/site-packages/pip/basecommand.py", line 122, in main
      status = self.run(options, args)
    File "/home/ubuntu/nova/.tox/genconfig/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/ubuntu/nova/.tox/genconfig/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/ubuntu/nova/.tox/genconfig/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/ubuntu/nova/.tox/genconfig/local/lib/python2.7/site-packages/pip/req.py", line 70, in __init__
      req = pkg_resources.Requirement.parse(req)
    File "/home/ubuntu/nova/.tox/genconfig/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2606, in parse
      reqs = list(parse_requirements(s))
    File "/home/ubuntu/nova/.tox/genconfig/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2544, in parse_requirements
      line, p, specs = scan_list(VERSION,LINE_END,line,p,(1,2),"version spec")
    File "/home/ubuntu/nova/.tox/genconfig/local/lib/python2.7/site-packages/pip/_vendor/pkg_resources.py", line 2522, in scan_list
      "Expected ',' or end-of-list in",line,"at",line[p:]
  ValueError: ("Expected ',' or end-of-list in", "Routes!=2.0,!=2.1,>=1.12.3;python_version=='2.7'", 'at', ";python_version=='2.7'")

  Storing debug log for failure in /home/ubuntu/.pip/pip.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1486335/+subscriptions


References