From 7930644da3e4c4ad4ac1910ec222352c230f28c3 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 27 Mar 2021 10:37:34 -0300 Subject: [PATCH] Add warnings filter for disutils deprecation Deprecated in 3.10, scheduled for removal in 3.12 --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index dd4be6c22d5..dc26b4d8ddf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,8 @@ filterwarnings = [ # produced by older pyparsing<=2.2.0. "default:Using or importing the ABCs:DeprecationWarning:pyparsing.*", "default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*", + # distutils is deprecated in 3.10, scheduled for removal in 3.12 + "ignore:The distutils package is deprecated:DeprecationWarning", # produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)." "ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))", # produced by pytest-xdist