Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for django 5.0 #91

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading