Skip to content

Commit 92281bf

Browse files
fix: correct supported Python range to 3.12-3.13
The adk (hand-authored framework) needs Python 3.12; only the generated REST client runs on 3.11. And watchfiles 0.24.0 cannot build on 3.14 (pyo3 0.22.2 maxes at 3.13), so 3.14 was never installable — the test matrix's 3.14 leg surfaced that pre-existing mis-advertisement. - requires-python: >=3.11,<4 -> >=3.12,<3.14 - drop Python 3.11 and 3.14 classifiers - scripts/test matrix: min 3.12, max 3.13 - regenerate uv.lock / requirements-dev.lock for the narrowed range Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 89c1232 commit 92281bf

4 files changed

Lines changed: 7 additions & 1076 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ dependencies = [
4848
"opentelemetry-api>=1.20.0",
4949
]
5050

51-
requires-python = ">= 3.11,<4"
51+
requires-python = ">=3.12,<3.14"
5252
classifiers = [
5353
"Typing :: Typed",
5454
"Intended Audience :: Developers",
55-
"Programming Language :: Python :: 3.11",
5655
"Programming Language :: Python :: 3.12",
5756
"Programming Language :: Python :: 3.13",
58-
"Programming Language :: Python :: 3.14",
5957
"Operating System :: OS Independent",
6058
"Operating System :: POSIX",
6159
"Operating System :: MacOS",

requirements-dev.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ anyio==4.12.1
2828
# watchfiles
2929
asttokens==3.0.1
3030
# via stack-data
31-
async-timeout==5.0.1 ; python_full_version < '3.11.3'
32-
# via redis
3331
attrs==25.4.0
3432
# via
3533
# aiohttp
@@ -441,7 +439,6 @@ typing-extensions==4.15.0
441439
# anyio
442440
# fastapi
443441
# huggingface-hub
444-
# ipython
445442
# langchain-core
446443
# langchain-protocol
447444
# mcp

scripts/test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export DEFER_PYDANTIC_BUILD=false
1010

1111
# Note that we need to specify the patch version here so that uv
1212
# won't use unstable (alpha, beta, rc) releases for the tests
13-
PY_VERSION_MIN=">=3.9.0"
14-
PY_VERSION_MAX=">=3.14.0"
13+
PY_VERSION_MIN=">=3.12.0,<3.13"
14+
PY_VERSION_MAX=">=3.13.0,<3.14"
1515

1616
function run_tests() {
1717
echo "==> Running tests with Pydantic v2"

0 commit comments

Comments
 (0)