From ecfcf0787fadb38b6b93c1c6e33fff985efd7f8c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 16 Jan 2022 17:45:05 -0500 Subject: Remove filtering of distutils warnings. Ref #3009. --- _distutils_hack/__init__.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to '_distutils_hack') 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') -- cgit v1.2.1