Skip to content

Commit 82c23d9

Browse files
authored
Merge pull request #11333 from sbidoul/revert-11229-sbi
Revert "PipDeprecationWarning subclass DeprecationWarning"
2 parents f47a204 + d5317f2 commit 82c23d9

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)