Repository navigation
build: drop Python 3.10 support and add Python 3.15 support - #4489
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
βΉοΈ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with π while any review is running, comments if it has suggestions, and reacts with π once all reviews finish with no findings. |
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ee10094171
βΉοΈ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
ee10094 to
e1bbe9c
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 1 potential issue.
β Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit e1bbe9c. Configure here.

Change summary
This pull request removes support for Python 3.10, which has reached end of life, and adds support for Python 3.15.
pyproject.toml:requires-python = ">=3.11", 3.10 classifier removed, 3.15 classifier added, rufftarget-version = "py311".pypy-3.11. PyPy 3.12 is not added, because it is still officially beta. The lint, docs, Read the Docs and publish builds use 3.11.dev_requirements.txt: the PyPy 3.10cryptographypin is removed.typing_extensionsfallback forSelfinhybrid_query.py, and old version checks in the async command and pubsub tests.The
async-timeoutdependency and thesys.version_info >= (3, 11, 3)guards stay, becauseasyncio.timeoutis broken before 3.11.3 (#2633). Because ofrequires-python, pip keeps installing redis-py 8.1.x on Python 3.10.Test coverage
No tests were added, because this change only touches packaging, CI and version checks. The linters pass with the py311 target, and the updated CI matrices run the full suite on 3.11 and 3.15.
Note
Medium Risk
Intentional compatibility break for Python 3.10 installs via
requires-python; no Redis client logic changes, but release timing affects who can upgrade.Overview
Raises the minimum supported Python to 3.11 and adds 3.15 to packaging and CI, reflecting Python 3.10 EOL (documented in README as 8.1.0 last on 3.10, 8.2.0+ on 3.11+).
pyproject.tomlsetsrequires-python = ">=3.11", drops the 3.10 Trove classifier, adds 3.15, and moves Ruff topy311. Docs, lint, publish, and Read the Docs jobs use 3.11; integration matrices shift primary pins from 3.10/3.14 to 3.11/3.15 (plus 3.15t in hiredis-py). PyPy 3.10 is removed (onlypypy-3.11); install-from-commit adds 3.15. The hiredis job excludes Python 3.15 withhiredis-version: '<3.0.0'because 2.x does not build on 3.15.Code cleanup for the new floor:
hybrid_query.pyimportsSelffromtyping(notyping_extensionsfallback), async tests drop guards foruncancel()and pre-3.8CancelledErrorbehavior, and the PyPy 3.10cryptographypin is removed fromdev_requirements.txt. AGENTS.md matches the new Python/Ruff targets.Reviewed by Cursor Bugbot for commit e1bbe9c. Bugbot is set up for automated code reviews on this repo. Configure here.