Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve deprecation warnings in Docs/tools #119317

Closed
drts01 opened this issue May 21, 2024 · 1 comment · Fixed by #119319
Closed

Resolve deprecation warnings in Docs/tools #119317

drts01 opened this issue May 21, 2024 · 1 comment · Fixed by #119319
Labels
docs Documentation in the Doc dir

Comments

@drts01
Copy link
Contributor

drts01 commented May 21, 2024

Documentation

The following scripts are throwing deprecation warnings.

  • Docs/tools/extensions/pyspecific.py
  • Docs/tools/extensions/glossary_search.py
PendingDeprecationWarning: nodes.Node.traverse() is obsoleted by Node.findall()

Linked PRs

@drts01 drts01 added the docs Documentation in the Doc dir label May 21, 2024
drts01 added a commit to drts01/cpython that referenced this issue May 21, 2024
drts01 added a commit to drts01/cpython that referenced this issue May 21, 2024
@hugovk
Copy link
Member

hugovk commented May 24, 2024

Looks like this is from docutils 0.18.1 (2021-11-23):

New method Node.findall(): like Node.traverse() but returns an iterator. Obsoletes Node.traverse().

https://docutils.sourceforge.io/HISTORY.html#release-0-18-1-2021-11-23

miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 24, 2024
…onGH-119319)

(cherry picked from commit 0867bce)

Co-authored-by: Carlos Meza <hire@carlosmeza.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue May 24, 2024
…onGH-119319)

(cherry picked from commit 0867bce)

Co-authored-by: Carlos Meza <hire@carlosmeza.com>
hugovk pushed a commit that referenced this issue May 24, 2024
…119319) (#119487)

gh-119317: findall instead of traverse for docutils nodes (GH-119319)
(cherry picked from commit 0867bce)

Co-authored-by: Carlos Meza <hire@carlosmeza.com>
hugovk pushed a commit that referenced this issue May 27, 2024
…119319) (#119486)

gh-119317: findall instead of traverse for docutils nodes (GH-119319)
(cherry picked from commit 0867bce)

Co-authored-by: Carlos Meza <hire@carlosmeza.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants