From 77576eb2c6e192de9f898a0a0de0a33e8bdad6c9 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 6 Jul 2026 10:18:43 +0200 Subject: [PATCH 1/2] Use Python 3.14 See https://github.com/readthedocs/readthedocs.org/pull/13027 --- .ruff.toml | 4 ++-- AGENTS.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.ruff.toml b/.ruff.toml index eecfca4..17fe1a4 100644 --- a/.ruff.toml +++ b/.ruff.toml @@ -18,8 +18,8 @@ exclude = [ line-length = 100 indent-width = 4 -# Assume Python 3.12 -target-version = "py312" +# Assume Python 3.14 +target-version = "py314" [lint] # Enable: diff --git a/AGENTS.md b/AGENTS.md index 819b489..52124e6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -71,10 +71,10 @@ tox -e migrations tox -e pre-commit # Run the main test suite (search, proxito, and embed_api tests are excluded by default) -tox -e py312 -- --nomigrations +tox -e py314 -- --nomigrations # Run tests matching a keyword (faster) — use -k because --pyargs readthedocs is hardcoded -tox -e py312 -- -k "" --reuse-db --nomigrations +tox -e py314 -- -k "" --reuse-db --nomigrations # Run only search tests (requires Elasticsearch sidecar in CI, skip locally unless available) tox -e search From c62da2585c1686cfd9407d736a27363401175573 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Mon, 6 Jul 2026 11:08:33 +0200 Subject: [PATCH 2/2] Newer version for Ruff --- pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pre-commit-config.yaml b/pre-commit-config.yaml index 81d421d..3ad2e0f 100644 --- a/pre-commit-config.yaml +++ b/pre-commit-config.yaml @@ -59,7 +59,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.11.5 + rev: v0.15.20 hooks: # Run the linter. - id: ruff