CI: Fix installation of python package on macOS

This commit is contained in:
Tim Wojtulewicz 2024-04-08 10:26:10 -07:00
parent ddf63778c3
commit 167cbaf6e4

View file

@ -8,7 +8,12 @@ set -x
brew update brew update
brew upgrade cmake brew upgrade cmake
brew install openssl@3 swig bison flex ccache libmaxminddb 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 # 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. # openssl@1.1, only with 3.0. Create the symlink if it doesn't exist.