Skip to content

Commit 837bea6

Browse files
committed
CI: ignore deprecated import_object
1 parent 40d8cd4 commit 837bea6

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/html-macos.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ 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+
# RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated
43+
# https://github.com/sphinx-doc/sphinx/issues/13083
44+
PYTHONWARNINGS: error,default::DeprecationWarning,default:'sphinx.util.import_object'
4345
run: |
4446
$SPHINX doc/ _build/html/

.github/workflows/linkcheck.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ 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+
# RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated
44+
# https://github.com/sphinx-doc/sphinx/issues/13083
45+
PYTHONWARNINGS: error,default::DeprecationWarning,default:'sphinx.util.import_object'
4446
run: |
4547
$SPHINX -d _doctrees/ doc/ _build/linkcheck/ -b linkcheck -q
4648
- name: Upload results

.github/workflows/version-matrix.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -79,18 +79,24 @@ jobs:
7979
- name: Run Sphinx (HTML)
8080
env:
8181
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
82-
PYTHONWARNINGS: error,default::DeprecationWarning
82+
# RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated
83+
# https://github.com/sphinx-doc/sphinx/issues/13083
84+
PYTHONWARNINGS: error,default::DeprecationWarning,default:'sphinx.util.import_object'
8385
run: |
8486
$SPHINX doc _build -b html
8587
- name: Run Sphinx (LaTeX, but without running LaTeX)
8688
env:
8789
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
88-
PYTHONWARNINGS: error,default::DeprecationWarning
90+
# RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated
91+
# https://github.com/sphinx-doc/sphinx/issues/13083
92+
PYTHONWARNINGS: error,default::DeprecationWarning,default:'sphinx.util.import_object'
8993
run: |
9094
$SPHINX doc _build -b latex
9195
- name: Run Sphinx (epub)
9296
env:
9397
# There is a weird warning from jupyter_core (https://github.com/jupyter/jupyter_core/issues/398)
94-
PYTHONWARNINGS: error,default::DeprecationWarning
98+
# RemovedInSphinx10Warning: 'sphinx.util.import_object' is deprecated
99+
# https://github.com/sphinx-doc/sphinx/issues/13083
100+
PYTHONWARNINGS: error,default::DeprecationWarning,default:'sphinx.util.import_object'
95101
run: |
96102
$SPHINX doc _build -b epub

0 commit comments

Comments
 (0)