Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
AttributeError: module 'requests.packages' has no attribute 'urllib3' #4104
Comments
|
Interesting, I am unable to reproduce locally |
added a commit
to silverlogic/requests
that referenced
this issue
May 29, 2017
kennethreitz
referenced this issue
May 29, 2017
Closed
Since 2.17.1, urllib3 is no longer in requests.packages #4105
added a commit
to silverlogic/requests
that referenced
this issue
May 29, 2017
ryanpineo
referenced this issue
May 29, 2017
Merged
Fix requests.packages not having package attributes #4106
|
nevermind! |
|
I'm able to reproduce this locally. It looks like this may be the product of removing the actual |
andy-maier
referenced this issue
in zhmcclient/python-zhmcclient
May 29, 2017
Merged
Circumvented urllib3 issue with requests 2.17.1 and 2.17.2 #304
kennethreitz
closed this
in
#4106
May 29, 2017
|
fix released in 2.17.2! |
|
Thanks for the speedy resolution! |
andy-maier
commented
May 29, 2017
•
|
Thanks for the speedy release, but it does not work for us. On OS-X, it fails (see the end of this Travis log: https://travis-ci.org/zhmcclient/python-zhmcclient/jobs/237306514 Update: I restarted that run. Maybe it interfered with the release. Let's see how it works. Update: 2.17.2 fails with the same symptom as in 2.17.1:
|
|
It seems like although the latest version is now 2.17.2 the release doesn't actually contain the fix. |
|
@ryanpineo 2.17.3 |
|
All good now, thanks! |
andy-maier
commented
May 29, 2017
|
I can confirm that requests 2.17.3 worked fine again on Py 2.7 on Ubuntu. I'll update our requirements.txt file to exclude requests 2.17.1 and 2.17.2, and re-run all other environments and if you don't hear from me, they were fine. Again, thanks much for the speedy fix!! |
|
\o/ |
ryanpineo commentedMay 29, 2017
This commit seems to have broken requests.packages.
Expected Result
requests.packages.urllib3 to be the urllib3 package
Actual Result
AttributeError: module 'requests.packages' has no attribute 'urllib3'
Reproduction Steps
import requests requests.packages.urllib3System Information