Skip to content

Commit dd4703a

Browse files
authored
Merge pull request #1397 from psgreco/elem-23.x-fixmacnative
[23.3.x] Fix macos native test
2 parents 421cc3d + 0d51ab8 commit dd4703a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ci/test/00_setup_env_mac_native_arm64.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
export LC_ALL=C.UTF-8
88

99
export HOST=arm64-apple-darwin
10-
export PIP_PACKAGES="zmq"
10+
# Homebrew's [email protected] is marked as externally managed (PEP 668).
11+
# Therefore, `--break-system-packages` is needed.
12+
export PIP_PACKAGES="--break-system-packages zmq"
1113
export GOAL="install"
1214
# ELEMENTS: add -fno-stack-check to work around clang bug on macos
1315
export BITCOIN_CONFIG="--with-gui --with-miniupnpc --with-natpmp --enable-reduce-exports CXXFLAGS=-fno-stack-check"

ci/test/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [[ $QEMU_USER_CMD == qemu-s390* ]]; then
1111
fi
1212

1313
if [ "$CI_OS_NAME" == "macos" ]; then
14-
sudo -H pip3 install --upgrade pip
14+
sudo -H pip3 install --upgrade --break-system-packages pip
1515
# shellcheck disable=SC2086
1616
IN_GETOPT_BIN="$(brew --prefix gnu-getopt)/bin/getopt" ${CI_RETRY_EXE} pip3 install --user $PIP_PACKAGES
1717
fi

0 commit comments

Comments
 (0)