← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496220] [NEW] error in setup command: Invalid environment marker: (python_version=='2.7' # MPL)

 

Public bug reported:

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

** Affects: keystone
     Importance: Undecided
         Status: New

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

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

Status in Keystone:
  New

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

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


Follow ups