Limit numpy to 1.19.5 on 32-bit pypy 3.7

This commit is contained in:
Andrew Murray 2021-01-31 15:57:24 +11:00
parent 4e74d04f26
commit 398f2d8af5

View File

@ -102,7 +102,11 @@ function run_tests {
brew install openblas
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
fi
python3 -m pip install numpy
if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]] && [[ $(uname -m) == "i686" ]]; then
python3 -m pip install numpy==1.19.5
else
python3 -m pip install numpy
fi
mv ../pillow-depends-master/test_images/* ../Pillow/Tests/images