Skip to content

Commit

Permalink
Added testing against latest stack image (#3338)
Browse files Browse the repository at this point in the history
* Added testing against latest stack image

* Updated to specific image

* Updated package version

* Restrict hiredis version to 2.x

* Pinend hiredis version to ~= 2.0

* Updated hiredis version dependency
  • Loading branch information
vladvildanov authored Jul 30, 2024
1 parent 6a2a636 commit 89a2898
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ permissions:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
REDIS_IMAGE: redis:7.4-rc2
REDIS_STACK_IMAGE: redis/redis-stack-server:7.4.0-rc2
REDIS_STACK_IMAGE: redis/redis-stack-server:7.4.0-v0

jobs:
dependency-audit:
Expand Down Expand Up @@ -80,7 +80,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
Expand Down Expand Up @@ -136,7 +136,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
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ services:
- all

redis-stack:
image: ${REDIS_STACK_IMAGE:-redis/redis-stack-server:edge}
image: ${REDIS_STACK_IMAGE:-redis/redis-stack-server:latest}
container_name: redis-stack
ports:
- 6479:6379
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
long_description_content_type="text/markdown",
keywords=["Redis", "key-value store", "database"],
license="MIT",
version="5.0.7",
version="5.0.8",
packages=find_packages(
include=[
"redis",
Expand Down Expand Up @@ -58,7 +58,7 @@
"Programming Language :: Python :: Implementation :: PyPy",
],
extras_require={
"hiredis": ["hiredis>=1.0.0"],
"hiredis": ["hiredis>1.0.0"],
"ocsp": ["cryptography>=36.0.1", "pyopenssl==20.0.1", "requests>=2.26.0"],
},
)

0 comments on commit 89a2898

Please sign in to comment.