Skip to content

Commit 01bc487

Browse files
authored
Merge branch 'main' into zlib-ng
2 parents 4986609 + bce5174 commit 01bc487

36 files changed

Lines changed: 110 additions & 128 deletions

.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

.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 tests on AppVeyor.
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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ jobs:
100100
MATRIX_DOCKER: ${{ matrix.docker }}
101101

102102
- name: Upload coverage
103-
uses: codecov/codecov-action@v4
103+
uses: codecov/codecov-action@v5
104104
with:
105105
flags: GHA_Docker
106106
name: ${{ matrix.docker }}

.github/workflows/test-mingw.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
.ci/test.sh
8686
8787
- name: Upload coverage
88-
uses: codecov/codecov-action@v4
88+
uses: codecov/codecov-action@v5
8989
with:
90-
file: ./coverage.xml
90+
files: ./coverage.xml
9191
flags: GHA_Windows
9292
name: "MSYS2 MinGW"
9393
token: ${{ secrets.CODECOV_ORG_TOKEN }}

.github/workflows/test-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ jobs:
215215
shell: pwsh
216216

217217
- name: Upload coverage
218-
uses: codecov/codecov-action@v4
218+
uses: codecov/codecov-action@v5
219219
with:
220-
file: ./coverage.xml
220+
files: ./coverage.xml
221221
flags: GHA_Windows
222222
name: ${{ runner.os }} Python ${{ matrix.python-version }}
223223
token: ${{ secrets.CODECOV_ORG_TOKEN }}

.github/workflows/test.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
]
4343
python-version: [
4444
"pypy3.10",
45+
"3.13t",
4546
"3.13",
4647
"3.12",
4748
"3.11",
@@ -52,23 +53,22 @@ jobs:
5253
- { python-version: "3.11", PYTHONOPTIMIZE: 1, REVERSE: "--reverse" }
5354
- { python-version: "3.10", PYTHONOPTIMIZE: 2 }
5455
# Free-threaded
55-
- { os: "ubuntu-latest", python-version: "3.13-dev", disable-gil: true }
56+
- { python-version: "3.13t", disable-gil: true }
5657
# M1 only available for 3.10+
5758
- { os: "macos-13", python-version: "3.9" }
5859
exclude:
5960
- { os: "macos-latest", python-version: "3.9" }
6061

6162
runs-on: ${{ matrix.os }}
62-
name: ${{ matrix.os }} Python ${{ matrix.python-version }} ${{ matrix.disable-gil && 'free-threaded' || '' }}
63+
name: ${{ matrix.os }} Python ${{ matrix.python-version }}
6364

6465
steps:
6566
- uses: actions/checkout@v4
6667
with:
6768
persist-credentials: false
6869

6970
- name: Set up Python ${{ matrix.python-version }}
70-
uses: actions/setup-python@v5
71-
if: "${{ !matrix.disable-gil }}"
71+
uses: Quansight-Labs/setup-python@v5
7272
with:
7373
python-version: ${{ matrix.python-version }}
7474
allow-prereleases: true
@@ -77,13 +77,6 @@ jobs:
7777
".ci/*.sh"
7878
"pyproject.toml"
7979
80-
- name: Set up Python ${{ matrix.python-version }} (free-threaded)
81-
uses: deadsnakes/action@v3.2.0
82-
if: "${{ matrix.disable-gil }}"
83-
with:
84-
python-version: ${{ matrix.python-version }}
85-
nogil: ${{ matrix.disable-gil }}
86-
8780
- name: Set PYTHON_GIL
8881
if: "${{ matrix.disable-gil }}"
8982
run: |
@@ -156,7 +149,7 @@ jobs:
156149
.ci/after_success.sh
157150
158151
- name: Upload coverage
159-
uses: codecov/codecov-action@v4
152+
uses: codecov/codecov-action@v5
160153
with:
161154
flags: ${{ matrix.os == 'ubuntu-latest' && 'GHA_Ubuntu' || 'GHA_macOS' }}
162155
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

.github/workflows/wheels-dependencies.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ ARCHIVE_SDIR=pillow-depends-main
3838

3939
# Package versions for fresh source builds
4040
FREETYPE_VERSION=2.13.2
41-
HARFBUZZ_VERSION=10.0.1
41+
HARFBUZZ_VERSION=10.1.0
4242
LIBPNG_VERSION=1.6.44
43-
JPEGTURBO_VERSION=3.0.4
44-
OPENJPEG_VERSION=2.5.2
43+
JPEGTURBO_VERSION=3.1.0
44+
OPENJPEG_VERSION=2.5.3
4545
XZ_VERSION=5.6.3
4646
TIFF_VERSION=4.6.0
4747
LCMS2_VERSION=2.16
@@ -82,10 +82,9 @@ function build_zlib_ng {
8282

8383
function build_brotli {
8484
if [ -e brotli-stamp ]; then return; fi
85-
local cmake=$(get_modern_cmake)
8685
local out_dir=$(fetch_unpack https://github.com/google/brotli/archive/v$BROTLI_VERSION.tar.gz brotli-$BROTLI_VERSION.tar.gz)
8786
(cd $out_dir \
88-
&& $cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
87+
&& cmake -DCMAKE_INSTALL_PREFIX=$BUILD_PREFIX -DCMAKE_INSTALL_LIBDIR=$BUILD_PREFIX/lib -DCMAKE_INSTALL_NAME_DIR=$BUILD_PREFIX/lib . \
8988
&& make install)
9089
touch brotli-stamp
9190
}

0 commit comments

Comments
 (0)