From 6e657bcafd371536e9ee9c399e199a9e95559f0b Mon Sep 17 00:00:00 2001 From: dvora-h <67596500+dvora-h@users.noreply.github.com> Date: Mon, 11 Apr 2022 14:47:32 +0300 Subject: [PATCH 1/2] add deprecation warning --- redistimeseries/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/redistimeseries/__init__.py b/redistimeseries/__init__.py index 8dee4bf..13c9477 100644 --- a/redistimeseries/__init__.py +++ b/redistimeseries/__init__.py @@ -1 +1,5 @@ from ._version import __version__ +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 d88a04db81916e6af868d24172c1d861fd863397 Mon Sep 17 00:00:00 2001 From: dvora-h <67596500+dvora-h@users.noreply.github.com> Date: Mon, 11 Apr 2022 14:48:27 +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 f701e0c..e21292b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "redistimeseries" -version = "1.4.4" +version = "1.4.5" description = "RedisTimeSeries 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 TimeSeries Extension"]