Skip to content

Commit 17705e6

Browse files
committed
Add support for Django 4.1
1 parent aefc204 commit 17705e6

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

.github/workflows/run_python_unit_tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ jobs:
1919
strategy:
2020
matrix:
2121
include:
22+
# Django 4.0
23+
- {tox_env: "py3-django41", python: "3.10"}
24+
- {tox_env: "py3-django41", python: "3.9"}
25+
- {tox_env: "py3-django41", python: "3.8"}
26+
2227
# Django 4.0
2328
- {tox_env: "py3-django40", python: "3.10"}
2429
- {tox_env: "py3-django40", python: "3.9"}

pytest.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
[pytest]
22
DJANGO_SETTINGS_MODULE = py_tests.django_test_project.settings
33
django_find_project = false
4-
filterwarnings =
5-
ignore:The default value of USE_TZ will change from False to True in Django 5.0.:PendingDeprecationWarning

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
'Framework :: Django :: 3.1',
2828
'Framework :: Django :: 3.2',
2929
'Framework :: Django :: 4.0',
30+
'Framework :: Django :: 4.1',
3031
'Intended Audience :: Developers',
3132
'License :: OSI Approved :: BSD License',
3233
'Operating System :: OS Independent',

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[tox]
2-
envlist = py3-django{22,30,31,32,40}
2+
envlist = py3-django{22,30,31,32,40,41}
33

44

5-
[testenv:py3-django{22,30,31,32,40}]
5+
[testenv:py3-django{22,30,31,32,40,41}]
66
commands = python3 -B -m pytest {posargs} -- py_tests/
77
deps =
88
pytest>=6.0.0,<6.2.0; python_version < '3.6'
@@ -17,6 +17,7 @@ deps =
1717
django31: Django>=3.1,<3.2
1818
django32: Django>=3.2,<4.0
1919
django40: Django>=4.0,<4.1
20+
django41: Django>=4.1,<4.2
2021

2122

2223
[testenv:flake8]

0 commit comments

Comments
 (0)