From 2d2889e6178ab619bae30952f4d477ac66352dea Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Fri, 5 Jul 2024 00:49:27 +0300 Subject: [PATCH] Install nightly NumPy for free-threaded --- .ci/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/install.sh b/.ci/install.sh index 0dc738ed8..e1274f41c 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -38,7 +38,11 @@ python3 -m pip install pyroma if [[ $(uname) != CYGWIN* ]]; then # TODO Update condition when NumPy supports free-threading - if ! [[ "$GHA_PYTHON_VERSION" == "3.13-dev" ]]; then python3 -m pip install numpy ; fi + if [[ "$GHA_PYTHON_VERSION" == "3.13-dev" ]]; then + python3 -m pip install numpy --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple + else + python3 -m pip install numpy + fi # PyQt6 doesn't support PyPy3 if [[ $GHA_PYTHON_VERSION == 3.* ]]; then