Skip to content

Commit

Permalink
Merge pull request #8373 from lysnikolaou/install-numpy-pypi-wheels-test
Browse files Browse the repository at this point in the history
Install numpy from PyPI when testing wheels
  • Loading branch information
radarhere authored Sep 12, 2024
2 parents 3fd6b7c + 1ead779 commit f6d5b48
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/wheels-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f6d5b48

Please sign in to comment.