diff --git a/pyproject.toml b/pyproject.toml index 15bca7b..53c6a65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "rejson" -version = "0.5.6" +version = "0.5.7" description = "RedisJSON Python Client" authors = ["RedisLabs "] license = "BSD-3-Clause" @@ -17,7 +17,7 @@ classifiers = [ 'Programming Language :: Python :: 3.10', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', - 'Development Status :: 5 - Production/Stable' + 'Development Status :: 7 - Inactive' ] keywords = ["Redis JSON Extension"] diff --git a/rejson/__init__.py b/rejson/__init__.py index 9e75027..45ee68d 100644 --- a/rejson/__init__.py +++ b/rejson/__init__.py @@ -123,3 +123,7 @@ def decode(self, obj): __version__ = "0.5.4" from .client import Client from .path import Path +from warnings import warn +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)