Merge pull request #8373 from lysnikolaou/install-numpy-pypi-wheels-test

Install numpy from PyPI when testing wheels
This commit is contained in:
Andrew Murray 2024-09-13 06:23:29 +10:00 committed by GitHub
commit f6d5b48662
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,12 +14,7 @@ else
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