Skip to content

Conversation

@abrookins
Copy link
Collaborator

@abrookins abrookins commented Jan 6, 2026

Our Python version support is tied to upstream requirements in redis-py. As of redis-py 7.1.0, Python 3.10+ is required.

Additionally:

  • Python 3.8 reached end-of-life in October 2024
  • Python 3.9 reached end-of-life in October 2025

While we don't jump all the way to redis-py 7.1.0 in this PR, with Python 3.9 EOL and redis-py dropping support, we might as well drop it.

We do raise the minimum redis-py version to 4.2.0 in this PR, which technically is a breaking change. However, 3.5.3 is five years old! It also doesn't support some of the features this library uses, which means we don't actually support 3.5.3 anyway.

Changes

  • pyproject.toml: Require Python >=3.10, update redis-py constraint to >=4.2.0,<8.0.0
  • CI workflow: Remove 3.9 and pypy-3.9 from test matrix
  • Classifiers: Remove 3.8/3.9 from PyPI classifiers
  • Docs: Update getting_started.md to reflect new requirements

Closes #706, #730

@abrookins abrookins force-pushed the drop-python-38-39-support branch 2 times, most recently from 0abbafc to de126cf Compare January 6, 2026 20:28
Python 3.8 reached EOL in October 2024, and 3.9 will reach EOL in
October 2025. More importantly, redis-py 7.1.0+ requires Python 3.10+,
so our Python version support is tied to upstream requirements.

Changes:
- Update pyproject.toml to require Python >=3.10
- Update redis-py constraint to >=4.2.0,<8.0.0
- Remove 3.8/3.9 from PyPI classifiers
- Remove 3.9 and pypy-3.9 from CI test matrix
- Update docs to reflect new requirements

Closes #706, #730
@abrookins abrookins force-pushed the drop-python-38-39-support branch from de126cf to 668ddc8 Compare January 6, 2026 20:52
@abrookins abrookins merged commit 0c1abc8 into main Jan 8, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

redis-om 1.0.3b0: python 3.8 is still supported in pyproject.toml but typing fails

2 participants