Skip to content

Commit d5317f2

Browse files
committed
Revert "PipDeprecationWarning subclass DeprecationWarning"
This reverts commit f1bc96a.
1 parent 56dcb7f commit d5317f2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

news/11330.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Show pip deprecation warnings by default.

src/pip/_internal/utils/deprecation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
DEPRECATION_MSG_PREFIX = "DEPRECATION: "
1414

1515

16-
class PipDeprecationWarning(DeprecationWarning):
16+
class PipDeprecationWarning(Warning):
1717
pass
1818

1919

0 commit comments

Comments
 (0)