mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 18:36:17 +03:00
Limit numpy on 32-bit to 1.21.4 for Python 3.10 and 1.20.3 for PyPy
This commit is contained in:
parent
de4d6249ef
commit
136ab890c0
|
@ -133,9 +133,11 @@ 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
|
||||
if [[ "$MB_PYTHON_VERSION" == pypy3.7-* ]] && [[ $(uname -m) == "i686" ]]; then
|
||||
python3 -m pip install numpy==1.20.3
|
||||
elif [[ "$MB_PYTHON_VERSION" != 3.10 ]] || [[ "$PLAT" != "x86_64" ]]; then
|
||||
elif [[ "$MB_PYTHON_VERSION" == 3.10 ]] && [[ $(uname -m) == "i686" ]]; then
|
||||
python3 -m pip install numpy==1.21.4
|
||||
else
|
||||
python3 -m pip install numpy
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user