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

Prevent pkg_resource access on Python 3.12+ #11661

Closed
wants to merge 2 commits into from

Conversation

uranusjr
Copy link
Member

Time is up. If a downstream Python distributor hasn't implemented importlib.metadata support by now, they must expect things to break.

Close #11501.

Time is up. If a downstream Python distributor hasn't implemented
importlib.metadata support by now, they must expect things to break.
@uranusjr uranusjr force-pushed the no-pkg-resources-3.12 branch 2 times, most recently from 5805d83 to 0ee7f85 Compare January 3, 2023 00:06
This customization is generally provided by the distributor, and the
user can do nothing if the environment is configured incorrectly. So
instead of breaking pip entirely, we silently ignore the customization
and let the distributor correct the situation.
@uranusjr
Copy link
Member Author

Don’t need this anymore since setuptools fixed this.

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

Successfully merging this pull request may close these issues.

pip's vendored pkg_resources should stop using pkgutil.ImpImporter
5 participants