From def589d362cfd42992841fa0cfe0a1aa8fc38794 Mon Sep 17 00:00:00 2001 From: Petya Slavova Date: Tue, 13 May 2025 12:32:22 +0300 Subject: [PATCH 1/2] Fix Readme formatting for Installation section --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 177f78feeb..1c5e5774a1 100644 --- a/README.md +++ b/README.md @@ -34,13 +34,14 @@ The Python interface to the Redis key-value store. Start a redis via docker (for Redis versions >= 8.0): ``` bash -docker run -p 6379:6379 -it redis:latest +$ docker run -p 6379:6379 -it redis:latest ``` Start a redis via docker (for Redis versions < 8.0): ``` bash -docker run -p 6379:6379 -it redis/redis-stack:latest +$ docker run -p 6379:6379 -it redis/redis-stack:latest +``` To install redis-py, simply: From 3331a424c1e65e1e8b6f025bd6a2a90a672e4a63 Mon Sep 17 00:00:00 2001 From: Petya Slavova Date: Tue, 13 May 2025 13:21:33 +0300 Subject: [PATCH 2/2] Adding comment for the lib version in __init__.py (to force ci pipeline execution) --- redis/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redis/__init__.py b/redis/__init__.py index cd3ee12adb..d4000c6701 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -45,6 +45,8 @@ def int_or_str(value): return value +# This is the version of redis-py that is being used +# for building and installing the lib. __version__ = "6.1.0" VERSION = tuple(map(int_or_str, __version__.split(".")))