Skip to content

Commit

Permalink
Merge pull request python-pillow#409 from radarhere/numpy
Browse files Browse the repository at this point in the history
NumPy now supports Python 3.12
  • Loading branch information
hugovk authored Sep 18, 2023
2 parents deb384b + a518f3c commit f3a2455
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,14 @@ EXP_FEATURES="fribidi harfbuzz libjpeg_turbo raqm transp_webp webp_anim webp_mux
function run_tests {
if [ -n "$IS_MACOS" ]; then
brew install fribidi
export PKG_CONFIG_PATH="/usr/local/opt/openblas/lib/pkgconfig"
elif [ -n "$IS_ALPINE" ]; then
apk add curl fribidi
else
apt-get update
apt-get install -y curl libfribidi0 unzip
apt-get install -y curl libfribidi0 libopenblas-dev pkg-config unzip
fi
if [ -z "$IS_ALPINE" ] && [[ "$MB_PYTHON_VERSION" != 3.12 ]]; then
if [ -z "$IS_ALPINE" ]; then
python3 -m pip install numpy
fi
python3 -m pip install defusedxml olefile pyroma
Expand Down

0 comments on commit f3a2455

Please sign in to comment.