Skip to content

Commit 1ce0bab

Browse files
authored
Update Django and Python in CI
1 parent b9daafd commit 1ce0bab

6 files changed

Lines changed: 13 additions & 13 deletions

File tree

tests/constraints/django-4.0.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/constraints/django-4.1.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/constraints/django-5.0.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/constraints/django-5.1.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Django>=5.1,<5.2

tests/constraints/django-5.2.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Django>=5.2,<5.3

tox.ini

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ envlist =
55
py38-lint
66
py311-docs
77
py{38,39,310}-dj32
8-
py{38,39,310,311}-dj{40,41,42}
9-
py{310,311,312}-dj{50}
10-
py{38,39,310,311,312}-fa100
11-
py{38,39,310,311}-fl{20,21,22,23,30}
12-
py{38,39,310,311}-s{21,22,23}
8+
py{38,39,310,311,312}-dj42
9+
py{310,311,312,313}-dj{51,52}
10+
py{38,39,310,311,312,313}-fa100
11+
py{38,39,310,311}-fl{20,21,22}
12+
py{38,39,310,311,312}-fl{23,30}
13+
py{38,39,310,311}-s{21,22}
14+
py{38,39,310,311,312,313}-s23
1315

1416
[testenv]
1517
usedevelop = true
@@ -19,15 +21,14 @@ setenv =
1921
PYTHONPATH = {toxinidir}
2022
deps =
2123
-rtests/requirements/default.txt
22-
dj{32,40,41,42,50}: -rtests/requirements/django.txt
24+
dj{32,42,51,52}: -rtests/requirements/django.txt
2325
fa100: -rtests/requirements/fastapi.txt
2426
fl{20,21,22,23,30}: -rtests/requirements/flask.txt
2527
s{21,22,23}: -rtests/requirements/sanic.txt
2628
dj32: -ctests/constraints/django-3.2.txt
27-
dj40: -ctests/constraints/django-4.0.txt
28-
dj41: -ctests/constraints/django-4.1.txt
2929
dj42: -ctests/constraints/django-4.2.txt
30-
dj50: -ctests/constraints/django-5.0.txt
30+
dj51: -ctests/constraints/django-5.1.txt
31+
dj52: -ctests/constraints/django-5.2.txt
3132
fa100: -ctests/constraints/fastapi-0.100.txt
3233
fl20: -ctests/constraints/flask-2.0.txt
3334
fl21: -ctests/constraints/flask-2.1.txt
@@ -39,7 +40,7 @@ deps =
3940
s23: -ctests/constraints/sanic-23.txt
4041
commands =
4142
python --version
42-
dj{32,40,41,42,50}: pytest --no-migrations -o DJANGO_SETTINGS_MODULE=tests.django.settings -o django_find_project=false {posargs:tests/core/ tests/django}
43+
dj{32,42,51,52}: pytest --no-migrations -o DJANGO_SETTINGS_MODULE=tests.django.settings -o django_find_project=false {posargs:tests/core/ tests/django}
4344
fa{100}: pytest {posargs: tests/core/ tests/fastapi/}
4445
fl{20,21,22,23,30}: pytest {posargs:tests/core/ tests/flask/}
4546
s{21,22,23}: pytest {posargs:tests/core/ tests/sanic/}

0 commit comments

Comments
 (0)