Skip to content

Commit ade99aa

Browse files
authored
Merge branch 'main' into gha-windows-32-bit
2 parents 09bf28e + bff83cf commit ade99aa

File tree

118 files changed

+1090
-739
lines changed

Some content is hidden

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

118 files changed

+1090
-739
lines changed

.ci/after_success.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,4 @@
22

33
# gather the coverage data
44
python3 -m pip install coverage
5-
if [[ $MATRIX_DOCKER ]]; then
6-
python3 -m coverage xml --ignore-errors
7-
else
8-
python3 -m coverage xml
9-
fi
5+
python3 -m coverage xml

.ci/build.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
set -e
44

55
python3 -m coverage erase
6-
if [ $(uname) == "Darwin" ]; then
7-
export CPPFLAGS="-I/usr/local/miniconda/include";
8-
fi
96
make clean
107
make install-coverage

.ci/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ set -e
2121

2222
if [[ $(uname) != CYGWIN* ]]; then
2323
sudo apt-get -qq install libfreetype6-dev liblcms2-dev python3-tk\
24-
ghostscript libjpeg-turbo-progs libopenjp2-7-dev\
24+
ghostscript libjpeg-turbo8-dev libopenjp2-7-dev\
2525
cmake meson imagemagick libharfbuzz-dev libfribidi-dev\
2626
sway wl-clipboard libopenblas-dev
2727
fi

.ci/requirements-cibw.txt

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

.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.13.0
1+
mypy==1.14.1
22
IceSpringPySideStubs-PyQt6
33
IceSpringPySideStubs-PySide6
44
ipython

.github/CONTRIBUTING.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ Please send a pull request to the `main` branch. Please include [documentation](
1919
- Follow PEP 8.
2020
- When committing only documentation changes please include `[ci skip]` in the commit message to avoid running extra tests.
2121
- Include [release notes](https://github.com/python-pillow/Pillow/tree/main/docs/releasenotes) as needed or appropriate with your bug fixes, feature additions and tests.
22-
- Do not add to the [changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) for proposed changes, as that is updated after changes are merged.
2322

2423
## Reporting Issues
2524

.github/release-drafter.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,19 @@ tag-template: "$NEXT_MINOR_VERSION"
33
change-template: '- $TITLE #$NUMBER [@$AUTHOR]'
44

55
categories:
6-
- title: "Dependencies"
7-
label: "Dependency"
6+
- title: "Removals"
7+
label: "Removal"
88
- title: "Deprecations"
99
label: "Deprecation"
1010
- title: "Documentation"
1111
label: "Documentation"
12-
- title: "Removals"
13-
label: "Removal"
12+
- title: "Dependencies"
13+
label: "Dependency"
1414
- title: "Testing"
1515
label: "Testing"
1616
- title: "Type hints"
1717
label: "Type hints"
18+
- title: "Other changes"
1819

1920
exclude-labels:
2021
- "changelog: skip"
@@ -23,6 +24,4 @@ template: |
2324
2425
https://pillow.readthedocs.io/en/stable/releasenotes/$NEXT_MINOR_VERSION.html
2526
26-
## Changes
27-
2827
$CHANGES

.github/workflows/macos-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ fi
88
brew install \
99
freetype \
1010
ghostscript \
11+
jpeg-turbo \
1112
libimagequant \
12-
libjpeg \
1313
libtiff \
1414
little-cms2 \
1515
openjpeg \

.github/workflows/test-cygwin.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
persist-credentials: false
5353

5454
- name: Install Cygwin
55-
uses: cygwin/cygwin-install-action@v4
55+
uses: cygwin/cygwin-install-action@v5
5656
with:
5757
packages: >
5858
gcc-g++
@@ -133,11 +133,12 @@ jobs:
133133
- name: After success
134134
run: |
135135
bash.exe .ci/after_success.sh
136+
rm C:\cygwin\bin\bash.EXE
136137
137138
- name: Upload coverage
138-
uses: codecov/codecov-action@v4
139+
uses: codecov/codecov-action@v5
139140
with:
140-
file: ./coverage.xml
141+
files: ./coverage.xml
141142
flags: GHA_Cygwin
142143
name: Cygwin Python 3.${{ matrix.python-minor-version }}
143144
token: ${{ secrets.CODECOV_ORG_TOKEN }}

.github/workflows/test-docker.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
amazon-2023-amd64,
4545
arch,
4646
centos-stream-9-amd64,
47+
centos-stream-10-amd64,
4748
debian-12-bookworm-x86,
4849
debian-12-bookworm-amd64,
4950
fedora-40-amd64,
@@ -89,18 +90,18 @@ jobs:
8990
9091
- name: After success
9192
run: |
92-
PATH="$PATH:~/.local/bin"
9393
docker start pillow_container
94+
sudo docker cp pillow_container:/Pillow /Pillow
95+
sudo chown -R runner /Pillow
9496
pil_path=`docker exec pillow_container /vpy3/bin/python -c 'import os, PIL;print(os.path.realpath(os.path.dirname(PIL.__file__)))'`
9597
docker stop pillow_container
9698
sudo mkdir -p $pil_path
9799
sudo cp src/PIL/*.py $pil_path
100+
cd /Pillow
98101
.ci/after_success.sh
99-
env:
100-
MATRIX_DOCKER: ${{ matrix.docker }}
101102
102103
- name: Upload coverage
103-
uses: codecov/codecov-action@v4
104+
uses: codecov/codecov-action@v5
104105
with:
105106
flags: GHA_Docker
106107
name: ${{ matrix.docker }}

0 commit comments

Comments
 (0)