From 5cae79b8e582d2cbf14195f9d56980628de1485c Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Tue, 27 Apr 2021 20:27:00 +1000 Subject: [PATCH] Fixed Python 3.10 at alpha.7 --- .ci/install.sh | 2 +- .github/workflows/macos-install.sh | 2 +- .github/workflows/test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/install.sh b/.ci/install.sh index 4917b3a7c67..298eb9edce5 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -31,7 +31,7 @@ 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.10 -if ! [ "$GHA_PYTHON_VERSION" == "3.10-dev" ]; then python3 -m pip install numpy ; fi +if ! [ "$GHA_PYTHON_VERSION" == "3.10.0-alpha.7" ]; then python3 -m pip install numpy ; fi # TODO Remove when 3.8 / 3.9 includes setuptools 49.3.2+: if [ "$GHA_PYTHON_VERSION" == "3.8" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi diff --git a/.github/workflows/macos-install.sh b/.github/workflows/macos-install.sh index f4582444555..fafe329e0df 100755 --- a/.github/workflows/macos-install.sh +++ b/.github/workflows/macos-install.sh @@ -15,7 +15,7 @@ python3 -m pip install test-image-results echo -e "[openblas]\nlibraries = openblas\nlibrary_dirs = /usr/local/opt/openblas/lib" >> ~/.numpy-site.cfg # TODO Remove condition when numpy supports 3.10 -if ! [ "$GHA_PYTHON_VERSION" == "3.10-dev" ]; then python3 -m pip install numpy ; fi +if ! [ "$GHA_PYTHON_VERSION" == "3.10.0-alpha.7" ]; then python3 -m pip install numpy ; fi # TODO Remove when 3.8 / 3.9 includes setuptools 49.3.2+: if [ "$GHA_PYTHON_VERSION" == "3.8" ]; then python3 -m pip install -U "setuptools>=49.3.2" ; fi diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e52fefc69bd..f35ff83fa17 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: python-version: [ "pypy-3.7", "pypy-3.6", - "3.10-dev", + "3.10.0-alpha.7", "3.9", "3.8", "3.7",