It looks like https://github.com/docker/docker-py/pull/3116 is the pull request which fixes this issue.
I've only just started using this Python package, so I'm not able to do a full test, but I'm at least able to take a pass at making a patch. I'll provide a patch for both issues: The reliance on setuptools code, and the urllib3 2.0 incompatibility.
It looks like https:/ /github. com/docker/ docker- py/pull/ 3116 is the pull request which fixes this issue.
I've only just started using this Python package, so I'm not able to do a full test, but I'm at least able to take a pass at making a patch. I'll provide a patch for both issues: The reliance on setuptools code, and the urllib3 2.0 incompatibility.