Merge pull request #409 from radarhere/numpy

NumPy now supports Python 3.12
This commit is contained in:
Hugo van Kemenade 2023-09-18 09:33:51 -06:00 committed by GitHub
commit f3a245518f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,13 +148,14 @@ EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux
function run_tests { function run_tests {
if [ -n "$IS_MACOS" ]; then if [ -n "$IS_MACOS" ]; then
brew install fribidi brew install fribidi
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
elif [ -n "$IS_ALPINE" ]; then elif [ -n "$IS_ALPINE" ]; then
apk add curl fribidi apk add curl fribidi
else else
apt-get update apt-get update
apt-get install -y curl libfribidi0 unzip apt-get install -y curl libfribidi0 libopenblas-dev pkg-config unzip
fi fi
if [ -z "$IS_ALPINE" ] && [[ "$MB_PYTHON_VERSION" != 3.12 ]]; then if [ -z "$IS_ALPINE" ]; then
python3 -m pip install numpy python3 -m pip install numpy
fi fi
python3 -m pip install defusedxml olefile pyroma python3 -m pip install defusedxml olefile pyroma