diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index b10edf2fb4..4d9aee347b 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -83,7 +83,7 @@ jobs: pip install -r requirements.txt pip install -r dev_requirements.txt if [ "${{matrix.connection-type}}" == "hiredis" ]; then - pip install hiredis + pip install "hiredis>=2.0.0,<3.0.0" fi invoke devenv sleep 10 # time to settle @@ -135,7 +135,7 @@ jobs: pip install -r requirements.txt pip install -r dev_requirements.txt if [ "${{matrix.connection-type}}" == "hiredis" ]; then - pip install hiredis + pip install "hiredis>=2.0.0,<3.0.0" fi invoke devenv sleep 10 # time to settle diff --git a/setup.py b/setup.py index 39cd40b807..63140b9c1a 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ long_description_content_type="text/markdown", keywords=["Redis", "key-value store", "database"], license="MIT", - version="5.1.0b7", + version="5.1.0", packages=find_packages( include=[ "redis", @@ -56,7 +56,7 @@ "Programming Language :: Python :: Implementation :: PyPy", ], extras_require={ - "hiredis": ["hiredis>=1.0.0"], + "hiredis": ["hiredis>=1.0.0,<3.0.0"], "ocsp": ["cryptography>=36.0.1", "pyopenssl==23.2.1", "requests>=2.31.0"], }, )