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

PipDeprecationWarning subclass DeprecationWarning #11229

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

uranusjr
Copy link
Member

@uranusjr uranusjr commented Jul 4, 2022

This makes it easier for users to use Python’s -W flag to suppress deprecation warnings emitted by pip.

Close #11225. I’m not sure why this was not done in the first place—perhaps there were considerations I did not know.

This makes it easier for users to use Python's -W flag to suppress
deprecation warnings emitted by pip.
@sbidoul sbidoul added this to the 22.2 milestone Jul 6, 2022
@sbidoul sbidoul merged commit 11b0654 into pypa:main Jul 8, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 24, 2022
@sbidoul
Copy link
Member

sbidoul commented Jul 31, 2022

I’m not sure why this was not done in the first place—perhaps there were considerations I did not know.

Now we know (#11330) :) It's because they are ignored by default.

@uranusjr uranusjr deleted the pip-deprecation-warning branch August 1, 2022 02:52
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.

Deprecation notice for distutils still being spammed for MacOS users
3 participants