Skip to content

Commit 76f6705

Browse files
committed
feat: drop django 2.2, 3.0, and 3.1 support
1 parent 3a64ac1 commit 76f6705

File tree

4 files changed

+4
-13
lines changed

4 files changed

+4
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
### Removed
1818
- Python 3.5 and 3.6 support
19+
- Django 2.2, 3.0, and 3.1 support
1920
- Admin Monkey Patching
2021

2122
The Admin UI will not longer be automatically patched. The `TwoFactorSiteAdmin` will need to be explicitly

docs/requirements.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ Requirements
33

44
Django
55
------
6-
Modern Django versions are supported. Currently this list includes Django 2.2,
7-
3.0, 3.1, 3.2, and 4.0.
6+
Supported Django versions are supported. Currently this list includes Django 3.2, and 4.0.
87

98
Python
109
------

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
license='MIT',
1313
packages=find_packages(exclude=('example', 'tests')),
1414
install_requires=[
15-
'Django>=2.2',
15+
'Django>=3.2',
1616
'django_otp>=0.8.0',
1717
'qrcode>=4.0.0,<7.99',
1818
'django-phonenumber-field>=1.1.0,<7',
@@ -30,9 +30,6 @@
3030
'Development Status :: 5 - Production/Stable',
3131
'Environment :: Web Environment',
3232
'Framework :: Django',
33-
'Framework :: Django :: 2.2',
34-
'Framework :: Django :: 3.0',
35-
'Framework :: Django :: 3.1',
3633
'Framework :: Django :: 3.2',
3734
'Framework :: Django :: 4.0',
3835
'Intended Audience :: Developers',
@@ -41,6 +38,7 @@
4138
'Programming Language :: Python',
4239
'Programming Language :: Python :: 3',
4340
'Programming Language :: Python :: 3 :: Only',
41+
'Programming Language :: Python :: 3.6',
4442
'Programming Language :: Python :: 3.7',
4543
'Programming Language :: Python :: 3.8',
4644
'Programming Language :: Python :: 3.9',

tox.ini

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
; Minimum version of Tox
33
minversion = 1.8
44
envlist =
5-
py{37,38,39}-dj22-{normal,yubikey,custom_user},
6-
py{37,38,39}-dj31-{normal,yubikey,custom_user},
75
py{37,38,39,310}-dj32-{normal,yubikey,custom_user},
86
py{38,39,310}-dj40-{normal,yubikey,custom_user}
97
py{38,39,310}-djmain-{normal,yubikey,custom_user}
@@ -17,9 +15,6 @@ python =
1715

1816
[gh-actions:env]
1917
DJANGO =
20-
2.2: dj22
21-
3.0: dj30
22-
3.1: dj31
2318
3.2: dj32
2419
4.0: dj40
2520
main: djmain
@@ -39,8 +34,6 @@ basepython =
3934
py39: python3.9
4035
py310: python3.10
4136
deps =
42-
dj22: Django<2.3
43-
dj31: Django<3.2
4437
dj32: Django<4.0
4538
dj40: Django<4.1
4639
djmain: https://github.com/django/django/archive/main.tar.gz

0 commit comments

Comments
 (0)