Closed NikiforovG closed 3 months ago
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 https://github.com/testcontainers/testcontainers-python/issues/577#issuecomment-2123203687, 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.
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)