mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Install numpy from PyPI when testing wheels
This commit is contained in:
parent
3fd6b7c072
commit
c9f88890a5
6
.github/workflows/wheels-test.sh
vendored
6
.github/workflows/wheels-test.sh
vendored
|
@ -15,11 +15,7 @@ fi
|
||||||
|
|
||||||
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then
|
if [ "${AUDITWHEEL_POLICY::9}" != "musllinux" ]; then
|
||||||
# TODO Update condition when NumPy supports free-threading
|
# 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
|
||||||
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