Skip to content

Commit

Permalink
Trac #33135: Filter out some distutils deprecation warnings with pyth…
Browse files Browse the repository at this point in the history
…on 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
  • Loading branch information
Release Manager committed Jan 12, 2022
2 parents cee5015 + 79234bb commit 2e4b8be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sage/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
warnings.filterwarnings('ignore', category=DeprecationWarning,
module='pythran')

warnings.filterwarnings('ignore', category=DeprecationWarning,
message='The distutils(.sysconfig module| package) is deprecated',
module='Cython|distutils|numpy|sage.env|sage.features')

################ end setup warnings ###############################


Expand Down

0 comments on commit 2e4b8be

Please sign in to comment.