Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.12 support, drop 3.7 #562

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- name: Checkout code
Expand All @@ -72,17 +72,9 @@ jobs:
poetry self add "poetry-dynamic-versioning[plugin]==1.1.1"

- name: Run tests
if: ${{ matrix.python-version != '3.7' }}
run: |
poetry run pytest --cov=auth0 --cov-report=term-missing:skip-covered --cov-report=xml

- name: Run tests 3.7
# Skip async tests in 3.7
if: ${{ matrix.python-version == '3.7' }}
run: |
poetry run pytest auth0/test
# bwrap ${{ env.BUBBLEWRAP_ARGUMENTS }} bash

# - name: Run lint
# run: |
# pipx install black==23.3.0
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,19 +132,20 @@ For more code samples on how to integrate the auth0-python SDK in your Python ap
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.

| SDK Version | Python Version | Support Ends |
|-------------| -------------- | ------------ |
| 4.x | 3.11 | Oct 2027 |
|-------------|----------------|--------------|
| 4.x | 3.12 | Oct 2028 |
| | 3.11 | Oct 2027 |
| | 3.10 | Oct 2026 |
| | 3.9 | Oct 2025 |
| | 3.8 | Oct 2024 |
| | 3.7 | Oct 2023 |

> 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.

The following is a list of unsupported Python versions, and the last SDK version supporting them:

| Python Version | Last SDK Version Supporting |
| -------------- |-----------------------------|
|----------------|-----------------------------|
| <= 3.7 | 4.6.1 |
| >= 2.0, <= 3.6 | 3.x |

You can determine what version of Python you have installed by running:
Expand Down
Loading
Loading