Skip to content

Commit 565677f

Browse files
authored
Merge pull request #179 Fix six require
2 parents 199a9f7 + 5700b16 commit 565677f

File tree

3 files changed

+13
-8
lines changed

3 files changed

+13
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
* Add six package to requirements
12
* Fixed error while passing date parameter in execute
23

34
## 2.12.2 ##

requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
grpcio==1.39.0
1+
aiohttp==3.7.4
2+
enum-compat>=0.0.1
3+
grpcio>=1.5.0
24
packaging
35
protobuf>3.13.0,<5.0.0
46
pytest==6.2.4
5-
aiohttp==3.7.4
7+
six<2

setup.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
with open("README.md", "r") as r:
55
long_description = r.read()
66

7+
with open("requirements.txt") as r:
8+
requirements = []
9+
for line in r.readlines():
10+
line = line.strip()
11+
if line != "":
12+
requirements.append(line)
13+
714
setuptools.setup(
815
name="ydb",
916
version="2.12.2", # AUTOVERSION
@@ -23,12 +30,7 @@
2330
"Programming Language :: Python :: 3",
2431
"Programming Language :: Python :: 3.6",
2532
],
26-
install_requires=(
27-
"protobuf>=3.13.0",
28-
"grpcio>=1.5.0",
29-
"enum-compat>=0.0.1",
30-
"packaging"
31-
),
33+
install_requires=requirements, # requirements.txt
3234
options={"bdist_wheel": {"universal": True}},
3335
extras_require={
3436
"yc": ["yandexcloud", ],

0 commit comments

Comments
 (0)