diff --git a/news/11330.bugfix.rst b/news/11330.bugfix.rst new file mode 100644 index 00000000000..e03501fe5ef --- /dev/null +++ b/news/11330.bugfix.rst @@ -0,0 +1 @@ +Show pip deprecation warnings by default. diff --git a/src/pip/_internal/utils/deprecation.py b/src/pip/_internal/utils/deprecation.py index 7964095ffde..72bd6f25a55 100644 --- a/src/pip/_internal/utils/deprecation.py +++ b/src/pip/_internal/utils/deprecation.py @@ -13,7 +13,7 @@ DEPRECATION_MSG_PREFIX = "DEPRECATION: " -class PipDeprecationWarning(DeprecationWarning): +class PipDeprecationWarning(Warning): pass