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

Bump Packaging library to major version 21 #4714

Closed
2 tasks done
virenshub opened this issue Nov 5, 2021 · 2 comments
Closed
2 tasks done

Bump Packaging library to major version 21 #4714

virenshub opened this issue Nov 5, 2021 · 2 comments

Comments

@virenshub
Copy link

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Issue

Bump Packaging library to major version 21

Why?
I ran into "No module named 'distutils.util'" while configuring Poetry to pull private packages. My environment is: Poetry 1.1.6 on a debian:buster docker image with python 3.8.10. From my quick research, it seems like distutils is not included in the newer versions of debian. Poetry uses ^20.4 version of the Packaging library, which uses Distutils for tagging. Distutils has been replaced with sysconfig in Packaging version 21.0 ( issue 396).

As distutils is being deprecated with python 3.12 (PEP 632), I think the Packaging library should be bumped to major version 21.

Workaround:
For now, I am installing distutils explicitly on my debian image
apt-get install python3-distutils

@finswimmer
Copy link
Member

Done in #4749

Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants