From 50130c51c5210e27f2465bc49ed71eb7ebade4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 4 May 2021 20:07:09 +0200 Subject: [PATCH 1/2] Relax the distutils deprecation regex There is new message: > The distutils.sysconfig module is deprecated, use sysconfig instead --- _distutils_hack/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_distutils_hack/__init__.py b/_distutils_hack/__init__.py index 47ce24944b..5f40996a67 100644 --- a/_distutils_hack/__init__.py +++ b/_distutils_hack/__init__.py @@ -9,7 +9,7 @@ warnings.filterwarnings('ignore', - '.+ distutils .+ deprecated', + r'.+ distutils\b.+ deprecated', DeprecationWarning) From 2cb605433515cf09b554055d17c2c1845581adf8 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 4 May 2021 15:53:04 -0400 Subject: [PATCH 2/2] Update changelog. --- changelog.d/2664.misc.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/2664.misc.rst diff --git a/changelog.d/2664.misc.rst b/changelog.d/2664.misc.rst new file mode 100644 index 0000000000..5ebad038b9 --- /dev/null +++ b/changelog.d/2664.misc.rst @@ -0,0 +1 @@ +Relax the deprecation message in the distutils hack.