From 614d2767436e518f212a2e5d6546f8d35be44b13 Mon Sep 17 00:00:00 2001 From: Alissa Huskey Date: Wed, 13 Nov 2019 00:45:41 -0700 Subject: [PATCH] Fix failing CI Build is failing because pyserial 3.0.1 is already installed and can't be uninstalled. Instead, add --ignore-installed flag to pip command so that pyserial 2.7 will be installed without the need to uninstall 3.0.1. --- tests/script/bootstrap/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/script/bootstrap/common.sh b/tests/script/bootstrap/common.sh index c3cd90e..abfef88 100644 --- a/tests/script/bootstrap/common.sh +++ b/tests/script/bootstrap/common.sh @@ -184,7 +184,7 @@ if [ -z $COMMON_SOURCED ]; then PIP_SUDO_CMD=$SUDO_CMD fi - $PIP_SUDO_CMD pip install --src dependencies --pre -Ur $BOOTSTRAP_DIR/pip-requirements.txt + $PIP_SUDO_CMD pip install --ignore-installed --src dependencies --pre -Ur $BOOTSTRAP_DIR/pip-requirements.txt COMMON_SOURCED=1 fi