Repository navigation
chore!: drop Python 3.9 support - #159
Merged
Merged
Conversation
Python 3.9 has reached end of life. The minimum supported version is now 3.10, the ada-url constraint is a single entry, the CI matrix no longer includes 3.9, and the test runner returns to ubuntu-latest.
Apply the ruff pyupgrade fixes enabled by the py310 target, replacing Optional and Union with the X | Y syntax.
kishore7snehil
marked this pull request as ready for review
November 10, 2026 08:17
rmad17
requested changes
Nov 10, 2026
rmad17
left a comment
Contributor
There was a problem hiding this comment.
A few Optional[...] usages in docs and docstrings were missed. They're examples for people implementing CacheAdapter and AbstractTokenStore, so they'd be good to match the real signatures, which now use "X | None". None of these break anything.
- src/auth0_api_python/cache.py (CacheAdapter docstring example)
- docs/Caching.md
- docs/TokenStorage.md
Contributor
Author
|
Fixed in e8c3aed. |
Contributor
Hey @kishore7snehil , thanks for the fix. While this addresses the issue, it breaks the CacheAdapter API table. The pipe in the new union types is read as a column separator, even inside backticks. Can you take a look at it was well?
|
Contributor
Author
|
Fixed in e270a76. |
rmad17
approved these changes
Nov 10, 2026
This was referenced Nov 10, 2026
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, which has reached end of life. The minimum supported version is now 3.10.
pyproject.toml:pythonis now>=3.10and the twoada-urlentries become a single^1.30.0.poetry.lockregenerated. It only removes the 3.9-only entries and updates the Python range and content hash, with no package upgrades.requirements.txt: the twoada-urllines become a singleada-url>=1.32.0..github/workflows/test.yml: 3.9 is removed from the matrix, 3.13 and 3.14 are added, andruns-ongoes back toubuntu-latest. Theubuntu-24.04pin from chore: Pinned test runner image to have support of python 3.9 #158 existed only because Ubuntu 26.04 has no Python 3.9 build, and Python 3.10 to 3.14 all have builds for it..ruff.toml:target-versionis nowpy310.README.md: now says Python 3.10+.Breaking Changes
The minimum supported Python version goes from 3.9.2 to 3.10. Releases that include this change cannot be installed on Python 3.9, so projects on 3.9 need to upgrade Python or stay on
1.0.0b10, the last release that supports it.References
Testing
Verified locally with
poetry run pyteston Python 3.10, 3.13 and 3.14 (506 passed on each) andpoetry run ruff check .. TheBuild and Testrun on this PR covers 3.10 to 3.14.Checklist