Skip to content

chore(python): raise the client's Python floor to 3.11 - #3064

Merged
inureyes merged 1 commit into
mainfrom
chore/3013-python-floor-311
Nov 15, 2026
Merged

inureyes merged 1 commit into
mainfrom
chore/3013-python-floor-311

Conversation

@inureyes

Copy link
Copy Markdown
Member

CI stopped testing 3.9 and 3.10 when #3013 moved the matrix to 3.11, 3.13 and 3.14 on ubuntu-latest, so the declared requires-python = ">=3.9" floor was untested. The floor now matches the oldest tested interpreter: requires-python, ruff target-version and mypy python_version move to 3.11, the classifiers list 3.11, 3.13 and 3.14, and the README, client docs and CHANGELOG say 3.11. Ruff's py311 target flagged one asyncio.TimeoutError alias in a test, replaced with the builtin TimeoutError (the same class on 3.11). The UP006/UP007/UP035/UP045 ignores stay, so existing annotations are not rewritten.

Ruff lint and format, mypy on python/src, and the unit tests pass on 3.11 and 3.14 (140 passed).

Refs #3012, #3013

CI stopped testing 3.9 and 3.10 when #3013 moved the matrix to 3.11, 3.13 and 3.14 on ubuntu-latest, so the declared `requires-python = ">=3.9"` floor was untested. The floor now matches the oldest tested interpreter: `requires-python`, ruff `target-version` and mypy `python_version` move to 3.11, the classifiers list 3.11, 3.13 and 3.14, and the README, client docs and CHANGELOG say 3.11. Ruff's py311 target flagged one `asyncio.TimeoutError` alias in a test, replaced with the builtin `TimeoutError` (the same class on 3.11). The UP006/UP007/UP035/UP045 ignores stay, so existing annotations are not rewritten.

Ruff lint and format, mypy on `python/src`, and the unit tests pass on 3.11 and 3.14 (140 passed).

Refs #3012, #3013
@inureyes inureyes added type:chore Maintenance tasks (build, CI, etc.) priority:low Low priority labels Nov 15, 2026
@inureyes
inureyes merged commit 97c68de into main Nov 15, 2026
35 checks passed
@inureyes
inureyes deleted the chore/3013-python-floor-311 branch November 15, 2026 09:09
@inureyes inureyes added this to the 0.9 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:low Low priority type:chore Maintenance tasks (build, CI, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant