From 2d25e668e71c1ac6c83097953587330b67d24adc Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 30 Apr 2022 10:19:48 +1000 Subject: [PATCH] Do not install NumPy on Python 3.11 --- .ci/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.ci/install.sh b/.ci/install.sh index fc7d9fc1893..856cbe5f97b 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -35,12 +35,11 @@ python3 -m pip install -U pytest-cov python3 -m pip install -U pytest-timeout python3 -m pip install pyroma python3 -m pip install test-image-results -# TODO Remove condition when NumPy supports 3.11 -if ! [ "$GHA_PYTHON_VERSION" == "3.11-dev" ]; then python3 -m pip install numpy ; fi if [[ $(uname) != CYGWIN* ]]; then PYTHONOPTIMIZE=0 python3 -m pip install cffi - python3 -m pip install numpy + # TODO Remove condition when NumPy supports 3.11 + if ! [ "$GHA_PYTHON_VERSION" == "3.11-dev" ]; then python3 -m pip install numpy ; fi # PyQt6 doesn't support PyPy3 if [[ $GHA_PYTHON_VERSION == 3.* ]]; then