diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 390b723..06ad2e1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,8 +15,8 @@ jobs: fail-fast: false matrix: python-version: - - 3.8 - - 3.9 + - "3.8" + - "3.9" - "3.10" - "3.11" - "3.12" diff --git a/setup.py b/setup.py index 10e698c..a368709 100644 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ include_package_data=True, python_requires=">=3.8", install_requires=[ - "redis>=4.5.3", + "redis>=4.6", "msgpack~=1.0", "asgiref>=3.2.10,<4", "channels", diff --git a/tox.ini b/tox.ini index 4ba5346..d7486f2 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,7 @@ [tox] envlist = - py{38,39,310,311,312} + py{38,39,310,311,312}-ch{30,40,main}-redis50 + py311-chmain-redis{45,46,50,main} qa [testenv] @@ -8,6 +9,13 @@ usedevelop = true extras = tests commands = pytest -v {posargs} +deps = + ch30: channels>=3.0,<3.1 + ch40: channels>=4.0,<4.1 + chmain: https://github.com/django/channels/archive/main.tar.gz + redis46: redis>=4.6,<4.7 + redis50: redis>=5.0,<5.1 + redismain: https://github.com/redis/redis-py/archive/master.tar.gz [testenv:qa] skip_install=true