Merge pull request #207 from radarhere/pypy_numpy

Limit numpy on 64-bit pypy 3.7 as well
This commit is contained in:
Hugo van Kemenade 2021-06-25 09:25:25 +03:00 committed by GitHub
commit e168f90e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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