diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 6380b34adec..26a07283f6d 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,7 +17,7 @@ build: os: ubuntu-24.04 tools: python: >- - 3.13 + 3.14 apt_packages: - inkscape jobs: diff --git a/doc/en/conf.py b/doc/en/conf.py index 39cd169cdb3..8b259b03bf5 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -94,6 +94,8 @@ # Undocumented third parties ("py:class", "_tracing.TagTracerSub"), ("py:class", "warnings.WarningMessage"), + # Python 3.14+ exposes the C accelerator module name. + ("py:class", "_py_warnings.WarningMessage"), # Undocumented type aliases ("py:class", "LEGACY_PATH"), ("py:class", "_PluggyPlugin"), diff --git a/tox.ini b/tox.ini index 5a8fa240898..515313a9bf6 100644 --- a/tox.ini +++ b/tox.ini @@ -128,7 +128,7 @@ setenv = description = build the documentation site under \ `{toxinidir}{/}doc{/}en{/}_build{/}html` with `{basepython}` -basepython = python3.13 # Sync with .readthedocs.yaml to get errors. +basepython = python3.14 # Sync with .readthedocs.yaml to get errors. usedevelop = True deps = -r{toxinidir}/doc/en/requirements.txt