Install nightly NumPy for free-threaded

This commit is contained in:
Hugo van Kemenade 2024-07-05 00:49:27 +03:00
parent 701539d017
commit 2d2889e617

View File

@ -38,7 +38,11 @@ python3 -m pip install pyroma
if [[ $(uname) != CYGWIN* ]]; then if [[ $(uname) != CYGWIN* ]]; then
# TODO Update condition when NumPy supports free-threading # 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 # PyQt6 doesn't support PyPy3
if [[ $GHA_PYTHON_VERSION == 3.* ]]; then if [[ $GHA_PYTHON_VERSION == 3.* ]]; then