Skip to content

Commit 500bb82

Browse files
committed
Depend on hiredis < 3.0.0
hiredis 3.0.0 breaks compatibility with valkey-py. This is just a temporary fix until redis#32 is ready. Signed-off-by: Salvatore Mesoraca <[email protected]>
1 parent 2b86482 commit 500bb82

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
pip install -r requirements.txt
7676
pip install -r dev_requirements.txt
7777
if [ "${{matrix.connection-type}}" == "hiredis" ]; then
78-
pip install hiredis
78+
pip install "hiredis<3.0.0"
7979
fi
8080
invoke devenv
8181
sleep 10 # time to settle
@@ -123,7 +123,7 @@ jobs:
123123
pip install -r requirements.txt
124124
pip install -r dev_requirements.txt
125125
if [ "${{matrix.connection-type}}" == "hiredis" ]; then
126-
pip install hiredis
126+
pip install "hiredis<3.0.0"
127127
fi
128128
invoke devenv
129129
sleep 10 # time to settle

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"Programming Language :: Python :: Implementation :: PyPy",
5656
],
5757
extras_require={
58-
"hiredis": ["hiredis>=1.0.0"],
58+
"hiredis": ["hiredis >=1.0.0, <3.0.0"],
5959
"ocsp": ["cryptography>=36.0.1", "pyopenssl==20.0.1", "requests>=2.26.0"],
6060
},
6161
)

0 commit comments

Comments
 (0)