Skip to content

Commit 80b2527

Browse files
authored
Merge pull request #54 from StevenMapes/master
Update to show support for Django 4.2 and Python up to 3.11
2 parents 8ebc6df + 1f16a9c commit 80b2527

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,24 @@ FIDO2/WebAuthn is the big-ticket item for MFA. It allows the browser to interfac
1919
* **android-safetynet** (Chrome 70+)
2020
* **NFC devices using PCSC** (Not Tested, but as supported in fido2)
2121

22+
**Database support**: Depends on *either* PostgreSQL or Django 3.1+, or both for a sane JSONField implementation. If you're on Postgres, you can carry on using Django 2.x but SQLite3, MySQL, Oracle, etc users will need to upgrade.
23+
24+
# Python and Django Support
2225
This project targets modern stacks. Django 2.2+ and Python 3.5+.
2326

24-
**Database support**: Depends on *either* PostgreSQL or Django 3.1+, or both for a sane JSONField implementation. If you're on Postgres, you can carry on using Django 2.x but SQLite3, MySQL, Oracle, etc users will need to upgrade.
27+
This project officially supports Python 3.8+ and Django 3.2+.
28+
29+
| **Python/Django** | **2.2** |**3.2** | **4.0** | **4.1** | **4.2** |
30+
|-------------------|---------|--------|---------|---------|---------|
31+
| 3.5 | Y | N | N | N | N/A |
32+
| 3.6 | Y | Y | N | N | N/A |
33+
| 3.7 | Y | Y | N | N | N/A |
34+
| 3.8 | Y | Y | Y | Y | N/A |
35+
| 3.9 | Y | Y | Y | Y | N/A |
36+
| 3.10 | N | Y | Y | Y | N/A |
37+
| 3.11 | N | N | N | Y | Y
2538

39+
* Python 3.11 only works with Django 4.1.3+
2640

2741

2842
## Installation:

pyproject.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "django-multifactor"
3-
version = "0.5.4"
3+
version = "0.5.5"
44
description = "Drop-in multifactor authentication subsystem for Django."
55
authors = ["Oli Warner <[email protected]>"]
66
repository = "https://github.com/oliwarner/django-multifactor"
@@ -18,6 +18,7 @@ classifiers = [
1818
"Framework :: Django :: 3.2",
1919
"Framework :: Django :: 4.0",
2020
"Framework :: Django :: 4.1",
21+
"Framework :: Django :: 4.2",
2122
"Intended Audience :: Developers",
2223
"Operating System :: OS Independent",
2324
"Programming Language :: Python",
@@ -27,6 +28,7 @@ classifiers = [
2728
"Programming Language :: Python :: 3.8",
2829
"Programming Language :: Python :: 3.9",
2930
"Programming Language :: Python :: 3.10",
31+
"Programming Language :: Python :: 3.11",
3032
"Topic :: Software Development :: Libraries :: Python Modules",
3133
]
3234
packages = [
@@ -38,8 +40,8 @@ include = [
3840
]
3941

4042
[tool.poetry.dependencies]
41-
python = "^3.5, ^3.6 || ^3.7 || ^3.8 || ^3.9 || ^3.10"
42-
django = "> 2.2, <4.2"
43+
python = "^3.5, ^3.6 || ^3.7 || ^3.8 || ^3.9 || ^3.10 || ^3.11"
44+
django = "> 2.2, <5"
4345
pyotp = '^2.6'
4446
python-u2flib-server = '^5.0'
4547
python-jose = '^3'

testsite/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
pip
2-
Django<=4.2
2+
Django<=5
33
django-decorator-include
44
-e ../

0 commit comments

Comments
 (0)