From 398f2d8af58708715cfb11739658e506f31001d4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 31 Jan 2021 15:57:24 +1100 Subject: [PATCH] Limit numpy to 1.19.5 on 32-bit pypy 3.7 --- config.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.sh b/config.sh index 1e6904ace..e4f188d1a 100644 --- a/config.sh +++ b/config.sh @@ -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