mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Merge pull request #8373 from lysnikolaou/install-numpy-pypi-wheels-test
Install numpy from PyPI when testing wheels
This commit is contained in:
commit
f6d5b48662
7
.github/workflows/wheels-test.sh
vendored
7
.github/workflows/wheels-test.sh
vendored
|
@ -14,12 +14,7 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then
|
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then
|
||||||
# TODO Update condition when NumPy supports free-threading
|
python3 -m pip install numpy
|
||||||
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
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d "test-images-main" ]; then
|
if [ ! -d "test-images-main" ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user