diff options
author | Darshan Rai <darshanjrai@gmail.com> | 2018-12-03 05:58:36 +0530 |
---|---|---|
committer | Selwin Ong <selwin.ong@gmail.com> | 2018-12-03 07:28:36 +0700 |
commit | ada2ad03ca959e993a86ce7259d6d96ef91c8bfa (patch) | |
tree | c5929f749c3c7a89159f36a27192836b9223c413 /requirements.txt | |
parent | 6559b0ffd75eee1dbd2bab3b75b4074479866fd8 (diff) | |
download | rq-ada2ad03ca959e993a86ce7259d6d96ef91c8bfa.tar.gz |
modify zadd calls for redis-py 3.0 (#1016)
* modify zadd calls for redis-py 3.0
redis-py 3.0 changes the zadd interface that accepts a single
mapping argument that is expected to be a dict.
https://github.com/andymccurdy/redis-py#mset-msetnx-and-zadd
* change FailedQueue.push_job_id to always push a str
redis-py 3.0 does not attempt to cast values to str and is left
to the user.
* remove Redis connection patching
Since in redis-py 3.0, Redis == StrictRedis class, we no longer
need to patch _zadd and other methods.
Ref: https://github.com/rq/rq/pull/1016#issuecomment-441010847
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt index 291ee5b..7c061a7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -redis>=2.7 +redis>=3.0 click>=3.0.0 |