Skip to content

Fix autosummary CLI help typing on Python 3.15 - #14571

Closed
DavidAGInnovation wants to merge 1 commit into
sphinx-doc:masterfrom
DavidAGInnovation:agent/autosummary-argparse-typing
Closed

Fix autosummary CLI help typing on Python 3.15#14571
DavidAGInnovation wants to merge 1 commit into
sphinx-doc:masterfrom
DavidAGInnovation:agent/autosummary-argparse-typing

Conversation

@DavidAGInnovation

Copy link
Copy Markdown

Summary

  • ensure translated autosummary CLI help values are plain strings for Python 3.15's argparse typing
  • add a regression test covering the parser description, epilog, and action help values

Checks

  • pytest -q tests/test_ext_autosummary/test_ext_autosummary.py
  • ty check --color=never --python=.venv-ci/bin/python
  • Ruff check and format validation for the changed files

@jdillard

jdillard commented Aug 3, 2026

Copy link
Copy Markdown
Member

This was fixed upstream in python/cpython#154653 and backported to Python 3.15 in python/cpython#154946, so the Sphinx workaround is no longer needed. Thanks for the contribution!

@jdillard jdillard closed this Aug 3, 2026
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