15
0
forked from pool/python-Pillow
Files
python-Pillow/libwebp150.patch
Daniel Garcia 9f2ebf43c0 - Drop upstreamed patch libwebp150.patch
- Update to 12.0.0
  * Removals
    * Remove support for FreeType <= 2.9.0 #9159 [@radarhere]
    * Drop support for Python 3.9 #9119 [@hugovk]
    * Remove deprecations for Pillow 12.0.0 #9053 [@radarhere]
  * Deprecations
    * Deprecate Image._show #9186 [@radarhere]
    * Deprecate ImageCmsProfile product_name and product_info #8995 [@lukegb]
  * Documentation
    * ImagingHistogramInstance can use two bands #9251 [@radarhere]
    * Update 12.0.0 release notes #9247 [@hugovk]
    * Added ImageDraw alpha channel examples #9201 [@radarhere]
    * Update Python version #9230 [@radarhere]
    * Updated macOS tested Pillow versions #9209 [@radarhere]
    * Add GitHub profile link to release notes #9197 [@radarhere]
    * Split versionadded info #9190 [@radarhere]
    * Document ImageFile.MAXBLOCK #9163 [@radarhere]
    * Updated macOS version in CI targets #9157 [@radarhere]
    * Fix typos #9135 [@radarhere]
    * Added "Colors" to concepts #9067 [@radarhere]
    * Update macOS tested Pillow versions #9068 [@radarhere]
    * Thanks, folks! #9056 [@aclark4life]
    * Setup nit: "fork" should be lowercased #9055 [@aclark4life]
  * Dependencies
    * Update dependency cibuildwheel to v3.2.1 #9246 [@renovate[bot]]
    * [pre-commit.ci] pre-commit autoupdate #9233 [@pre-commit-ci[bot]]
    * Update harfbuzz to 12.1.0 #9218 [@radarhere]
    * Update libtiff to 4.7.1 #9222 [@radarhere]
    * Update FreeType to 2.14.1 on macOS and Linux wheels #9217 [@radarhere]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=168
2025-11-19 13:17:12 +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"))