Skip to content

Commit

Permalink
setup.cfg: Block redis-py 4.0.0 and 4.0.1 but not >=4.0.2 (#542, #570)
Browse files Browse the repository at this point in the history
Upstream commit redis/redis-py@d2b2333
that is included with redis-py >=4.0.2 adds method Redis.sentinel_masters
by making class Redis inherit from SentinelCommands, where the related code resides.

Related to issue #542, follow-up to pull request #570
This reverts (parts of) commit ef945d6.
  • Loading branch information
hartwork committed Dec 9, 2021
1 parent c7c3ab3 commit 00e0d13
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/542.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Block use with broken redis-py 4.0.0 and 4.0.1
1 change: 1 addition & 0 deletions changelog.d/576.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Unblock redis-py >=4.0.2
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,<4
redis>=3,!=4.0.0,!=4.0.1

[options.extras_require]
hiredis = redis[hiredis]>=3,<4
hiredis = redis[hiredis]>=3,!=4.0.0,!=4.0.1

[coverage:run]
omit =
Expand Down

0 comments on commit 00e0d13

Please sign in to comment.