diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2022-01-16 17:45:05 -0500 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2022-01-16 17:46:24 -0500 |
| commit | ecfcf0787fadb38b6b93c1c6e33fff985efd7f8c (patch) | |
| tree | 1508e8cc49b8ea641e3bd97119162087bfe2eef9 | |
| parent | bd89669149b4bf93be44fa947d54b193851471e3 (diff) | |
| download | python-setuptools-git-ecfcf0787fadb38b6b93c1c6e33fff985efd7f8c.tar.gz | |
Remove filtering of distutils warnings. Ref #3009.
| -rw-r--r-- | _distutils_hack/__init__.py | 11 | ||||
| -rw-r--r-- | changelog.d/3009.misc.rst | 1 |
2 files changed, 1 insertions, 11 deletions
diff --git a/_distutils_hack/__init__.py b/_distutils_hack/__init__.py index 0108d854..834a062c 100644 --- a/_distutils_hack/__init__.py +++ b/_distutils_hack/__init__.py @@ -92,17 +92,6 @@ class DistutilsMetaFinder: import importlib import importlib.abc import importlib.util - import warnings - - # warnings.filterwarnings() imports the re module - warnings._add_filter( - 'ignore', - _TrivialRe("distutils", "deprecated"), - DeprecationWarning, - None, - 0, - append=True - ) try: mod = importlib.import_module('setuptools._distutils') diff --git a/changelog.d/3009.misc.rst b/changelog.d/3009.misc.rst new file mode 100644 index 00000000..b2e2f9ef --- /dev/null +++ b/changelog.d/3009.misc.rst @@ -0,0 +1 @@ +Remove filtering of distutils warnings. |
