Skip to content

Commit acc06bc

Browse files
committed
ci, macos: Use --break-system-packages with Homebrew's python
Homebrew's [email protected] is marked as externally managed (PEP 668), necessitating different approaches for installing Python packages. For more details, please refer to https://github.com/orgs/Homebrew/discussions/3404.
1 parent ae5f720 commit acc06bc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/test/00_setup_env_mac_native.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=x86_64-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
export BITCOIN_CONFIG="--with-gui --with-miniupnpc --with-natpmp --enable-reduce-exports"
1315
export CI_OS_NAME="macos"

0 commit comments

Comments
 (0)