Skip to content

Commit

Permalink
pin redis-py to 3.x until 4.x breaking changes can be addressed (jazz…
Browse files Browse the repository at this point in the history
  • Loading branch information
terencehonles authored Nov 8, 2021
1 parent 9cd2bbe commit ef945d6
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions changelog.d/570.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pin redis-py to 3.x until 4.x breaking changes can be addressed.
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit ef945d6

Please sign in to comment.