Skip to content

Conversation

@AA-Turner
Copy link
Member

As part of the (paused) Sphinx 5.3 work I noticed that we still use Node.traverse in Doc/tools/extensions/c_annotations.py -- this moves to use the new findall() iterator method and adds a patch for still-supported old versions of Sphinx.

A

@AA-Turner AA-Turner added skip issue skip news needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes docs Documentation in the Doc dir labels Nov 12, 2022
@hugovk hugovk removed the needs backport to 3.10 only security fixes label Apr 7, 2023
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I couldn't find any docs in docutils about the deprecation, but here it is in the source code:

https://github.com/docutils/docutils/blob/bf24aa58dd0ea9715f623e513de3adfe111f8164/docutils/docutils/nodes.py#L218-L226

I also removed the 3.10 backport label, it's now in security-fix only.

@AA-Turner
Copy link
Member Author

Thanks Hugo!

A

@hugovk hugovk merged commit 1e9dfda into python:main Apr 8, 2023
@miss-islington
Copy link
Contributor

Thanks @AA-Turner for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-bot
Copy link

GH-103367 is a backport of this pull request to the 3.11 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 8, 2023
(cherry picked from commit 1e9dfda)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Apr 8, 2023
miss-islington added a commit that referenced this pull request Apr 8, 2023
(cherry picked from commit 1e9dfda)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
@AA-Turner AA-Turner deleted the docutils-findall branch April 20, 2023 20:11
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 skip issue skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants