-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
docker-py not working with requests-2.12.2 #1321
Comments
I found in the requirements.txt, it specify a requests version, however in setup.py it doesn't. So I use
causes an incorrect requests version installed |
@Lukasa ^ |
|
Relevant Requests issue is kennethreitz/requests#3734. Temporary workaround is to pin to v2.12.1. |
Fixes docker#1321 be compatable with requests 2.12.2
Fixes docker#1321 be compatable with requests 2.12.2 Signed-off-by: Thomas Grainger <[email protected]>
Thank you for the report folks - we'll exclude requests 2.12.2 in |
@shin- you might want to exclude 2.12.0-2.12.2 not sure though |
I think for the way docker-py uses Requests 2.12.{0,1} are safe: docker-py uses a hardcoded ACSII hostname that shouldn't be at any risk of breaking. |
See docker/docker-py#1321 Also, sh 1.12.2 fixes the UnsupportedOperation regression of 1.12.
Project: openstack/requirements 2878a8c934350073f01d3261708c0aec539bcd2e Block version of requests==2.12.2 This version breaks docker-py totally, as explained here: docker/docker-py#1321 Change-Id: I915b252e462958167a1dbc0840bdb1e6b4f27431
This version breaks docker-py totally, as explained here: docker/docker-py#1321 Change-Id: I915b252e462958167a1dbc0840bdb1e6b4f27431
Project: openstack/requirements 2878a8c934350073f01d3261708c0aec539bcd2e Block version of requests==2.12.2 This version breaks docker-py totally, as explained here: docker/docker-py#1321 Change-Id: I915b252e462958167a1dbc0840bdb1e6b4f27431
Confirm I hit the same issue. Upgrading to 2.12.3 fixed the problem. When are we going to have this change in pip packages? I mean a new version there that would fix this issue. |
2.0 should come out soon. |
Please update here as soon as it happens. Thanks @shin- |
…with dockerpy Ref.: docker/docker-py#1321 Signed-off-by: Andrei Gherzan <[email protected]>
Please help, no one workaround not works |
@westsouthnight you already have an workaround: use requests 2.12.3 |
…with dockerpy Ref.: docker/docker-py#1321 Signed-off-by: Andrei Gherzan <[email protected]>
I'm not sure whether it's requests' issue or something change should be made in docker-py
requests-2.12.1 works fine
It might be something related with
requests/models.py line 350 in
kennethreitz/requests@v2.12.1...v2.12.2
in this commit
kennethreitz/requests@34af72c#diff-afd5aad80649cdfae687bee05242c8fa
The text was updated successfully, but these errors were encountered: