-
Notifications
You must be signed in to change notification settings - Fork 279
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
Bug: Incompatibility with Requests 2.32.1 causing connection to Docker daemon to fail #577
Comments
Running into the exact same issue as of today. |
Any relevant issues on requests library side?
…On Tue, May 21, 2024, 2:30 PM Erwin Boshart ***@***.***> wrote:
Running into the exact issue as of today.
—
Reply to this email directly, view it on GitHub
<#577 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACECGJCP7I7NYCIIYVKPU2TZDOHCRAVCNFSM6AAAAABICC6H6CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRTGIYDGNRYG4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
there has been a release https://pypi.org/project/docker/#history - perhaps if someone can retest and update here if its still an issue, then we can close |
I can confirm this issue has been resolved for us after the update. |
Thanks you @ErwinJapie, I'll close this now, since from my understanding, it is essentially resolved through the docker-py release. |
thpierce
added a commit
to aws-observability/aws-otel-python-instrumentation
that referenced
this issue
May 28, 2024
Upgrading requests (#192) is failing due to issue in docker, which was fixed in 7.1.0: testcontainers/testcontainers-python#577. By updating both, we expect things to work smoothly. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I experienced an issue when running pytest tests involving the Testcontainers Python library in my environment. The Docker client library was unable to connect to the Docker daemon and threw an error:
'Error while fetching server API version: Not supported URL scheme http+docker'
.To Reproduce
The issue seems to present itself when the following conditions are met:
requests
library updated to version 2.32.1.Rolling back the
requests
library to version 2.31.0 resolved my issue, which leads me to believe that the issue is with requests 2.32.1 compatibility.Runtime environment
Python 3.11.7
pytest==8.2.0
testcontainers==3.4.4
requests==2.32.1 (issue occurs)
requests==2.31.0 (issue does not occur)
The text was updated successfully, but these errors were encountered: