Skip to content

Commit b33254f

Browse files
authored
Merge branch 'main' into mode_enums
2 parents 84e89bf + 35f23fb commit b33254f

File tree

84 files changed

+534
-542
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+534
-542
lines changed

.ci/install.sh

Lines changed: 22 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -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

2018
set -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

2925
python3 -m pip install --upgrade pip
3026
python3 -m pip install --upgrade wheel
3127
python3 -m pip install coverage
3228
python3 -m pip install defusedxml
3329
python3 -m pip install ipython
30+
python3 -m pip install numpy
3431
python3 -m pip install olefile
3532
python3 -m pip install -U pytest
3633
python3 -m pip install -U pytest-cov
@@ -40,36 +37,24 @@ python3 -m pip install pyroma
4037
# fails on beta 3.14 and PyPy
4138
python3 -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

.ci/requirements-cibw.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cibuildwheel==3.1.2
1+
cibuildwheel==3.1.4

.ci/requirements-mypy.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
mypy==1.17.0
1+
mypy==1.17.1
22
IceSpringPySideStubs-PyQt6
33
IceSpringPySideStubs-PySide6
44
ipython

.github/mergify.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ pull_request_rules:
88
- status-success=Docker Test Successful
99
- status-success=Windows Test Successful
1010
- status-success=MinGW
11-
- status-success=Cygwin Test Successful
1211
actions:
1312
merge:
1413
method: merge

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
name: Docs
3333

3434
steps:
35-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v5
3636
with:
3737
persist-credentials: false
3838

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
name: Lint
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
with:
2525
persist-credentials: false
2626

.github/workflows/test-cygwin.yml

Lines changed: 0 additions & 150 deletions
This file was deleted.

.github/workflows/test-docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
centos-stream-10-amd64,
4848
debian-12-bookworm-x86,
4949
debian-12-bookworm-amd64,
50+
debian-13-trixie-x86,
51+
debian-13-trixie-amd64,
5052
fedora-41-amd64,
5153
fedora-42-amd64,
5254
gentoo,
@@ -66,7 +68,7 @@ jobs:
6668
name: ${{ matrix.docker }}
6769

6870
steps:
69-
- uses: actions/checkout@v4
71+
- uses: actions/checkout@v5
7072
with:
7173
persist-credentials: false
7274

.github/workflows/test-mingw.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545

4646
steps:
4747
- name: Checkout Pillow
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v5
4949
with:
5050
persist-credentials: false
5151

.github/workflows/test-valgrind-memory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
name: ${{ matrix.docker }}
4242

4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@v5
4545
with:
4646
persist-credentials: false
4747

0 commit comments

Comments
 (0)