Skip to content

Commit 913cffa

Browse files
committed
Add warnings filter for disutils deprecation
Deprecated in 3.10, scheduled for removal in 3.12
1 parent b2954e8 commit 913cffa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ filterwarnings = [
2626
# produced by older pyparsing<=2.2.0.
2727
"default:Using or importing the ABCs:DeprecationWarning:pyparsing.*",
2828
"default:the imp module is deprecated in favour of importlib:DeprecationWarning:nose.*",
29+
# distutils is deprecated in 3.10, scheduled for removal in 3.12
30+
"ignore:The distutils package is deprecated:DeprecationWarning",
2931
# produced by python3.6/site.py itself (3.6.7 on Travis, could not trigger it with 3.6.8)."
3032
"ignore:.*U.*mode is deprecated:DeprecationWarning:(?!(pytest|_pytest))",
3133
# produced by pytest-xdist

0 commit comments

Comments
 (0)