Drop Python 3.9 support #545
Merged
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.
Summary
Removes support for Python 3.9, which has reached end-of-life, and updates all configuration and documentation to reflect Python 3.10+ as the minimum supported version. This simplifies dependency constraints and aligns with current Python support lifecycle.
Changes
Configuration Updates
pyproject.toml:requires-pythonfrom">=3.9"to">=3.10""Programming Language :: Python :: 3.9"trove classifiertarget-versionfrom"py39"to"py310"target-versionfrom["py39"]to["py310"]pandas-stubs: Removed Python 3.8-3.9 fallback, now uses single version constraintnumpy: Removed Python 3.8-3.9 fallback, now uses single version constraintpytest-benchmark: Simplified condition frompython_version>='3.9' and python_version<'4.0'topython_version<'4.0'sphinx: Simplified condition frompython_version>='3.9' and python_version<'3.11'topython_version<'3.11'myst-parser: Removed Python 3.9-3.10 fallback, now uses single version constraintgrpcio: Simplified condition frompython_version>='3.8' and python_version<'3.11'topython_version<'3.11'pandas: Simplified condition frompython_version>='3.9' and python_version<'3.13'topython_version<'3.13'Documentation Updates
README.md: Changed prerequisites from "Python 3.9 and greater" to "Python 3.10 and greater", and updated tested versions from "3.9 to 3.13" to "3.10 to 3.13"docs/index.rst: Changed prerequisites from "Python 3.9 and greater" to "Python 3.10 and greater", and updated tested versions from "3.9 to 3.13" to "3.10 to 3.13"docs/upgrading.md: Added breaking change note in the 7.x section documenting the removal of Python 3.9 supportBreaking Changes
Impact
Rationale
Python 3.9 reached end-of-life on October 2, 2025. Dropping support allows us to:
Files Changed
pyproject.tomlREADME.mddocs/index.rstdocs/upgrading.md