Skip to content

Commit 5c2cabf

Browse files
authored
Merge branch 'main' into avif
2 parents 45d1c41 + 7e4d8e2 commit 5c2cabf

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/test-windows.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@ jobs:
9898
choco install nasm --no-progress
9999
echo "C:\Program Files\NASM" >> $env:GITHUB_PATH
100100
101-
choco install ghostscript --version=10.5.0 --no-progress
102-
echo "C:\Program Files\gs\gs10.05.0\bin" >> $env:GITHUB_PATH
101+
choco install ghostscript --version=10.5.1 --no-progress
102+
echo "C:\Program Files\gs\gs10.05.1\bin" >> $env:GITHUB_PATH
103103
104104
# Install extra test images
105105
xcopy /S /Y Tests\test-images\* Tests\images

.github/workflows/wheels-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ARCHIVE_SDIR=pillow-depends-main
3838

3939
# Package versions for fresh source builds
4040
FREETYPE_VERSION=2.13.3
41-
HARFBUZZ_VERSION=11.1.0
41+
HARFBUZZ_VERSION=11.2.1
4242
LIBPNG_VERSION=1.6.47
4343
JPEGTURBO_VERSION=3.1.0
4444
OPENJPEG_VERSION=2.5.3

Tests/test_file_avif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_background_from_gif(self, tmp_path: Path) -> None:
233233
with Image.open(out_gif) as reread:
234234
reread_value = reread.convert("RGB").getpixel((1, 1))
235235
difference = sum([abs(original_value[i] - reread_value[i]) for i in range(3)])
236-
assert difference <= 3
236+
assert difference <= 6
237237

238238
def test_save_single_frame(self, tmp_path: Path) -> None:
239239
temp_file = tmp_path / "temp.avif"

depends/install_libavif.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -eo pipefail
33

4-
version=1.2.1
4+
version=1.3.0
55

66
./download-and-extract.sh libavif-$version https://github.com/AOMediaCodec/libavif/archive/refs/tags/v$version.tar.gz
77

winbuild/build_prepare.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,10 @@ def cmd_msbuild(
113113
"BROTLI": "1.1.0",
114114
"FREETYPE": "2.13.3",
115115
"FRIBIDI": "1.0.16",
116-
"HARFBUZZ": "11.1.0",
116+
"HARFBUZZ": "11.2.1",
117117
"JPEGTURBO": "3.1.0",
118118
"LCMS2": "2.17",
119-
"LIBAVIF": "1.2.1",
119+
"LIBAVIF": "1.3.0",
120120
"LIBIMAGEQUANT": "4.3.4",
121121
"LIBPNG": "1.6.47",
122122
"LIBWEBP": "1.5.0",
@@ -389,6 +389,7 @@ def cmd_msbuild(
389389
"filename": f"libavif-{V['LIBAVIF']}.zip",
390390
"license": "LICENSE",
391391
"build": [
392+
"rustup update",
392393
f"{sys.executable} -m pip install meson",
393394
*cmds_cmake(
394395
"avif_static",
@@ -399,7 +400,6 @@ def cmd_msbuild(
399400
"-DAVIF_CODEC_DAV1D=LOCAL",
400401
"-DAVIF_CODEC_RAV1E=LOCAL",
401402
"-DAVIF_CODEC_SVT=LOCAL",
402-
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
403403
),
404404
cmd_xcopy("include", "{inc_dir}"),
405405
],

0 commit comments

Comments
 (0)