CI Fix scipy-dev for deprecated numpy.distutils
@@ -7,9 +7,14 @@ import tempfile
import textwrap
import setuptools # noqa
import subprocess
+import warnings
from distutils.dist import Distribution
from distutils.sysconfig import customize_compiler
+
+# NumPy 1.23 deprecates numpy.distutils
+with warnings.catch_warnings():
+ warnings.filterwarnings("ignore", category=DeprecationWarning)
from numpy.distutils.ccompiler import new_compiler
from numpy.distutils.command.config_compiler import config_cc
