Skip to content

Commit

Permalink
Only limit numpy to 1.21.4 for Python 3.10 on 32-bit
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Dec 29, 2021
1 parent de4d624 commit e2f9078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ 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-* ]]; then
python3 -m pip install numpy==1.20.3
elif [[ "$MB_PYTHON_VERSION" != 3.10 ]] || [[ "$PLAT" != "x86_64" ]]; then
if [[ "$MB_PYTHON_VERSION" == 3.10 ]] && [[ $(uname -m) == "i686" ]]; then
python3 -m pip install numpy==1.21.4
else
python3 -m pip install numpy
fi

Expand Down

0 comments on commit e2f9078

Please sign in to comment.