diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bd80095..199e44d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,20 +29,22 @@ jobs: # only test pre-release dependencies for the latest Python include: - # latest Django with pre-release redis - - django-version: '3.2' - redis-version: 'master' - python-version: '3.10' + # TODO: re-enable with https://github.com/jazzband/django-redis/issues/569 + # # latest Django with pre-release redis + # - django-version: '3.2' + # redis-version: 'master' + # python-version: '3.10' # latest redis with pre-release Django - django-version: 'main' redis-version: 'latest' python-version: '3.10' - # pre-release Django and redis - - django-version: 'main' - redis-version: 'master' - python-version: '3.10' + # TODO: re-enable with https://github.com/jazzband/django-redis/issues/569 + # # pre-release Django and redis + # - django-version: 'main' + # redis-version: 'master' + # python-version: '3.10' steps: - uses: actions/checkout@v2 diff --git a/changelog.d/570.misc b/changelog.d/570.misc new file mode 100644 index 00000000..e2a8769d --- /dev/null +++ b/changelog.d/570.misc @@ -0,0 +1 @@ +Pin redis-py to 3.x until 4.x breaking changes can be addressed. diff --git a/setup.cfg b/setup.cfg index 94590c2e..d0f51d36 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,10 +38,10 @@ packages = django_redis.compressors install_requires = Django>=2.2 - redis>=3.0.0 + redis>=3,<4 [options.extras_require] -hiredis = redis[hiredis]>=3.0.0 +hiredis = redis[hiredis]>=3,<4 [coverage:run] omit =