yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19799
[Bug 1364893] [NEW] New version of requests library breaks unit tests
Public bug reported:
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.
** Affects: glance
Importance: Undecided
Assignee: Pawel Koniszewski (pawel-koniszewski)
Status: In Progress
** Changed in: glance
Assignee: (unassigned) => Pawel Koniszewski (pawel-koniszewski)
** Changed in: glance
Status: New => In Progress
--
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 OpenStack Image Registry and Delivery Service (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/glance/+bug/1364893/+subscriptions
Follow ups
References