diff --git a/redis/__init__.py b/redis/__init__.py index 480ffd8992..dc9b11a7b8 100644 --- a/redis/__init__.py +++ b/redis/__init__.py @@ -37,7 +37,7 @@ def int_or_str(value): return value -__version__ = "4.0.1" +__version__ = "4.0.2" VERSION = tuple(map(int_or_str, __version__.split('.'))) diff --git a/redis/connection.py b/redis/connection.py index 35e9491ba5..e01742d70e 100755 --- a/redis/connection.py +++ b/redis/connection.py @@ -9,7 +9,6 @@ import os import socket import threading -import warnings import weakref from redis.exceptions import ( @@ -67,9 +66,6 @@ # only use byte buffer if hiredis supports it if not HIREDIS_SUPPORTS_BYTE_BUFFER: HIREDIS_USE_BYTE_BUFFER = False -else: - msg = "redis-py works best with hiredis. Please consider installing" - warnings.warn(msg) SYM_STAR = b'*' SYM_DOLLAR = b'$'