← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1839393] [NEW] oauthlib===3.1.0 fails tests (requirements update)

 

Public bug reported:

  File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/oauth1/rfc5849/endpoints/access_token.py", line 106, in create_access_token_response
    request = self._create_request(uri, http_method, body, headers)
  File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/oauth1/rfc5849/endpoints/base.py", line 70, in _create_request
    headers = CaseInsensitiveDict(headers or {})
  File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/common.py", line 338, in __init__
    self.proxy = dict((k.lower(), k) for k in data)
  File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/common.py", line 338, in <genexpr>
    self.proxy = dict((k.lower(), k) for k in data)
AttributeError: 'tuple' object has no attribute 'lower'

https://review.opendev.org/675229 is a test review you can depend upon
for testing fixes.  Thanks

** Affects: keystone
     Importance: Low
         Status: Triaged


** Tags: low-hanging-fruit

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

Title:
  oauthlib===3.1.0 fails tests (requirements update)

Status in OpenStack Identity (keystone):
  Triaged

Bug description:
    File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/oauth1/rfc5849/endpoints/access_token.py", line 106, in create_access_token_response
      request = self._create_request(uri, http_method, body, headers)
    File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/oauth1/rfc5849/endpoints/base.py", line 70, in _create_request
      headers = CaseInsensitiveDict(headers or {})
    File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/common.py", line 338, in __init__
      self.proxy = dict((k.lower(), k) for k in data)
    File "/home/zuul/src/opendev.org/openstack/keystone/.tox/py27/local/lib/python2.7/site-packages/oauthlib/common.py", line 338, in <genexpr>
      self.proxy = dict((k.lower(), k) for k in data)
  AttributeError: 'tuple' object has no attribute 'lower'

  https://review.opendev.org/675229 is a test review you can depend upon
  for testing fixes.  Thanks

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


Follow ups