Skip to content

Commit

Permalink
DOC, MAINT: workaround for py311 docs
Browse files Browse the repository at this point in the history
* temporary workaround to allow SciPy docs
to build on `main` with Python `3.11` until
an upstream fix for gh-19228 is available

* I thought about guarding this filter by
Python version, but didn't seem worth it,
but can change that if really desired

* locally, `python dev.py doc -j 32` has a
`0` exit code/succeeds with `3.11`

[skip cirrus] [skip actions]
  • Loading branch information
tylerjereddy committed Nov 18, 2023
1 parent b37ca46 commit 31888c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,12 @@
message=r'There is no current event loop',
category=DeprecationWarning,
)
# TODO: remove after gh-19228 resolved:
warnings.filterwarnings(
'ignore',
message=r'.*path is deprecated.*',
category=DeprecationWarning,
)

# -----------------------------------------------------------------------------
# HTML output
Expand Down

0 comments on commit 31888c8

Please sign in to comment.