diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c6c7bda..1220adc7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Add six package to requirements * Fixed error while passing date parameter in execute ## 2.12.2 ## diff --git a/requirements.txt b/requirements.txt index dddc1b23..8ee59727 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,7 @@ -grpcio==1.39.0 +aiohttp==3.7.4 +enum-compat>=0.0.1 +grpcio>=1.5.0 packaging protobuf>3.13.0,<5.0.0 pytest==6.2.4 -aiohttp==3.7.4 +six<2 diff --git a/setup.py b/setup.py index c22f79e3..574f5a1a 100644 --- a/setup.py +++ b/setup.py @@ -4,6 +4,13 @@ with open("README.md", "r") as r: long_description = r.read() +with open("requirements.txt") as r: + requirements = [] + for line in r.readlines(): + line = line.strip() + if line != "": + requirements.append(line) + setuptools.setup( name="ydb", version="2.12.2", # AUTOVERSION @@ -23,12 +30,7 @@ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", ], - install_requires=( - "protobuf>=3.13.0", - "grpcio>=1.5.0", - "enum-compat>=0.0.1", - "packaging" - ), + install_requires=requirements, # requirements.txt options={"bdist_wheel": {"universal": True}}, extras_require={ "yc": ["yandexcloud", ],