Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Commit 136ab89

Browse files
committed
Limit numpy on 32-bit to 1.21.4 for Python 3.10 and 1.20.3 for PyPy
1 parent de4d624 commit 136ab89

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

config.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,11 @@ function run_tests {
133133
brew install openblas
134134
echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg
135135
fi
136-
if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]]; then
136+
if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]] && [[ $(uname -m) == "i686" ]]; then
137137
python3 -m pip install numpy==1.20.3
138-
elif [[ "$MB_PYTHON_VERSION" != 3.10 ]] || [[ "$PLAT" != "x86_64" ]]; then
138+
elif [[ "$MB_PYTHON_VERSION" == 3.10 ]] && [[ $(uname -m) == "i686" ]]; then
139+
python3 -m pip install numpy==1.21.4
140+
else
139141
python3 -m pip install numpy
140142
fi
141143

0 commit comments

Comments
 (0)