chore: Drop Python 3.9 support and update to Python 3.14 #7076
+7
−7
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
https://devguide.python.org/versions
This PR drops official support for Python 3.9 following its end-of-life on October 5, 2025, and updates the minimum supported Python version to 3.10. Additionally, it updates the CI configuration to test against Python 3.14 (now released) instead of 3.14-dev.
Changes
Version Support Updates:
Files Modified:
.github/workflows/run-tests.yml: Updated test matrix to use Python 3.10-3.14 and removed 3.9HISTORY.md: Added deprecation notice for Python 3.9 supportREADME.md: Updated documentation to reflect Python 3.10+ requirementdocs/index.rst: Updated documentation to reflect Python 3.10+ requirementsetup.py: UpdatedREQUIRED_PYTHONto(3, 10),python_requiresto>=3.10, and removed the Python 3.9 classifiertox.ini: Removedpy39from the test environment listRationale
According to PEP 596, Python 3.9 reached its end-of-life on October 5, 2025. This change aligns the Requests library with the official Python support lifecycle and ensures it's only supporting actively maintained Python versions.
Testing
CI tests now run on Python 3.10, 3.11, 3.12, 3.13, 3.14, PyPy 3.10, and PyPy 3.11 across Ubuntu, macOS, and Windows platforms.