Skip to content

Commit

Permalink
add support for django 5.0 (#91)
Browse files Browse the repository at this point in the history
* Add Django 5.0 to the list of supported Django versions

fixes #90
  • Loading branch information
jaredlockhart committed Jan 9, 2024
1 parent 886ac45 commit 2d2051c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/constraints/django-5.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Django>=5.0,<5.1
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ envlist =
py311-docs
py{37,38,39,310}-dj32
py{38,39,310,311}-dj{40,41,42}
py{310,311}-dj{50}
py{37,38,39,310,311}-fl{20,21,22}
py{37,38,39,310,311}-s{21,22}

Expand All @@ -25,21 +26,22 @@ setenv =
PYTHONPATH = {toxinidir}
deps =
-rtests/requirements/default.txt
dj{32,40,41,42}: -rtests/requirements/django.txt
dj{32,40,41,42,50}: -rtests/requirements/django.txt
fl{20,21,22}: -rtests/requirements/flask.txt
s{21,22}: -rtests/requirements/sanic.txt
dj32: -ctests/constraints/django-3.2.txt
dj40: -ctests/constraints/django-4.0.txt
dj41: -ctests/constraints/django-4.1.txt
dj42: -ctests/constraints/django-4.2.txt
dj50: -ctests/constraints/django-5.0.txt
fl20: -ctests/constraints/flask-2.0.txt
fl21: -ctests/constraints/flask-2.1.txt
fl22: -ctests/constraints/flask-2.2.txt
s21: -ctests/constraints/sanic-21.txt
s22: -ctests/constraints/sanic-22.txt
commands =
python --version
dj{32,40,41,42}: pytest --no-migrations -o DJANGO_SETTINGS_MODULE=tests.django.settings -o django_find_project=false {posargs:tests/core/ tests/django}
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}
fl{20,21,22}: pytest {posargs:tests/core/ tests/flask/}
s{21,22}: pytest {posargs:tests/core/ tests/sanic/}

Expand Down

0 comments on commit 2d2051c

Please sign in to comment.