diff options
author | Aarni Koskela <akx@iki.fi> | 2022-09-28 14:09:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 14:09:32 +0300 |
commit | 027abe524acd0aec24e92ea7eef328f983d5278c (patch) | |
tree | 7a8c6191b51b74ea829e6ca99c5c170cae5a2982 /README.md | |
parent | 947b8e8595e3aff4aeb3eb3ebbe56b86fb5e76fb (diff) | |
download | redis-py-027abe524acd0aec24e92ea7eef328f983d5278c.tar.gz |
Support Hiredis >= 1.x only (remove `packaging` dependency) (#2385)
* Only set HIREDIS_AVAILABLE if Hiredis is not 0.x
* Remove compatibility code for old Hiredis versions
* Move packaging dependency to dev only
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -27,7 +27,8 @@ To install redis-py, simply: $ pip install redis ``` -For faster performance, install redis with hiredis support, this provides a compiled response parser, and *for most cases* requires zero code changes. By default, if hiredis is available, redis-py will attempt to use it for response parsing. +For faster performance, install redis with hiredis support, this provides a compiled response parser, and *for most cases* requires zero code changes. +By default, if hiredis >= 1.0 is available, redis-py will attempt to use it for response parsing. ``` bash $ pip install redis[hiredis] |