diff --git a/.github/workflows/html-macos.yml b/.github/workflows/html-macos.yml index 0a0ce059..50c119ab 100644 --- a/.github/workflows/html-macos.yml +++ b/.github/workflows/html-macos.yml @@ -33,7 +33,9 @@ jobs: env: # DeprecationWarning: Unimplemented abstract methods {'locate_file'} # https://github.com/pypa/pip/issues/11684 - PYTHONWARNINGS: error,default::DeprecationWarning + # RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated + # https://github.com/sphinx-doc/sphinx/issues/13083 + PYTHONWARNINGS: error,default::DeprecationWarning,default::sphinx.deprecation.RemovedInSphinx10Warning run: | $PIP install -r doc/requirements.txt - name: Build HTML diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index 47bfee27..c61edb3c 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -40,7 +40,9 @@ jobs: - name: Check links env: # There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398) - PYTHONWARNINGS: error,default::DeprecationWarning + # RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated + # https://github.com/sphinx-doc/sphinx/issues/13083 + PYTHONWARNINGS: error,default::DeprecationWarning,default::sphinx.deprecation.RemovedInSphinx10Warning run: | $SPHINX -d _doctrees/ doc/ _build/linkcheck/ -b linkcheck -q - name: Upload results diff --git a/.github/workflows/version-matrix.yml b/.github/workflows/version-matrix.yml index 2fd9aaa8..6d28fe22 100644 --- a/.github/workflows/version-matrix.yml +++ b/.github/workflows/version-matrix.yml @@ -79,13 +79,17 @@ jobs: - name: Run Sphinx (HTML) env: # There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398) - PYTHONWARNINGS: error,default::DeprecationWarning + # RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated + # https://github.com/sphinx-doc/sphinx/issues/13083 + PYTHONWARNINGS: error,default::DeprecationWarning,default::sphinx.deprecation.RemovedInSphinx10Warning run: | $SPHINX doc _build -b html - name: Run Sphinx (LaTeX, but without running LaTeX) env: # There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398) - PYTHONWARNINGS: error,default::DeprecationWarning + # RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated + # https://github.com/sphinx-doc/sphinx/issues/13083 + PYTHONWARNINGS: error,default::DeprecationWarning,default::sphinx.deprecation.RemovedInSphinx10Warning run: | $SPHINX doc _build -b latex - name: Run Sphinx (epub)