← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1364893] Re: New version of requests library breaks unit tests

 

Review: https://review.openstack.org/#/c/118627/

** Project changed: glance => python-glanceclient

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

Title:
  New version of requests library breaks unit tests

Status in Python client library for Glance:
  In Progress

Bug description:
  The newest version of requests library - 2.4.0 - updated underlying library 'urllib3' to version 1.9.
  Unfortunately this version of urllib3 introduced new exception, ProtocolError, which breaks unit tests. This causes Jenkins to fail in every change set.

  https://pypi.python.org/pypi/requests (Updated bundled urllib3 version.)
  https://pypi.python.org/pypi/urllib3 (urllib3.exceptions.ConnectionError renamed to urllib3.exceptions.ProtocolError. (Issue #326))

  My solution is to change requirements so we will not use the newest
  version of requests in python-glanceclient.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-glanceclient/+bug/1364893/+subscriptions


References