Simplified logic since NumPy 1.22 dropped support for Python 3.7

This commit is contained in:
Andrew Murray 2022-05-09 21:53:21 +10:00
parent 7d74e7c0c0
commit 4737154415

View File

@ -162,7 +162,7 @@ function run_tests {
else
apt-get install libfribidi0
fi
if [[ "$MB_PYTHON_VERSION" != 3.7 ]] && [[ $(uname -m) == "i686" ]]; then
if [[ $(uname -m) == "i686" ]]; then
python3 -m pip install numpy==1.21
elif [ -z "$IS_ALPINE" ]; then
python3 -m pip install numpy