Skip to content

Commit a1a56f5

Browse files
committed
CI: Don't stop on Node.traverse() deprecation warning
1 parent 92553cd commit a1a56f5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/html-macos.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- name: Build HTML
4040
env:
4141
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
42-
PYTHONWARNINGS: error,default::DeprecationWarning
42+
# The other warning will be fixed with https://github.com/spatialaudio/nbsphinx/pull/758
43+
PYTHONWARNINGS: error,default::DeprecationWarning,default:nodes.Node.traverse() is obsoleted by Node.findall():PendingDeprecationWarning
4344
run: |
4445
$SPHINX doc/ _build/html/

.github/workflows/linkcheck.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
- name: Check links
4141
env:
4242
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
43-
PYTHONWARNINGS: error,default::DeprecationWarning
43+
# The other warning will be fixed with https://github.com/spatialaudio/nbsphinx/pull/758
44+
PYTHONWARNINGS: error,default::DeprecationWarning,default:nodes.Node.traverse() is obsoleted by Node.findall():PendingDeprecationWarning
4445
run: |
4546
$SPHINX -d _doctrees/ doc/ _build/linkcheck/ -b linkcheck -q
4647
- name: Upload results

0 commit comments

Comments
 (0)