From 5c02fb4d360e7f27f0e2e552943044b41a8065c8 Mon Sep 17 00:00:00 2001 From: Steve Mapes Date: Tue, 16 Jan 2024 19:32:14 +0000 Subject: [PATCH] Updating documentation to show Django 5.0 support and support for Python 3.12 --- README.md | 13 +++++++------ pyproject.toml | 4 ++-- testsite/requirements.txt | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9b192be..23e47e9 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,13 @@ FIDO2/WebAuthn is the big-ticket item for MFA. It allows the browser to interfac # Python and Django Support This project targets modern stacks, officially supporting Python 3.8+ and Django 3.2+. -| **Python/Django** | **2.2** |**3.2** | **4.0** | **4.1** | **4.2** | -|-------------------|---------|--------|---------|---------|---------| -| 3.8 | Y | Y | Y | Y | N/A | -| 3.9 | Y | Y | Y | Y | N/A | -| 3.10 | N | Y | Y | Y | N/A | -| 3.11 | N | N | N | Y | Y +| **Python/Django** | **2.2** |**3.2** | **4.0** | **4.1** | **4.2** | **5.0** | +|-------------------|---------|--------|---------|---------|---------|---------| +| 3.8 | Y | Y | Y | Y | N/A | N/A | +| 3.9 | Y | Y | Y | Y | N/A | N/A | +| 3.10 | N | Y | Y | Y | N/A | Y | +| 3.11 | N | N | N | Y | Y | Y | +| 3.12 | N | N | N | N | Y | Y | * Python 3.11 only works with Django 4.1.3+ diff --git a/pyproject.toml b/pyproject.toml index 6ab52ec..e609f38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,7 @@ include = [ [tool.poetry.dependencies] python = ">=3.7, <4.0" -django = "> 2.2, <= 5.0" +django = "> 2.2, <= 5.1" pyotp = '^2.9' fido2 = '1.1.2' @@ -63,4 +63,4 @@ style = "pep440" [build-system] requires = ["poetry-core>=1.7.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] -build-backend = "poetry_dynamic_versioning.backend" \ No newline at end of file +build-backend = "poetry_dynamic_versioning.backend" diff --git a/testsite/requirements.txt b/testsite/requirements.txt index 8eb2d30..88faabc 100644 --- a/testsite/requirements.txt +++ b/testsite/requirements.txt @@ -1,6 +1,6 @@ pip -Django<=5 +Django<=5.1 django-decorator-include django_extensions django-debug-toolbar --e ../ \ No newline at end of file +-e ../