Skip to content

Commit 6275c28

Browse files
authored
Updated package version (#3388)
* Updated package version * Restrict hiredis version * Remove space * Restrict hiredis version in integration tests
1 parent 4f0fdb7 commit 6275c28

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
pip install -r requirements.txt
8484
pip install -r dev_requirements.txt
8585
if [ "${{matrix.connection-type}}" == "hiredis" ]; then
86-
pip install hiredis
86+
pip install "hiredis>=2.0.0,<3.0.0"
8787
fi
8888
invoke devenv
8989
sleep 10 # time to settle
@@ -135,7 +135,7 @@ jobs:
135135
pip install -r requirements.txt
136136
pip install -r dev_requirements.txt
137137
if [ "${{matrix.connection-type}}" == "hiredis" ]; then
138-
pip install hiredis
138+
pip install "hiredis>=2.0.0,<3.0.0"
139139
fi
140140
invoke devenv
141141
sleep 10 # time to settle

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
long_description_content_type="text/markdown",
99
keywords=["Redis", "key-value store", "database"],
1010
license="MIT",
11-
version="5.1.0b7",
11+
version="5.1.0",
1212
packages=find_packages(
1313
include=[
1414
"redis",
@@ -56,7 +56,7 @@
5656
"Programming Language :: Python :: Implementation :: PyPy",
5757
],
5858
extras_require={
59-
"hiredis": ["hiredis>=1.0.0"],
59+
"hiredis": ["hiredis>=1.0.0,<3.0.0"],
6060
"ocsp": ["cryptography>=36.0.1", "pyopenssl==23.2.1", "requests>=2.31.0"],
6161
},
6262
)

0 commit comments

Comments
 (0)