Add package versions to required dependencies
Add specific package versions for required dependencies:
redis==3.5.3 and hiredis==2.0.0.
The reason for adding specific package versions is that sdlpy needs
redis 'compat' module but this module has been deprecated in newer
redis client 4.x.y versions and hence sdlpy is not compatible with
newer redis client versions.
Issue-Id: RIC-859
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: Ie3492314c82c5ed99f7d55db17c8161d41f6ac40
diff --git a/docs/release-notes.rst b/docs/release-notes.rst
index f5ad8c2..fc75037 100644
--- a/docs/release-notes.rst
+++ b/docs/release-notes.rst
@@ -33,6 +33,11 @@
Version history
---------------
+[3.0.1] - 2021-11-18
+
+* Add specific package versions for required dependencies: redis==3.5.3 and
+* hiredis==2.0.0. Package ricsdl is not compatible with new redis 4.x.y versions.
+
[3.0.0] - 2021-06-10
* Simplify v2.3.0 notification callback and handle_events API to return received
diff --git a/ricsdl-package/ricsdl/__init__.py b/ricsdl-package/ricsdl/__init__.py
index 165d2f4..2ffa2d3 100644
--- a/ricsdl-package/ricsdl/__init__.py
+++ b/ricsdl-package/ricsdl/__init__.py
@@ -31,7 +31,7 @@
)
-__version__ = '3.0.0'
+__version__ = '3.0.1'
__all__ = [
diff --git a/ricsdl-package/setup.py b/ricsdl-package/setup.py
index c04e8de..85eebd9 100644
--- a/ricsdl-package/setup.py
+++ b/ricsdl-package/setup.py
@@ -58,8 +58,8 @@
keywords="RIC SDL",
install_requires=[
'setuptools',
- 'redis',
- 'hiredis'
+ 'redis==3.5.3',
+ 'hiredis==2.0.0'
],
long_description=_long_descr(),
long_description_content_type="text/markdown",