-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make compatible with requests 2.29.0 and urllib3 2.0 #613
Conversation
01e9159
to
3c1fb8f
Compare
I've also created a similar PR for Docker SDK for Python (docker/docker-py#3116). |
According to docker/docker-py#3113 (comment) this should also make the code compatible with urllib3 2.0. |
https://github.com/ansible-collections/community.docker/actions/runs/4874702225/jobs/8695973844?pr=614 shows that this is not done yet with urllib3 2.0. Unfortunately requests 2.30.0 has been yanked, so I cannot test this in CI anymore until they make a new release. |
Hmm, I didn't notice that the task that fails isn't our code, but pip. So this isn't a problem with this collection's code. I still think df8a492 is a good idea though. |
… new release with a fix.
…on has a new release with a fix." This reverts commit 698d544.
7d6ff0b
to
9a6c03a
Compare
SUMMARY
Try to fix at least parts of #611.
Since requests 2.29.0, requests uses urllib3's native chunking ability (see psf/requests#6226). By using urllib3's
HTTPConnection
class (which extends httplib.HTTPConnection`) we make sure that our HTTP transports support this as well.ISSUE TYPE
COMPONENT NAME
vendored Docker SDK for Python