dvc: networkx 2.3 doesn't support py2 anymore (#2250)

Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
Ruslan Kuprieiev
2019-07-10 05:58:23 +03:00
committed by GitHub
parent 8e8dc921a3
commit 99065bd42e
+5 -1
View File
@@ -43,7 +43,6 @@ install_requires = [
"future>=0.16.0",
"colorama>=0.3.9",
"configobj>=5.0.6",
"networkx>=2.1",
"gitpython>=2.1.8",
"setuptools>=34.0.0",
"nanotime>=0.5.2",
@@ -66,6 +65,11 @@ install_requires = [
"win-unicode-console>=0.5; sys_platform == 'win32'",
]
if sys.version_info[0] == 2:
install_requires.append("networkx>=2.1,<2.3")
else:
install_requires.append("networkx>=2.1")
# Extra dependencies for remote integrations
gs = ["google-cloud-storage==1.13.0"]
s3 = ["boto3==1.9.115"]