Skip to content
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
2 changes: 2 additions & 0 deletions tests/constraints/sanic-23.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Sanic>=23,<24
sanic-redis<0.5
1 change: 1 addition & 0 deletions tests/requirements/sanic.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Sanic
sanic_redis
sanic-testing
uvloop>=0.14.0rc1
setuptools
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ envlist =
py{310,311,312}-dj{50}
py{38,39,310,311,312}-fa100
py{38,39,310,311}-fl{20,21,22,23,30}
py{38,39,310,311}-s{21,22}
py{38,39,310,311}-s{21,22,23}

[testenv]
usedevelop = true
Expand All @@ -22,7 +22,7 @@ deps =
dj{32,40,41,42,50}: -rtests/requirements/django.txt
fa100: -rtests/requirements/fastapi.txt
fl{20,21,22,23,30}: -rtests/requirements/flask.txt
s{21,22}: -rtests/requirements/sanic.txt
s{21,22,23}: -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
Expand All @@ -36,12 +36,13 @@ deps =
fl30: -ctests/constraints/flask-3.0.txt
s21: -ctests/constraints/sanic-21.txt
s22: -ctests/constraints/sanic-22.txt
s23: -ctests/constraints/sanic-23.txt
commands =
python --version
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}
fa{100}: pytest {posargs: tests/core/ tests/fastapi/}
fl{20,21,22,23,30}: pytest {posargs:tests/core/ tests/flask/}
s{21,22}: pytest {posargs:tests/core/ tests/sanic/}
s{21,22,23}: pytest {posargs:tests/core/ tests/sanic/}

[testenv:py311-docs]
basepython = python3.11
Expand Down