From 2be3935dd23298ce3b753565cffaf073c4e6dad3 Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Sun, 5 May 2024 21:15:32 +0200 Subject: [PATCH] CI: stop ignoring PendinDeprecationWarning about Node.traverse() --- .github/workflows/html-macos.yml | 3 +-- .github/workflows/linkcheck.yml | 3 +-- .github/workflows/version-matrix.yml | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/html-macos.yml b/.github/workflows/html-macos.yml index f8f7b746..80f7d0fa 100644 --- a/.github/workflows/html-macos.yml +++ b/.github/workflows/html-macos.yml @@ -39,7 +39,6 @@ jobs: - name: Build HTML env: # There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398) - # The other warning will be fixed with https://github.com/spatialaudio/nbsphinx/pull/758 - PYTHONWARNINGS: error,default::DeprecationWarning,default:nodes.Node.traverse() is obsoleted by Node.findall():PendingDeprecationWarning + PYTHONWARNINGS: error,default::DeprecationWarning run: | $SPHINX doc/ _build/html/ diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml index d83eb6cf..612b63b7 100644 --- a/.github/workflows/linkcheck.yml +++ b/.github/workflows/linkcheck.yml @@ -40,8 +40,7 @@ jobs: - name: Check links env: # There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398) - # The other warning will be fixed with https://github.com/spatialaudio/nbsphinx/pull/758 - PYTHONWARNINGS: error,default::DeprecationWarning,default:nodes.Node.traverse() is obsoleted by Node.findall():PendingDeprecationWarning + PYTHONWARNINGS: error,default::DeprecationWarning 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 d7bf06b4..469dc20d 100644 --- a/.github/workflows/version-matrix.yml +++ b/.github/workflows/version-matrix.yml @@ -80,7 +80,6 @@ jobs: - name: Run Sphinx env: # There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398) - # The other warning will be fixed with https://github.com/spatialaudio/nbsphinx/pull/758 - PYTHONWARNINGS: error,default::DeprecationWarning,default:nodes.Node.traverse() is obsoleted by Node.findall():PendingDeprecationWarning + PYTHONWARNINGS: error,default::DeprecationWarning run: | $SPHINX doc _build -b html