Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add deprecation warning and update version #162

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "redisgraph"
version = "2.4.4"
version = "2.4.5"
description = "RedisGraph Python Client"
authors = ["Redis <oss@redis.com>"]
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'
]

[tool.poetry.urls]
6 changes: 6 additions & 0 deletions redisgraph/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
from warnings import warn
from .node import Node # noqa
from .edge import Edge # noqa
from .graph import Graph # noqa
from .path import Path # noqa

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)