PBR

error in setup command: Invalid environment marker: (python_version=='2.7' # MPL)

Bug #1496220 reported by Sam Wan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
PBR
Fix Released
Undecided
Unassigned

Bug Description

https://review.openstack.org/#/c/222000/ introduced a change in keystone/setup.cfg:
---------------------------
@@ -24,7 +24,7 @@ packages =
 [extras]
 ldap =
   python-ldap>=2.4:python_version=='2.7'
- ldappool>=1.0 # MPL
+ ldappool>=1.0:python_version=='2.7' # MPL
 memcache =
   python-memcached>=1.56
 mongodb =
-----------------------------

and CI failed with below error:
--------------------------------------------------
" error in setup command: Invalid environment marker: (python_version=='2.7' # MPL)"
----------------------------------------------------

Seems there's something wrong with comment handling.

This is similar to https://bugs.launchpad.net/pbr/+bug/1487835 but it's not the same.

we should remove the '# ... ' comments

Revision history for this message
John Griffith (john-griffith) wrote :

Appears this is fixed by upper constraint of pbr, just waiting for that to merge and we should be back in business:

https://review.openstack.org/#/c/221157/7/upper-constraints.txt

Changed in keystone:
status: New → In Progress
Revision history for this message
Dolph Mathews (dolph) wrote :

This is neither a bug in keystone nor there a fix In Progress in keystone.

affects: keystone → pbr
Changed in pbr:
status: In Progress → New
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Looks like this is fixed in Change-Id: I7712c07552b50830549644a6ff4167b90d897125

Changed in pbr:
status: New → Fix Committed
Changed in pbr:
status: Fix Committed → Fix Released
Revision history for this message
Sam Morrison (sorrison) wrote :

I get this error installing neutron from stable/liberty branch

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.