diff --git a/ci/macos/prepare.sh b/ci/macos/prepare.sh index 52c4472272..7735a9a04a 100755 --- a/ci/macos/prepare.sh +++ b/ci/macos/prepare.sh @@ -8,7 +8,12 @@ set -x brew update brew upgrade cmake brew install openssl@3 swig bison flex ccache libmaxminddb -python3 -m pip install --user websockets + +if [ $(sw_vers -productVersion | cut -d '.' -f 1) -lt 14 ]; then + python3 -m pip install --upgrade pip +fi + +python3 -m pip install --user --break-system-packages websockets # Brew doesn't create the /opt/homebrew/opt/openssl symlink if you install # openssl@1.1, only with 3.0. Create the symlink if it doesn't exist.