Commit 18f283e
authored
chore: drop Python 3.9 support, add Python 3.13 (#843)
### Changes
- Drop Python 3.9 from supported versions (EOL since October 2025)
- Add Python 3.13 to the test matrix and classifiers
- Bump minimum Python version to `>=3.10` in `pyproject.toml`
- Update publish workflow to build on Python 3.10
- Unpin Poetry version constraint (Poetry 2.x requires Python 3.10+,
which is now our minimum)
This also fixes CI failures on PR #841 where `pipx install poetry` was
pulling Poetry 2.x which crashes on Python 3.9 with `TypeError:
dataclass() got an unexpected keyword argument 'slots'`.
### References
- [Poetry 2.0
changelog](https://python-poetry.org/blog/announcing-poetry-2.0.0/)
(requires Python 3.10+)
- [Python 3.9 EOL](https://devguide.python.org/versions/) (end-of-life
October 2025)
### Testing
- CI matrix now runs on Python 3.10, 3.11, 3.12, 3.13
- No code changes to the library itself, only build/CI configuration
- [ ] This change adds unit test coverage
- [x] This change has been tested on the latest version of the
platform/language or why not
### Checklist
- [x] I have read the [Auth0 general contribution
guidelines](https://github.com/auth0/open-source-template/blob/master/GENERAL-CONTRIBUTING.md)
- [x] I have read the [Auth0 Code of
Conduct](https://github.com/auth0/open-source-template/blob/master/CODE-OF-CONDUCT.md)
- [x] All existing and new tests complete without errors1 parent 3b19ca9 commit 18f283e
5 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments