From 057750c09d0a8331c33966d2cc2285ef82f08af8 Mon Sep 17 00:00:00 2001 From: Tushar Singla Date: Mon, 28 Jun 2021 00:10:08 +0530 Subject: ci: Upgrading pip version in macos environment During each CI run, for macos native environment, python packages lief and zmq are rebuilt everytime which wastes a lot of resources and time. The latest version of pip directly fetches pre-built binaries. Through this commit pip version is upgraded in macos environment before installation of these packages. --- ci/test/04_install.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'ci/test') diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index 01dbfe221b..906e4aae60 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -11,6 +11,7 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then fi if [ "$CI_OS_NAME" == "macos" ]; then + sudo -H pip3 install --upgrade pip IN_GETOPT_BIN="/usr/local/opt/gnu-getopt/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES fi -- cgit v1.2.3