Skip to content

Conversation

asottile
Copy link
Contributor

@asottile asottile commented Jul 5, 2021

closes #2842

I originally found that installing pip install docker was broken because six is missing as a dependency -- but since docker-py is python3.6+ there's really no reason to continue to use six

so what I did is I ran pyupgrade against docker-py and then I fixed the few things that flake8 pointed out afterwards

this should "officially" drop the python-2 compatibility and use python3.6+-only constructs

Signed-off-by: Anthony Sottile <asottile@umich.edu>
Copy link
Contributor

@ulyssessouza ulyssessouza left a comment

Choose a reason for hiding this comment

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

LGTM

@ulyssessouza ulyssessouza merged commit a9748a8 into docker:master Jul 8, 2021
@asottile asottile deleted the py36_plus branch July 8, 2021 14:37
alesgenova added a commit to OpenChemistry/oremda that referenced this pull request Jul 23, 2021
@MrMino
Copy link

MrMino commented Jul 24, 2021

Hey @ulyssessouza, @aiordache. Do you know when's the next release that will contain this fix?

@jamesmishra
Copy link

It's great to see this Pull Request merged into master, but it would be even nicer to release it as version 5.0.1 and then yank 5.0.0 from PyPI.

awkspace added a commit to awkspace/runfile that referenced this pull request Aug 25, 2021
@aiordache aiordache added this to the 5.0.1 milestone Aug 31, 2021
StevenMaude added a commit to opensafely-core/ehrql that referenced this pull request Dec 1, 2022
It shouldn't be required following this Docker change:

docker/docker-py#2863

That fix was included in `docker==5.0.1` and we're on 6.0.1 at the
moment.

We have no need for an explicit `six` dependency otherwise: Data Builder
is Python 3 only.
StevenMaude added a commit to opensafely-core/ehrql that referenced this pull request Dec 1, 2022
It shouldn't be required following this Docker change:

docker/docker-py#2863

That fix was included in `docker==5.0.1` and we're on 6.0.1 at the
moment.

We have no need for an explicit `six` dependency otherwise: Data Builder
is Python 3 only.

However, `six` is still included as a transitive dependency of other
packages.
StevenMaude added a commit to opensafely-core/ehrql that referenced this pull request Dec 1, 2022
It shouldn't be required following this Docker change:

docker/docker-py#2863

That fix was included in `docker==5.0.1` and we're on 6.0.1 at the
moment.

We have no need for an explicit `six` dependency otherwise: Data Builder
is Python 3 only.

However, `six` is still included as a transitive dependency of other
packages.
Galaxy102 added a commit to Galaxy102/docker-autocompose that referenced this pull request Nov 13, 2024
six is no longer necessary as of docker-py 5.0.1 (see docker/docker-py#2863)
Galaxy102 added a commit to Galaxy102/docker-autocompose that referenced this pull request Nov 13, 2024
six is no longer necessary as of docker-py 5.0.1 (see docker/docker-py#2863)
Red5d pushed a commit to Red5d/docker-autocompose that referenced this pull request Nov 13, 2024
* Translate setup.py to pyproject.toml

* Introduce PEP518 by using Poetry as package manager
* Introduce PEP402-ish package structure
* Remove requirements.txt and setup.py
* Update Dockerfile and Docs for new packaging method

* Bump dependencies, remove six

six is no longer necessary as of docker-py 5.0.1 (see docker/docker-py#2863)
jauderho pushed a commit to jauderho/docker-autocompose that referenced this pull request Dec 22, 2024
* Translate setup.py to pyproject.toml

* Introduce PEP518 by using Poetry as package manager
* Introduce PEP402-ish package structure
* Remove requirements.txt and setup.py
* Update Dockerfile and Docs for new packaging method

* Bump dependencies, remove six

six is no longer necessary as of docker-py 5.0.1 (see docker/docker-py#2863)

Signed-off-by: Jauder Ho <jauderho@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

undeclared dependency on six package
5 participants