From 2b9b7518a60a71315a1504bf96b3182122bec702 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 7 Mar 2016 14:28:10 -0500 Subject: [PATCH] 8345: Uninstall old llfuse from reused virtualenv, if necessary. --- jenkins/run-tests.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh index 1289095..a17d610 100755 --- a/jenkins/run-tests.sh +++ b/jenkins/run-tests.sh @@ -425,6 +425,12 @@ pip freeze 2>/dev/null | egrep ^apache-libcloud==$LIBCLOUD_PIN \ || pip install --pre --ignore-installed https://github.com/curoverse/libcloud/archive/apache-libcloud-$LIBCLOUD_PIN.zip >/dev/null \ || fatal "pip install apache-libcloud failed" +# Uninstall old llfuse, because services/fuse "pip install" won't +# upgrade it by default. +if pip freeze | egrep '^llfuse==0\.41\.'; then + yes | pip uninstall 'llfuse<0.42' +fi + # Deactivate Python 2 virtualenv deactivate -- 2.30.2