Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.0.0] Dropped dependency six but remains importing six in 32 Python files? #2807

Closed
hartwork opened this issue Apr 6, 2021 · 10 comments
Closed
Assignees

Comments

@hartwork
Copy link

hartwork commented Apr 6, 2021

Hi!

While bumping docker-py for Gentoo I noticed that commit c8fba21 dropped the dependency on six from setup.py and requirements.txt. When grepping the sources I find 32 more Python files that still import six so I would expect some trouble at runtime in an environment where no six is available (if we ignore dependencies pulling six in, indirectly). Is that known and intended?

Thanks and best, Sebastian

@feliperuhland
Copy link
Contributor

Hi @hartwork

That makes total sense, and we will remove those dependencies.

@ulyssessouza could you assign this issue to me?

Thanks and have a good day :)

@consideRatio
Copy link

consideRatio commented May 18, 2021

Thank you @hartwork for reporting this issue, and everyone involved contributing to this project! ❤️ 🎉

@feliperuhland are you still interested in working on this?

Thank you again everyone contributing to this project, I'm one among many users who rely on it indirectly ❤️

openstack-mirroring pushed a commit to openstack/kolla-ansible that referenced this issue May 19, 2021
Docker 5.0.0 [1] dropped requirement for six, but still imports it.

[1]: docker/docker-py#2807

Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
openstack-mirroring pushed a commit to openstack/openstack that referenced this issue May 19, 2021
* Update kolla-ansible from branch 'master'
  to bb3653b96692658b55bd54d757f621f398984139
  - Merge "baremetal: Install Docker SDK less than 5.0.0"
  - baremetal: Install Docker SDK less than 5.0.0
    
    Docker 5.0.0 [1] dropped requirement for six, but still imports it.
    
    [1]: docker/docker-py#2807
    
    Closes-Bug: #1928915
    Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
openstack-mirroring pushed a commit to openstack/kolla-ansible that referenced this issue May 19, 2021
Docker 5.0.0 [1] dropped requirement for six, but still imports it.

[1]: docker/docker-py#2807

Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
(cherry picked from commit b053bd8)
openstack-mirroring pushed a commit to openstack/kolla-ansible that referenced this issue May 19, 2021
Docker 5.0.0 [1] dropped requirement for six, but still imports it.

[1]: docker/docker-py#2807

Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
(cherry picked from commit b053bd8)
openstack-mirroring pushed a commit to openstack/kolla-ansible that referenced this issue May 19, 2021
Docker 5.0.0 [1] dropped requirement for six, but still imports it.

[1]: docker/docker-py#2807

Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
(cherry picked from commit b053bd8)
openstack-mirroring pushed a commit to openstack/kolla-ansible that referenced this issue May 20, 2021
Docker 5.0.0 [1] dropped requirement for six, but still imports it.

[1]: docker/docker-py#2807

Closes-Bug: #1928915
Change-Id: I726541f4b3fdc357387a44c6a2153593a10bf282
(cherry picked from commit b053bd8)
NitzKo95 added a commit to NitzKo95/docker-py that referenced this issue May 20, 2021
Signed-off-by: Nitzan Kohan <nitzan@cognata.com>
- fixes docker#2807
- fixes docker#2842
@feliperuhland
Copy link
Contributor

I won't be able to finish that task.

Have a nice day.

@hartwork
Copy link
Author

@feliperuhland thanks for being transparent about it.

@aiordache this seems like a low hanging fruit, yet somewhat important. Are you aware of someone who can take over? Else: If I came up with a pull request myself, would you have a minute for review in the next few days?

@feliperuhland
Copy link
Contributor

Hi @hartwork

I'm going to dedicate my time to other projects.
I have a small WIP here https://github.com/feliperuhland/docker-py/pull/new/remove-six

I hope that helps.

@hartwork
Copy link
Author

hartwork commented May 23, 2021

Thanks.

Here's a direct link to @feliperuhland's W.I.P. commit if anyone else wants to have a look:
feliperuhland@71411f5

Nicceboy added a commit to cincanproject/cincan-registry that referenced this issue May 24, 2021
matofeder pushed a commit to dNationCloud/kubernetes-monitoring that referenced this issue Jun 7, 2021
matofeder pushed a commit to dNationCloud/kubernetes-monitoring-stack that referenced this issue Jun 7, 2021
tfoote added a commit to osrf/rocker that referenced this issue Jun 8, 2021
tfoote added a commit to osrf/rocker that referenced this issue Jun 8, 2021
facebook-github-bot pushed a commit to terragraph/tgnms that referenced this issue Jun 21, 2021
Summary: docker-py version 5.0.0 has a bug: docker/docker-py#2807

Reviewed By: elludraon

Differential Revision: D29272818

fbshipit-source-id: b8768cbcdb3d9f763caefbb5b10f3713754d2b8e
@asottile
Copy link
Contributor

fixed in #2863

@hartwork
Copy link
Author

@asottile awesome, thank you! 🙏

@hartwork
Copy link
Author

@docker any chance for a new release?

@thaJeztah
Copy link
Member

Let me close this one, as it was fixed in #2863

I'll ask @ulyssessouza if it's possible to tag a new release

spd-intermodalics pushed a commit to Intermodalics/rocker that referenced this issue Oct 7, 2021
davidsuba pushed a commit to dNationCloud/kubernetes-monitoring that referenced this issue Jan 10, 2022
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 a pull request may close this issue.

5 participants