Skip to content

Upgrading sphinx-autodoc-typehints 2 to 3

Breaking2.5.0 → 3.17.4Breaking3Platform2New31Changed20Fixed177Other35

Fetching 57 releases from GitHub…55 / 57
BreakingUpgrade verdict

3 breaking changes and 2 platform requirement changes.

  • Remove the extra () after NewType in rendered output.
  • Drop support for nptyping.
  • Remove the docs and testing extras; development dependencies moved to dependency groups.
  • The package now officially supports Python 3.15.
5 items need code or config changes

Python requirement changed in 3.6.2: >=3.10 → >=3.12.

Adds typing-extensions >=4.16.

Installs 23 packages in all (was 22).

Breaking3
Remove the extra () after NewType in rendered output.
NewType
Drop support for nptyping.
Remove the docs and testing extras; development dependencies moved to dependency groups.
docstesting
Platform2
Declares support for Python 3.15.
Support Sphinx 8.2; drop Python 3.10, as Sphinx does.