From 172a58d54c1d0822e3b4c8c0d4e5b27b2520143f Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 25 Jun 2021 11:03:16 +1000 Subject: [PATCH] Limit numpy on 64-bit pypy 3.7 as well --- config.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.sh b/config.sh index 5aa87d284..31d1c8385 100644 --- a/config.sh +++ b/config.sh @@ -147,8 +147,12 @@ function run_tests { brew install openblas echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg fi - if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]] && [[ $(uname -m) == "i686" ]]; then - python3 -m pip install numpy==1.19.5 + if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]]; then + if [[ $(uname -m) == "i686" ]]; then + python3 -m pip install numpy==1.19.5 + else + python3 -m pip install numpy==1.20.3 + fi else python3 -m pip install numpy fi