Skip to content

chore!: drop Python 3.9 support and update dependencies for security - #124

Merged
kishore7snehil merged 1 commit into
mainfrom
chore/drop-python-3.9-support
Aug 28, 2026
Merged

chore!: drop Python 3.9 support and update dependencies for security#124
kishore7snehil merged 1 commit into
mainfrom
chore/drop-python-3.9-support

Conversation

@kishore7snehil

@kishore7snehil kishore7snehil commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Changes

Drops Python 3.9 support and raises the minimum supported version to Python 3.10. 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. Moving the floor to Python 3.10 lets fastapi/starlette resolve to a patched release.

  • Raise minimum Python version to 3.10 (pyproject.toml)
  • Re-lock dependencies so fastapi/starlette resolve to patched versions
  • Update CI matrix to Python 3.10, 3.11, 3.12, 3.13, 3.14 (drop 3.9, add 3.13/3.14)
  • Update ruff target-version to py310 and apply the resulting Optional[X] / Union[X, Y]X | None / X | Y modernization across the SDK and tests
  • Update README's stated minimum Python version

⚠️ Breaking Changes

Python 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

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

  • I have read the Auth0 general contribution guidelines
  • I have read the Auth0 Code of Conduct
  • All existing and new tests complete without errors

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
kishore7snehil marked this pull request as ready for review August 19, 2026 08:34
@kishore7snehil
kishore7snehil requested a review from a team as a code owner August 19, 2026 08:34

@rmad17 rmad17 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kishore7snehil
kishore7snehil merged commit b7eea53 into main Aug 28, 2026
10 checks passed
@kishore7snehil kishore7snehil mentioned this pull request Aug 28, 2026
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.

2 participants