← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1494330] Re: envionment markers with comments error in pbr

 

*** This bug is a duplicate of bug 1496222 ***
    https://bugs.launchpad.net/bugs/1496222

** This bug is no longer a duplicate of bug 1487835
   Misparse of some comments in requirements
** This bug has been marked a duplicate of bug 1496222
   Requirements update breaks keystone install on 3'rd party CI systems

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1494330

Title:
  envionment markers with comments error in pbr

Status in Keystone:
  Confirmed

Bug description:
  https://review.openstack.org/#/c/222000/ in keystone is a new
  requirements update that came after
  https://review.openstack.org/203336 requirements update.

  the keystone change is failing, when I run it locally the output
  includes:

    Running setup.py install for keystone                                                                                                                                                                                       
      Complete output from command /opt/stack/keystone/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-UCUFAy-build/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-ZKQdft-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/stack/keystone/.tox/py27/include/site/python2.7/keystone:   
      error in setup command: Invalid environment marker: (python_version=='2.7' # MPL)                                                                                                                                         
  So it looks like something isn't handling comments in setup.cfg lines, or comments can't be put in setup.cfg lines.

  A couple of options:

  1) Remove the comment from the global requirements file.
  2) Have the requirements update tool strip comments when updating setup.cfg.
  3) Maybe it's pbr that needs to handle it?

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


References