Skip to content

Commit c47a634

Browse files
committed
fix #17 upgrade support for redis-py 3.0.X
1 parent 5e1ea9a commit c47a634

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: rejson/client.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import six
22
import json
33
from redis import StrictRedis
4-
from redis.client import BasePipeline
4+
from redis.client import Pipeline
55
from redis._compat import (long, nativestr)
66
from .path import Path
77

@@ -257,5 +257,5 @@ def pipeline(self, transaction=True, shard_hint=None):
257257
p.setDecoder(self._decoder)
258258
return p
259259

260-
class Pipeline(BasePipeline, Client):
260+
class Pipeline(Pipeline, Client):
261261
"Pipeline for ReJSONClient"

Diff for: requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
hiredis==0.2.0
2-
redis==2.10.5
2+
redis>=3.0.0
33
six>=1.10

0 commit comments

Comments
 (0)