Install numpy from PyPI when testing wheels

This commit is contained in:
Lysandros Nikolaou 2024-09-12 14:52:24 +03:00
parent 3fd6b7c072
commit c9f88890a5
No known key found for this signature in database
GPG Key ID: 43E92D11D08F5F29

View File

@ -15,11 +15,7 @@ fi
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then
# TODO Update condition when NumPy supports free-threading
if [ $(python3 -c "import sysconfig;print(sysconfig.get_config_var('Py_GIL_DISABLED'))") == "1" ]; then
python3 -m pip install numpy --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
else
python3 -m pip install numpy
fi
python3 -m pip install numpy
fi
if [ ! -d "test-images-main" ]; then