From 17f08d356a82a02f88aaa837a573fa3b642dbaab Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 20 Mar 2026 13:58:04 +0200 Subject: [PATCH] docs: update `tox -e docs`/RTD from Python 3.13 to 3.14 --- .readthedocs.yaml | 2 +- doc/en/conf.py | 2 ++ tox.ini | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) 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