diff options
| -rw-r--r-- | doc/source/conf.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index bc0b4df8c..79c33b756 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -62,6 +62,13 @@ def replace_scalar_type_names(): replace_scalar_type_names() + +# As of NumPy 1.25, a deprecation of `str`/`bytes` attributes happens. +# For some reasons, the doc build accesses these, so ignore them. +import warnings +warnings.filterwarnings("ignore", "In the future.*NumPy scalar", FutureWarning) + + # ----------------------------------------------------------------------------- # General configuration # ----------------------------------------------------------------------------- |
