From d85f700cadfec590b4462ccd5159ba6e314b9556 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Sun, 29 May 2022 14:10:30 +0300 Subject: [PATCH] latest redis-py and a newer redis binary when cloning --- docs/intro_quick_start.rst | 6 +++--- install_redis.sh | 2 +- requirements-dev.txt | 2 +- requirements.txt | 2 +- setup.py | 2 ++ 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/docs/intro_quick_start.rst b/docs/intro_quick_start.rst index dd04b1cf..2c7efa5d 100644 --- a/docs/intro_quick_start.rst +++ b/docs/intro_quick_start.rst @@ -35,11 +35,11 @@ Quick Start **Recommended:** -* `redis`_ >= 2.8 +* `redis`_ >= 4.0 -* `redis-py`_ >= 3.0.0 +* `redis-py`_ >= 4.3.0 -* `python`_ >= 2.7 +* `python`_ >= 3.6 1. Install `redis`_. You can use ``install_redis.sh`` to install a local copy diff --git a/install_redis.sh b/install_redis.sh index a949ea2c..87c0cf56 100755 --- a/install_redis.sh +++ b/install_redis.sh @@ -1,6 +1,6 @@ #!/bin/bash -: ${REDIS_VERSION:="4.0.11"} +: ${REDIS_VERSION:="7.0.0"} test -d redis || git clone https://github.com/antirez/redis git -C redis checkout $REDIS_VERSION diff --git a/requirements-dev.txt b/requirements-dev.txt index f2f298fd..10dda58e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,4 @@ -hiredis==0.2.0 +hiredis==2.0.0 django-nose==1.4.4 nose==1.3.6 msgpack-python==0.4.6 diff --git a/requirements.txt b/requirements.txt index fb8f42f8..d6199ced 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -redis<4.0 +redis<=4.3.2 diff --git a/setup.py b/setup.py index f1f9c70a..0bae864b 100644 --- a/setup.py +++ b/setup.py @@ -15,6 +15,8 @@ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Topic :: Software Development :: Libraries",