Skip to content

Commit

Permalink
Merge pull request #73 from StevenMapes/master
Browse files Browse the repository at this point in the history
Updating documentation and pyproject.toml to show Python 3.12 and Django 5.0 support
  • Loading branch information
oliwarner authored Feb 21, 2024
2 parents fcc7d48 + 5c02fb4 commit eef2d3f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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+

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand All @@ -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"
build-backend = "poetry_dynamic_versioning.backend"
4 changes: 2 additions & 2 deletions testsite/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pip
Django<=5
Django<=5.1
django-decorator-include
django_extensions
django-debug-toolbar
-e ../
-e ../

0 comments on commit eef2d3f

Please sign in to comment.