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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2061929 Title: Python docker package does not import, crashes due to urllib3 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-docker/+bug/2061929/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs