pythoncmd=python3
suite=conformance
runapi=containers
+reinstall=0
while test -n "$1" ; do
arg="$1"
devcwl=1
shift
;;
+ --reinstall)
+ reinstall=1
+ shift
+ ;;
--pythoncmd)
pythoncmd=$2
shift ; shift
export PYCMD=$pythoncmd
-if test $config = dev ; then
+if test $config = dev -o $reinstall = 1; then
+ cd /usr/src/arvados/sdk/python
+ \$PYCMD setup.py sdist
+ pip_install \$(ls -r dist/arvados-python-client-*.tar.gz | head -n1)
+
cd /usr/src/arvados/sdk/cwl
\$PYCMD setup.py sdist
pip_install \$(ls -r dist/arvados-cwl-runner-*.tar.gz | head -n1)
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