Skip to content

Bump docutils to 0.23 - #16257

Merged
srittau merged 1 commit into
python:mainfrom
ekanshul:bump-docutils-0-23
Aug 20, 2026
Merged

Bump docutils to 0.23#16257
srittau merged 1 commit into
python:mainfrom
ekanshul:bump-docutils-0-23

Conversation

@ekanshul

Copy link
Copy Markdown
Contributor

Closes #15148

Bumps the stubs to docutils 0.23 and updates them for the runtime changes in that release: Node.findall()/traverse()/next_node() accept a tuple of node classes, document gains names, create_id(), note_names() and set_duplicate_name() (replacing set_duplicate_name_id()) and set_name_id_map() is deprecated, transition.ignored_siblings, transforms.references.SectionIDs, transforms.misc.Transitions.warn(), PreambleCmds.bracket_footnoterefs, code_role()'s first parameter is renamed to role_name, and CSVTable.check_requirements() was removed. While there, get_default_settings() accepts classes as well as instances (docutils itself calls it both ways), and document.id_counter is keyed by str, not int.

Agent used: Claude Code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 57c5b34 into python:main Aug 20, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants