20531: Remove urllib3 pin, add cwltest pin.
authorPeter Amstutz <peter.amstutz@curii.com>
Thu, 1 Jun 2023 18:32:47 +0000 (14:32 -0400)
committerPeter Amstutz <peter.amstutz@curii.com>
Thu, 1 Jun 2023 18:32:47 +0000 (14:32 -0400)
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz@curii.com>

sdk/cwl/setup.py
sdk/cwl/test_with_arvbox.sh

index 62873eb8ed2ef74299f53aea242ac18902d6b22b..9af61a3d951c8b00c31de652550267a280def52b 100644 (file)
@@ -43,8 +43,7 @@ setup(name='arvados-cwl-runner',
           'networkx < 2.6',
           'msgpack==1.0.3',
           'importlib-metadata<5',
-          'setuptools>=40.3.0',
-          'urllib3 < 2'  # match constraint in cwl-utils
+          'setuptools>=40.3.0'
       ],
       data_files=[
           ('share/doc/arvados-cwl-runner', ['LICENSE-2.0.txt', 'README.rst']),
index 6823a8e2a5158dcb62d4614ff888eca81816a97b..b13f115b2aebd5d447d898faa68d4725b1d85694 100755 (executable)
@@ -104,10 +104,14 @@ fi
 
 set -x
 
+# 2.3.20230527113600 release of cwltest confirms that files exist on disk, since
+# our files are in Keep, all the tests fail.
+# We should add [optional] Arvados support to cwltest so it can access
+# Keep but for the time being just install the last working version.
 if [ "\$PYCMD" = "python3" ]; then
-    pip3 install cwltest
+    pip3 install 'cwltest<2.3.20230527113600'
 else
-    pip install cwltest
+    pip install 'cwltest<2.3.20230527113600'
 fi
 
 mkdir -p /tmp/cwltest