Closed
Description
In one of MNE-Python's CIs we're using sphinx 5.0 beta, and seeing this deprecation warning percolating up from docutils 0.18.x:
Traceback (most recent call last):
File "/home/circleci/python_env/lib/python3.8/site-packages/sphinx/events.py", line 94, in emit
results.append(listener.handler(self.app, *args))
File "/home/circleci/python_env/lib/python3.8/site-packages/numpydoc/numpydoc.py", line 104, in relabel_references
for citation_node in doc.traverse(citation):
File "/home/circleci/python_env/lib/python3.8/site-packages/docutils/nodes.py", line 240, in traverse
warnings.warn('nodes.Node.traverse() is obsoleted by Node.findall().',
PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by Node.findall().
I can probably take a swing at this in the next week or so (?) but would be happy if someone else picked it up too
here's the API ref for findall
: https://pydoc.dev/docutils/latest/docutils.nodes.Node.html#findall
Metadata
Metadata
Assignees
Labels
No labels