15
0
forked from pool/python-Pillow
Files
python-Pillow/libwebp150.patch
Daniel Garcia 5a0313ddea - Update to 12.1.0
* Deprecations
    * Deprecate getdata(), in favour of new get_flattened_data() #9292 [@radarhere]
  * Documentation
    * Specify APNG duration type when opening #9368 [@radarhere]
    * Added release notes for #9350 #9366 [@radarhere]
    * Update ImageMorph documentation #9349 [@radarhere]
    * Docs: update major bump cadence #9334 [@hugovk]
    * Add release notes for #9070 #9320 [@radarhere]
    * Updated Ubuntu version #9306 [@radarhere]
    * Update macOS tested Pillow versions #9265 [@radarhere]
  * Dependencies
    * Update harfbuzz to 12.3.0 #9355 [@radarhere]
    * Update xz to 5.8.2 #9343 [@radarhere]
    * Updated libjpeg-turbo to 3.1.3 #9333 [@radarhere]
    * Updated zlib-ng to 2.3.2 #9324 [@radarhere]
    * Updated libpng to 1.6.53 #9325 [@radarhere]
    * Update actions/checkout action to v6 #9323 [@renovate[bot]]
    * Update dependency mypy to v1.19.0 #9322 [@renovate[bot]]
    * Updated libpng to 1.6.51 #9305 [@radarhere]
    * Updated brotli to 1.2.0 #9284 [@radarhere]
    * Update libimagequant to 4.4.1 #9301 [@radarhere]
    * Update zlib-ng to 2.3.1, except on manylinux2014 aarch64 #9312 [@radarhere]
    * Updated harfbuzz to 12.2.0 #9289 [@radarhere]
    * Update github-actions #9277 [@renovate[bot]]
  * Testing
    * Replace pre-commit with prek #9360 [@hugovk]
    * Test PyQt6 on Python 3.14 on Windows #9353 [@radarhere]
    * Test 32-bit Windows on Windows Server 2022 #9345 [@radarhere]
    * Correct variable type #9335 [@radarhere]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=172
2026-01-20 07:02:37 +00:00

27 lines
1.5 KiB
Diff

Index: pillow-11.1.0/Tests/test_file_webp_animated.py
===================================================================
--- pillow-11.1.0.orig/Tests/test_file_webp_animated.py
+++ pillow-11.1.0/Tests/test_file_webp_animated.py
@@ -52,8 +52,8 @@ def test_write_animation_L(tmp_path: Pat
if is_big_endian():
version = features.version_module("webp")
assert version is not None
- if parse_version(version) < parse_version("1.2.2"):
- pytest.skip("Fails with libwebp earlier than 1.2.2")
+ if parse_version(version) < parse_version("1.2.2") or parse_version(version) > parse_version("1.4.0"):
+ pytest.skip("Fails with libwebp earlier than 1.2.2 and greater than 1.4.0")
orig.seek(orig.n_frames - 1)
im.seek(im.n_frames - 1)
orig.load()
@@ -79,8 +79,8 @@ def test_write_animation_RGB(tmp_path: P
if is_big_endian():
version = features.version_module("webp")
assert version is not None
- if parse_version(version) < parse_version("1.2.2"):
- pytest.skip("Fails with libwebp earlier than 1.2.2")
+ if parse_version(version) < parse_version("1.2.2") or parse_version(version) > parse_version("1.4.0"):
+ pytest.skip("Fails with libwebp earlier than 1.2.2 and greater than 1.4.0")
im.seek(1)
im.load()
assert_image_equal(im, frame2.convert("RGBA"))