From ada2ad03ca959e993a86ce7259d6d96ef91c8bfa Mon Sep 17 00:00:00 2001 From: Darshan Rai Date: Mon, 3 Dec 2018 05:58:36 +0530 Subject: 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 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'requirements.txt') 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 -- cgit v1.2.1