- # The requirements for the docker library broke when requests started
- # supporting urllib3 2.0.
- # See <https://github.com/docker/docker-py/issues/3113>.
- # Make sure we get a version with the bugfix, assuming Python is
- # recent enough.
- 'docker>=6.1.0; python_version>"3.6"',
- # If Python is too old, install the latest version we can and pin
- # urllib3 ourselves.
- 'docker~=5.0; python_version<"3.7"',
- 'urllib3~=1.26; python_version<"3.7"',