aboutsummaryrefslogtreecommitdiff
path: root/ci/test
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2021-06-30 16:18:42 +0800
committerfanquake <fanquake@gmail.com>2021-06-30 16:23:19 +0800
commit3fc20abab03d71a982d6fe9c47155834b256ab17 (patch)
tree38aee9b239086699bf7fa716c7262787b6381abe /ci/test
parente1a13f12e1ddd93d34a10f5f1a642794063c74f3 (diff)
parent057750c09d0a8331c33966d2cc2285ef82f08af8 (diff)
downloadbitcoin-3fc20abab03d71a982d6fe9c47155834b256ab17.tar.xz
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
Diffstat (limited to 'ci/test')
-rwxr-xr-xci/test/04_install.sh1
1 files changed, 1 insertions, 0 deletions
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