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

fix packaging import bug when using setuptools v70 #1045

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

1195343015
Copy link
Contributor

@1195343015 1195343015 commented Aug 28, 2024

From v70.0.0 to v70.3.0 of setuptools, packaging can't be imported by

from pkg_resources import packaging

It should be modified to:

from pkg_resources.extern import packaging

And this writing is also applicable in versions before v70.0.0

The history of the commit associated with it in setuptools

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.

1 participant