X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/66088cabf30c5291ad8894e7009d9c9af466c158..HEAD:/sdk/cwl/setup.py diff --git a/sdk/cwl/setup.py b/sdk/cwl/setup.py index 9e20efd2a3..54abb43636 100644 --- a/sdk/cwl/setup.py +++ b/sdk/cwl/setup.py @@ -3,22 +3,14 @@ # # SPDX-License-Identifier: Apache-2.0 -from __future__ import absolute_import import os import sys from setuptools import setup, find_packages -SETUP_DIR = os.path.dirname(__file__) or '.' -README = os.path.join(SETUP_DIR, 'README.rst') - import arvados_version -version = arvados_version.get_version(SETUP_DIR, "arvados_cwl") -if os.environ.get('ARVADOS_BUILDING_VERSION', False): - pysdk_dep = "=={}".format(version) -else: - # On dev releases, arvados-python-client may have a different timestamp - pysdk_dep = "<={}".format(version) +version = arvados_version.get_version() +README = os.path.join(arvados_version.SETUP_DIR, 'README.rst') setup(name='arvados-cwl-runner', version=version, @@ -36,29 +28,19 @@ setup(name='arvados-cwl-runner', # file to determine what version of cwltool and schema-salad to # build. install_requires=[ - 'cwltool==3.1.20230601100705', - 'schema-salad==8.4.20230601112322', - 'arvados-python-client{}'.format(pysdk_dep), + *arvados_version.iter_dependencies(version), + 'cwltool==3.1.20240508115724', + 'schema-salad==8.5.20240503091721', 'ciso8601 >= 2.0.0', - 'networkx < 2.6', - 'msgpack==1.0.3', - 'importlib-metadata<5', 'setuptools>=40.3.0', - - # zipp 3.16 dropped support for Python 3.7 - 'zipp<3.16.0; python_version<"3.8"' ], data_files=[ ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']), ], - python_requires=">=3.5, <4", + python_requires="~=3.8", classifiers=[ 'Programming Language :: Python :: 3', ], test_suite='tests', - tests_require=[ - 'mock>=1.0,<4', - 'subprocess32>=3.5.1', - ], zip_safe=True, )