Skip to content

Commit 305f164

Browse files
authored
Add deprecation warning and update version (#47)
1 parent 9164a3f commit 305f164

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "redisbloom"
3-
version = "0.4.1"
3+
version = "0.4.2"
44
description = "RedisBloom Python Client"
55
authors = ["Redis <oss@redis.com>"]
66
license = "BSD-3-Clause"
@@ -20,7 +20,7 @@ classifiers = [
2020
'Programming Language :: Python :: 3.9',
2121
'Programming Language :: Python :: 3.10',
2222
'License :: OSI Approved :: BSD License',
23-
'Development Status :: 5 - Production/Stable'
23+
'Development Status :: 7 - Inactive'
2424
]
2525
keywords = ["Redis", "Extension", "Probabilistic", "TopK", "Cuckoo-Filter", "Bloom-Filter", "Count-min-sketch"]
2626

redisbloom/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from warnings import warn
2+
warn("Please upgrade to redis-py (https://pypi.org/project/redis/) "
3+
"This library is deprecated, and all features have been merged into redis-py.",
4+
DeprecationWarning, stacklevel=2)

0 commit comments

Comments
 (0)