Skip to content

Commit 4eb4044

Browse files
committed
Add python 3.12 support, drop 3.7
1 parent 41329e6 commit 4eb4044

4 files changed

Lines changed: 190 additions & 275 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
strategy:
4949
matrix:
50-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
50+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
5151

5252
steps:
5353
- name: Checkout code
@@ -72,17 +72,9 @@ jobs:
7272
poetry self add "poetry-dynamic-versioning[plugin]==1.1.1"
7373
7474
- name: Run tests
75-
if: ${{ matrix.python-version != '3.7' }}
7675
run: |
7776
poetry run pytest --cov=auth0 --cov-report=term-missing:skip-covered --cov-report=xml
7877
79-
- name: Run tests 3.7
80-
# Skip async tests in 3.7
81-
if: ${{ matrix.python-version == '3.7' }}
82-
run: |
83-
poetry run pytest auth0/test
84-
# bwrap ${{ env.BUBBLEWRAP_ARGUMENTS }} bash
85-
8678
# - name: Run lint
8779
# run: |
8880
# pipx install black==23.3.0

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,19 +132,20 @@ For more code samples on how to integrate the auth0-python SDK in your Python ap
132132
Our support lifecycle policy mirrors the [Python support schedule](https://devguide.python.org/versions/). We do not support running the SDK on unsupported versions of Python that have ceased to receive security updates. Please ensure your environment remains up to date and running the latest Python version possible.
133133

134134
| SDK Version | Python Version | Support Ends |
135-
|-------------| -------------- | ------------ |
136-
| 4.x | 3.11 | Oct 2027 |
135+
|-------------|----------------|--------------|
136+
| 4.x | 3.12 | Oct 2028 |
137+
| | 3.11 | Oct 2027 |
137138
| | 3.10 | Oct 2026 |
138139
| | 3.9 | Oct 2025 |
139140
| | 3.8 | Oct 2024 |
140-
| | 3.7 | Oct 2023 |
141141

142142
> As `pip` [reliably avoids](https://packaging.python.org/en/latest/tutorials/packaging-projects/#configuring-metadata) installing package updates that target incompatible Python versions, we may opt to remove support for [end-of-life](https://en.wikipedia.org/wiki/CPython#Version_history) Python versions during minor SDK updates. These are not considered breaking changes by this SDK.
143143
144144
The following is a list of unsupported Python versions, and the last SDK version supporting them:
145145

146146
| Python Version | Last SDK Version Supporting |
147-
| -------------- |-----------------------------|
147+
|----------------|-----------------------------|
148+
| <= 3.7 | 4.6.1 |
148149
| >= 2.0, <= 3.6 | 3.x |
149150

150151
You can determine what version of Python you have installed by running:

0 commit comments

Comments
 (0)