We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I can still see the resource warning from #1293 in some cases:
pytest.PytestUnraisableExceptionWarning: Exception ignored in: <socket.socket fd=-1, family=1, type=1, proto=0> Traceback (most recent call last): File "<frozen _collections_abc>", line 435, in __subclasshook__ ResourceWarning: unclosed <socket.socket fd=41, family=1, type=1, proto=0, raddr=/var/run/docker.sock>
I use python 3.12 and docker-py 7.1.
I guess that the close method of BaseHTTPAdapter in docker/transport/basehttpadapter.py should call close on the pool rather than clear
close
BaseHTTPAdapter
docker/transport/basehttpadapter.py
clear
The text was updated successfully, but these errors were encountered:
I'm not able to reproduce the warning. Also, Calling clear closes all urllib3.poolmanager.PoolManager instance so no issue here
urllib3.poolmanager.PoolManager
Sorry, something went wrong.
Maybe it's worth to mention that I use 1.26.18
container.attach(stream=True)
No branches or pull requests
I can still see the resource warning from #1293 in some cases:
I use python 3.12 and docker-py 7.1.
I guess that the
close
method ofBaseHTTPAdapter
indocker/transport/basehttpadapter.py
should callclose
on the pool rather thanclear
The text was updated successfully, but these errors were encountered: