From 582ca9b39f96c3816f67360cbed3a7665a8c3da8 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Tue, 18 Feb 2020 17:03:49 -0500 Subject: [PATCH] 15954: Fix install recipes in run-tests.sh. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- build/run-tests.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/build/run-tests.sh b/build/run-tests.sh index ad800dfd07..d3ae29d49f 100755 --- a/build/run-tests.sh +++ b/build/run-tests.sh @@ -648,8 +648,13 @@ install_env() { . "$VENVDIR/bin/activate" # Needed for run_test_server.py which is used by certain (non-Python) tests. - pip install --no-cache-dir PyYAML future httplib2 \ - || fatal "`pip install PyYAML future httplib2` failed" + ( + set -e + "${VENVDIR}/bin/pip" install PyYAML + "${VENV3DIR}/bin/pip" install PyYAML + cd "$WORKSPACE/sdk/python" + python setup.py install + ) || fatal "installing PyYAML and sdk/python failed" # Preinstall libcloud if using a fork; otherwise nodemanager "pip # install" won't pick it up by default. @@ -890,7 +895,7 @@ bundle_install_trylocal() { echo "(Running bundle install again, without --local.)" "$bundle" install --no-deployment fi - "$bundle" package --all + "$bundle" package ) } @@ -1100,7 +1105,7 @@ install_deps() { do_install sdk/cli do_install sdk/perl do_install sdk/python pip - do_install sdk/python pip3 + do_install sdk/python pip "${VENV3DIR}/bin/" do_install sdk/ruby do_install services/api do_install services/arv-git-httpd go -- 2.30.2