Repository navigation
chore(python): raise the client's Python floor to 3.11 - #3064
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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, rufftarget-versionand mypypython_versionmove 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 oneasyncio.TimeoutErroralias in a test, replaced with the builtinTimeoutError(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