Merge pull request #187 from radarhere/numpy

Limit numpy to 1.19.5 on 32-bit pypy 3.7
This commit is contained in:
Hugo van Kemenade 2021-02-02 11:33:02 +02:00 committed by GitHub
commit 56316e22e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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