Skip to content

deps: upgrade & remove unnecessary dependencies#3014

Merged
milas merged 1 commit into
docker:masterfrom
milas:upgrade-deps
Jul 28, 2022
Merged

deps: upgrade & remove unnecessary dependencies#3014
milas merged 1 commit into
docker:masterfrom
milas:upgrade-deps

Conversation

@milas
Copy link
Copy Markdown
Contributor

@milas milas commented Jul 27, 2022

The requirements.txt and setup.py had a lot of extra transitive
dependencies to try and address various SSL shortcomings from the
Python ecosystem.

Thankfully, between modern Python versions (3.6+) and corresponding
requests versions (2.26+), this is all unnecessary now!

As a result, a bunch of transitive dependencies have been removed
from requirements.txt, the minimum version of requests increased,
and the tls extra made into a no-op.

The `requirements.txt` and `setup.py` had a lot of extra transitive
dependencies to try and address various SSL shortcomings from the
Python ecosystem.

Thankfully, between modern Python versions (3.6+) and corresponding
`requests` versions (2.26+), this is all unnecessary now!

As a result, a bunch of transitive dependencies have been removed
from `requirements.txt`, the minimum version of `requests` increased,
and the `tls` extra made into a no-op.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas requested a review from a team July 27, 2022 20:21
@milas milas self-assigned this Jul 27, 2022
@milas milas added the dependencies Pull requests that update a dependency file label Jul 27, 2022
Comment thread README.md
If you are intending to connect to a docker host via TLS, add `docker[tls]` to your requirements instead, or install with pip:

pip install docker[tls]
> Older versions (< 6.0) required installing `docker[tls]` for SSL/TLS support.
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #3013 - thinking we should release as v6.0.0 next 🙃

@milas milas merged commit be942f8 into docker:master Jul 28, 2022
@milas milas deleted the upgrade-deps branch July 28, 2022 12:32
@milas milas added this to the 6.0.0 milestone Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants