diff --git a/tests/constraints/sanic-23.txt b/tests/constraints/sanic-23.txt new file mode 100644 index 0000000..eaa1bed --- /dev/null +++ b/tests/constraints/sanic-23.txt @@ -0,0 +1,2 @@ +Sanic>=23,<24 +sanic-redis<0.5 diff --git a/tests/requirements/sanic.txt b/tests/requirements/sanic.txt index 0800e11..339801b 100644 --- a/tests/requirements/sanic.txt +++ b/tests/requirements/sanic.txt @@ -5,3 +5,4 @@ Sanic sanic_redis sanic-testing uvloop>=0.14.0rc1 +setuptools \ No newline at end of file diff --git a/tox.ini b/tox.ini index 604c999..16d032b 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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 @@ -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