diff --git a/src/sage/all.py b/src/sage/all.py index fedf2a17aab..037fc482cd4 100644 --- a/src/sage/all.py +++ b/src/sage/all.py @@ -120,6 +120,11 @@ message=r'(path|read_binary) is deprecated\. Use files\(\) instead\.', module='sage.repl.rich_output.output_(graphics|graphics3d|video)') +# triggered by sphinx +warnings.filterwarnings('ignore', category=DeprecationWarning, + message="'imghdr' is deprecated and slated for removal in Python 3.13", + module='sphinx.util.images') + ################ end setup warnings ###############################