diff --git a/pyproject.toml b/pyproject.toml index caa5520..7a40947 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redisearch" -version = "2.1.1" +version = "2.1.2" description = "RedisSearch Python Client" authors = ["RedisLabs "] license = "BSD-3-Clause" @@ -16,7 +16,7 @@ classifiers = [ 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'License :: OSI Approved :: BSD License', - 'Development Status :: 5 - Production/Stable' + 'Development Status :: 7 - Inactive' ] keywords = ["Redis Search Extension"] diff --git a/redisearch/__init__.py b/redisearch/__init__.py index 473af6c..af2c450 100644 --- a/redisearch/__init__.py +++ b/redisearch/__init__.py @@ -1,3 +1,4 @@ +from warnings import warn from .result import Result from .document import Document from .client import Client, NumericField, TextField, GeoField, TagField, IndexDefinition @@ -6,3 +7,6 @@ from .auto_complete import AutoCompleter, Suggestion +warn("Please upgrade to redis-py (https://pypi.org/project/redis/) " +"This library is deprecated, and all features have been merged into redis-py.", +DeprecationWarning, stacklevel=2)