From 14a24acd4d234b5ea5bd2cae2b8733c59be8cdc0 Mon Sep 17 00:00:00 2001 From: fanquake Date: Wed, 30 Jun 2021 16:18:42 +0800 Subject: [PATCH] Merge bitcoin/bitcoin#22353: ci: Upgrading pip version in macos environment 057750c09d0a8331c33966d2cc2285ef82f08af8 ci: Upgrading pip version in macos environment (Tushar Singla) Pull request description: During each CI run, in macos native environment, python packages lief and zmq are rebuilt everytime which wastes a lot of resources and time and fixes #22206. 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. ACKs for top commit: MarcoFalke: cr ACK 057750c09d0a8331c33966d2cc2285ef82f08af8 Tree-SHA512: e61d02e46c8fe6a89119014d025a26aba090f9507d725315680893290f5bbc20a375ef408c71fa8db2f485b44ec91cfa0c140198ca44a9d3e0a57055b6bb9582 --- ci/test/04_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/test/04_install.sh b/ci/test/04_install.sh index 5b9cf5f064..721f9d1191 100755 --- a/ci/test/04_install.sh +++ b/ci/test/04_install.sh @@ -14,6 +14,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