@@ -13,24 +13,21 @@ aptget_update()
1313 return 1
1414 fi
1515}
16- if [[ $( uname) != CYGWIN* ]]; then
17- aptget_update || aptget_update retry || aptget_update retry
18- fi
16+ aptget_update || aptget_update retry || aptget_update retry
1917
2018set -e
2119
22- if [[ $( uname) != CYGWIN* ]]; then
23- sudo apt-get -qq install libfreetype6-dev liblcms2-dev libtiff-dev python3-tk\
24- ghostscript libjpeg-turbo8-dev libopenjp2-7-dev\
25- cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
26- sway wl-clipboard libopenblas-dev nasm
27- fi
20+ sudo apt-get -qq install libfreetype6-dev liblcms2-dev libtiff-dev python3-tk\
21+ ghostscript libjpeg-turbo8-dev libopenjp2-7-dev\
22+ cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
23+ sway wl-clipboard libopenblas-dev nasm
2824
2925python3 -m pip install --upgrade pip
3026python3 -m pip install --upgrade wheel
3127python3 -m pip install coverage
3228python3 -m pip install defusedxml
3329python3 -m pip install ipython
30+ python3 -m pip install numpy
3431python3 -m pip install olefile
3532python3 -m pip install -U pytest
3633python3 -m pip install -U pytest-cov
@@ -40,36 +37,24 @@ python3 -m pip install pyroma
4037# fails on beta 3.14 and PyPy
4138python3 -m pip install --only-binary=:all: pyarrow || true
4239
43- if [[ $( uname) != CYGWIN* ]]; then
44- python3 -m pip install numpy
45-
46- # PyQt6 doesn't support PyPy3
47- if [[ $GHA_PYTHON_VERSION == 3.* ]]; then
48- sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0
49- # TODO Update condition when pyqt6 supports free-threading
50- if ! [[ " $PYTHON_GIL " == " 0" ]]; then python3 -m pip install pyqt6 ; fi
51- fi
52-
53- # Pyroma uses non-isolated build and fails with old setuptools
54- if [[ $GHA_PYTHON_VERSION == 3.9 ]]; then
55- # To match pyproject.toml
56- python3 -m pip install " setuptools>=77"
57- fi
40+ # PyQt6 doesn't support PyPy3
41+ if [[ $GHA_PYTHON_VERSION == 3.* ]]; then
42+ sudo apt-get -qq install libegl1 libxcb-cursor0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxkbcommon-x11-0
43+ # TODO Update condition when pyqt6 supports free-threading
44+ if ! [[ " $PYTHON_GIL " == " 0" ]]; then python3 -m pip install pyqt6 ; fi
45+ fi
5846
59- # webp
60- pushd depends && ./install_webp.sh && popd
47+ # webp
48+ pushd depends && ./install_webp.sh && popd
6149
62- # libimagequant
63- pushd depends && ./install_imagequant.sh && popd
50+ # libimagequant
51+ pushd depends && ./install_imagequant.sh && popd
6452
65- # raqm
66- pushd depends && ./install_raqm.sh && popd
53+ # raqm
54+ pushd depends && ./install_raqm.sh && popd
6755
68- # libavif
69- pushd depends && ./install_libavif.sh && popd
56+ # libavif
57+ pushd depends && ./install_libavif.sh && popd
7058
71- # extra test images
72- pushd depends && ./install_extra_test_images.sh && popd
73- else
74- cd depends && ./install_extra_test_images.sh && cd ..
75- fi
59+ # extra test images
60+ pushd depends && ./install_extra_test_images.sh && popd
0 commit comments