Skip to content

Commit

Permalink
Merge branch 'pythran' into t/34816/update_numpy_to_1_24
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 4, 2023
2 parents 04095ca + 839a6e9 commit ffd9ee9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/sage/all__sagemath_repl.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,17 @@
warnings.filterwarnings('ignore', category=DeprecationWarning,
module='(.*[.]_vendor[.])?packaging')

# Ignore numpy warnings triggered by pythran
# Ignore a few warnings triggered by pythran 0.12.1
warnings.filterwarnings('ignore', category=DeprecationWarning,
module='pythran')
message='\n\n `numpy.distutils` is deprecated since NumPy 1.23.0',
module='pythran.dist')
warnings.filterwarnings('ignore', category=DeprecationWarning,
message='pkg_resources is deprecated as an API|'
'Deprecated call to `pkg_resources.declare_namespace(.*)`',
module='pkg_resources')
warnings.filterwarnings('ignore', category=DeprecationWarning,
message='msvccompiler is deprecated and slated to be removed',
module='distutils.msvccompiler')

warnings.filterwarnings('ignore', category=DeprecationWarning,
message='The distutils(.sysconfig module| package) is deprecated',
Expand Down

0 comments on commit ffd9ee9

Please sign in to comment.