Skip to content

Avoid importing distutils globally #11269

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

Merged
merged 1 commit into from
Jul 18, 2022

Conversation

uranusjr
Copy link
Member

Fix #11103.

@uranusjr uranusjr added the skip news Does not need a NEWS file entry (eg: trivial changes) label Jul 17, 2022
The distutils module is deprecated in 3.11 so we should avoid importing
it unless absolutely necessary to avoid emitting superfulous warnings.
@uranusjr uranusjr force-pushed the purge-global-distutils-imports branch from 136e3d5 to 0e06452 Compare July 18, 2022 06:31
@sbidoul sbidoul merged commit b655841 into pypa:main Jul 18, 2022
@uranusjr uranusjr deleted the purge-global-distutils-imports branch July 18, 2022 08:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
skip news Does not need a NEWS file entry (eg: trivial changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pip imports the deprecated distutils module
2 participants