From 571ddb5444e22a32093aae73e964cbeeb6a1e11f Mon Sep 17 00:00:00 2001 From: dvora-h <67596500+dvora-h@users.noreply.github.com> Date: Mon, 11 Apr 2022 15:11:27 +0300 Subject: [PATCH 1/2] add deprecation warning --- rejson/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) 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) From 8d92797306165dbd8a7533024992f1b46d678531 Mon Sep 17 00:00:00 2001 From: dvora-h <67596500+dvora-h@users.noreply.github.com> Date: Mon, 11 Apr 2022 15:12:41 +0300 Subject: [PATCH 2/2] change development status and update version --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]