dvc: fix locks in Python2.7/Windows

Return to zc.lockfile lock in Python 2, NFS is not supported there
anyway since sqlite3 doesn't support URIs.
This commit is contained in:
Alexander Schepanovski
2019-09-11 14:17:21 +07:00
parent f29f07ca88
commit d9d85f3cb0
3 changed files with 106 additions and 46 deletions
+5 -1
View File
@@ -138,7 +138,11 @@ setup(
"ssh_gssapi": ssh_gssapi,
"hdfs": hdfs,
# NOTE: https://github.com/inveniosoftware/troubleshooting/issues/1
":python_version=='2.7'": ["futures", "pathlib2", "flufl.lock==2.4.1"],
":python_version=='2.7'": [
"futures",
"pathlib2",
"zc.lockfile>=1.2.1",
],
":python_version>='3.0'": ["flufl.lock>=3.2"],
"tests": tests_requirements,
},