Pin networkx because 2.2 is the last version to support Python 2.7 and 3.4
[arvados.git] / sdk / cwl / setup.py
index 22c49a01bf4ed31592db013ac5f2cb49c4e789cd..1052fb0d76606ddf160c685830a88649b7c40acf 100644 (file)
@@ -39,9 +39,13 @@ setup(name='arvados-cwl-runner',
           'ruamel.yaml >=0.15.54, <=0.15.77',
           'arvados-python-client>=1.3.0.20190205182514',
           'setuptools',
-          'ciso8601 >=1.0.6, <2.0.0',
-          'subprocess32>=3.5.1',
+          'ciso8601 >= 2.0.0',
+          'networkx < 2.3'
       ],
+      extras_require={
+          ':os.name=="posix" and python_version<"3"': ['subprocess32 >= 3.5.1'],
+          ':python_version<"3"': ['pytz'],
+      },
       data_files=[
           ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']),
       ],