Skip to content

Commit 2e4b8be

Browse files
author
Release Manager
committed
Trac #33135: Filter out some distutils deprecation warnings with python 3.10
As reported in https://trac.sagemath.org/ticket/30766#comment:111 URL: https://trac.sagemath.org/33135 Reported by: tornaria Ticket author(s): Gonzalo Tornaría Reviewer(s): Matthias Koeppe
2 parents cee5015 + 79234bb commit 2e4b8be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/sage/all.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@
9696
warnings.filterwarnings('ignore', category=DeprecationWarning,
9797
module='pythran')
9898

99+
warnings.filterwarnings('ignore', category=DeprecationWarning,
100+
message='The distutils(.sysconfig module| package) is deprecated',
101+
module='Cython|distutils|numpy|sage.env|sage.features')
102+
99103
################ end setup warnings ###############################
100104

101105

0 commit comments

Comments
 (0)