We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c260ecc + f1bc96a commit 11b0654Copy full SHA for 11b0654
news/11225.feature.rst
@@ -0,0 +1,3 @@
1
+pip's deprecation warnings now suclass the built-in ``DeprecationWarning``, and
2
+can be suppressed by running the Python interpreter with
3
+``-W ignore::DeprecationWarning``.
src/pip/_internal/utils/deprecation.py
@@ -13,7 +13,7 @@
13
DEPRECATION_MSG_PREFIX = "DEPRECATION: "
14
15
16
-class PipDeprecationWarning(Warning):
+class PipDeprecationWarning(DeprecationWarning):
17
pass
18
19
0 commit comments