chore!: drop Python 3.9 support and update dependencies for security - #124
Merged
Conversation
Starlette (pulled in transitively via fastapi) never received patches for several known CVEs on any Python-3.9-compatible release line, so there is no way to remediate them while still supporting Python 3.9. Raising the minimum to Python 3.10 lets fastapi/starlette resolve to a patched release.
kishore7snehil
marked this pull request as ready for review
August 19, 2026 08:34
Merged
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.
Changes
Drops Python 3.9 support and raises the minimum supported version to Python 3.10.
starlette(pulled in transitively viafastapi) never received patches for several known CVEs on any Python-3.9-compatible release line, so there is no way to remediate them while still supporting Python 3.9. Moving the floor to Python 3.10 letsfastapi/starletteresolve to a patched release.pyproject.toml)fastapi/starletteresolve to patched versionsrufftarget-versiontopy310and apply the resultingOptional[X]/Union[X, Y]→X | None/X | Ymodernization across the SDK and testsPython 3.9 is no longer supported. Projects still on Python 3.9 must upgrade to Python 3.10 or later before installing this version. No public API changed - only the minimum interpreter version.
Testing
Checklist