1
0
forked from pool/python-Pillow

10 Commits

Author SHA256 Message Date
9317aae4e5 Accepting request 1289779 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1289779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=73
2025-07-06 14:59:20 +00:00
95fb0445cb - Update to 11.3.0 (includes fix for CVE-2025-48379, bsc#1245578)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=166
2025-07-02 08:11:29 +00:00
2797cd33f1 Accepting request 1276805 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1276805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=72
2025-05-13 18:12:29 +00:00
934e0d8315 - Update to 11.2.1
* Moved get_child_images() to ImageFile #8689 [@radarhere]
  * Add 11.2.1 release notes #8885 [@radarhere]
  * Added avif to config settings #8875 [@radarhere]
  * Added release notes for #8330 #8853 [@radarhere]
  * Added release notes for #8781 and #8837 #8843 [@radarhere]
  * Added media_white_point to ImageCms documentation #8829 [@radarhere]
  * Removed FIXME #8825 [@radarhere]
  * Updated comment #8822 [@radarhere]
  * Added release notes for #8807 #8824 [@radarhere]
  * DXT3 images are read in RGBA mode #8817 [@radarhere]
  * JPEG comments are from the COM marker #8788 [@radarhere]
  * Update Sphinx to 8.2 to remove nitpick ignore #8763 [@radarhere]
  * Updated AffineTransform docstring to mention it uses the inverse matrix #8735 [@radarhere]
  * Added MozJPEG documentation #8699 [@radarhere]
  * Added Sphinx configuration key #8691 [@radarhere]
  * Updated macOS tested Pillow versions #8654 [@radarhere]
  * Updated xz to 5.8.1 #8868 [@radarhere]
  * Updated harfbuzz to 11.0.1 #8870 [@radarhere]
  * Update scientific-python/upload-nightly-action action to v0.6.2 #8865 [@renovate[bot]]
  * Updated xz to 5.8.0 in macOS and Linux wheels, but not on manylinux2014 #8836 [@radarhere]
  * Update dependency cibuildwheel to v2.23.2 #8832 [@renovate[bot]]
  * Updated harfbuzz to 11.0.0 #8830 [@radarhere]
  * Update dependency cibuildwheel to v2.23.1 #8818 [@renovate[bot]]
  * Updated Ghostscript to 10.5.0 #8814 [@radarhere]
  * Updated libtiff to 4.7.0 #8812 [@radarhere]
  * [pre-commit.ci] pre-commit autoupdate #8795 [@pre-commit-ci[bot]]
  * Updated harfbuzz to 10.4.0 #8770 [@radarhere]
  * Update dependency mypy to v1.15.0 #8791 [@renovate[bot]]
  * Updated libpng to 1.6.47 #8764 [@radarhere]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=164
2025-05-12 10:40:35 +00:00
7f5c73ceb1 Accepting request 1255622 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1255622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=71
2025-03-26 20:16:29 +00:00
e8db2c132e Accepting request 1255619 from home:mcalabkova:branches:devel:languages:python
- Add patch libwebp150.patch to skip tests failing on s390x
  * reported: https://github.com/python-pillow/Pillow/issues/8831

OBS-URL: https://build.opensuse.org/request/show/1255619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=162
2025-03-24 12:51:22 +00:00
2f814cdfa7 Accepting request 1237367 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1237367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=70
2025-01-14 15:21:26 +00:00
e430bd906e - Update to 11.1.0
* Added release notes for writing XMP bytes to JPEG and MPO #8627 [@radarhere]
  * Added release notes for using zlib-ng instead of zlib #8599 [@radarhere]
  * Replace python-pillow.org with python-pillow.github.io #8586 [@hugovk]
  * ImageFile tile is never None #8582 [@radarhere]
  * Only use start year in copyright, remove end years #8577 [@hugovk]
  * Python 3.12 is tested on MinGW #8575 [@radarhere]
  * Use brew formula to install libraqm #8574 [@radarhere]
  * Added link to GitHub releases in CHANGES #8571 [@radarhere]
  * Release drafter: move removals, deprecations, documentation up,
    and uncategorised changes last #8570 [@hugovk]
  * Updated macOS tested Pillow versions #8538 [@radarhere]
  * Use test image filename #8534 [@radarhere]
  * Update Windows 11 Arm64 tested versions #8523 [@nulano]
  * Move MPO into "Fully supported formats" #8504 [@radarhere]
  * Update license to MIT-CMU #8490 [@radarhere]
  * Update dependency mypy to v1.14.1 #8643 [@renovate]
  * Update dependency mypy to v1.14.0 #8613 [@renovate]
  * Updated libwebp to 1.5.0 #8612 [@radarhere]
  * Updated libXau to 1.0.12 #8598 [@radarhere]
  * Updated libjpeg-turbo to 3.1.0 #8595 [@radarhere]
  * Updated harfbuzz to 10.1.0 #8533 [@radarhere]
  * Updated openjpeg to 2.5.3 #8591 [@radarhere]
  * Update dependency cibuildwheel to v2.22.0 #8580 [@renovate]
  * Update codecov/codecov-action action to v5 #8557 [@renovate]
  * Migrate renovate config #8527 [@renovate]
  * Update dependency mypy to v1.13.0 #8491 [@renovate]
  * Update dependency mypy to v1.12.1 #8487 [@renovate]
  * Added CentOS Stream 10 #8646 [@radarhere]
  * Use monkeypatch #8628 [@radarhere]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=160
2025-01-13 09:58:15 +00:00
e522dbbc84 Accepting request 1222072 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1222072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pillow?expand=0&rev=69
2024-11-08 10:56:14 +00:00
4473517b7b - Update to 11.0.0.0
* Update licence to MIT-CMU #8460
    [hugovk]
  * Conditionally define ImageCms type hint to avoid requiring core #8197
    [radarhere]
  * Support writing LONG8 offsets in AppendingTiffWriter #8417
    [radarhere]
  * Use ImageFile.MAXBLOCK when saving TIFF images #8461
    [radarhere]
  * Do not close provided file handles with libtiff when saving #8458
    [radarhere]
  * Support ImageFilter.BuiltinFilter for I;16* images #8438
    [radarhere]
  * Use ImagingCore.ptr instead of ImagingCore.id #8341
    [homm, radarhere, hugovk]
  * Updated EPS mode when opening images without transparency #8281
    [Yay295, radarhere]
  * Use transparency when combining P frames from APNGs #8443
    [radarhere]
  * Support all resampling filters when resizing I;16* images #8422
    [radarhere]
  * Free memory on early return #8413
    [radarhere]
  * Cast int before potentially exceeding INT_MAX #8402
    [radarhere]
  * Check image value before use #8400
    [radarhere]
  * Improved copying imagequant libraries #8420
    [radarhere]
  * Use Capsule for WebP saving #8386

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=158
2024-11-07 09:53:20 +00:00
5 changed files with 579 additions and 5 deletions

26
libwebp150.patch Normal file
View File

@@ -0,0 +1,26 @@
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"))

BIN
pillow-10.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pillow-11.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,549 @@
-------------------------------------------------------------------
Wed Jul 2 07:29:33 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 11.3.0 (includes fix for CVE-2025-48379, bsc#1245578)
* Deprecations
* Deprecate fromarray mode argument #9018 [@radarhere]
* Deprecate saving I mode images as PNG #9023 [@radarhere]
* Documentation
* Added release notes for #9041 #9042 [@radarhere]
* Add release notes for #8912 and #8969 #9019 [@radarhere]
* ImageFont does not handle multiline text #9000 [@radarhere]
* Updated Ubuntu CI targets #8988 [@radarhere]
* Update MinGW package names #8987 [@H4M5TER]
* Updated docstring #8943 [@radarhere]
* Mention that tobytes() with the raw encoder uses Pack.c
#8878 [@radarhere]
* Refactor docs Makefile #8933 [@hugovk]
* Add template for quarterly release issue #8932 [@aclark4life]
* Add list of third party plugins #8910 [@radarhere]
* Update redirected URL #8919 [@radarhere]
* Docs: use sentence case for headers #8914 [@hugovk]
* Docs: remove unused Makefile targets #8917 [@hugovk]
* Remove indentation from lists #8915 [@radarhere]
* Python 3.13 is tested on Arch #8894 [@radarhere]
* Move XV Thumbnails to read only section #8893 [@aclark4life]
* Dependencies
* Updated macOS tested Pillow versions #8890 [@radarhere]
* Add AVIF to wheels using only aomenc and dav1d AVIF codecs for
reduced size #8858 [@fdintino]
* Use same AVIF URL when fetching dependency #8871 [@radarhere]
* Update dependency mypy to v1.16.1 #9026 [@renovate[bot]]
* Update libpng to 1.6.49 #9014 [@radarhere]
* Update dependency cibuildwheel to v3 #9010 [@renovate[bot]]
* Updated libjpeg-turbo to 3.1.1 #9009 [@radarhere]
* Update dependency mypy to v1.16.0 #8991 [@renovate[bot]]
* Updated libpng to 1.6.48 #8940 [@radarhere]
* Updated Ghostscript to 10.5.1 #8939 [@radarhere]
* Updated harfbuzz to 11.2.1 #8937 [@radarhere]
* Updated libavif to 1.3.0 #8949 [@radarhere]
* Update dependency cibuildwheel to v2.23.3 #8931 [@renovate[bot]]
* Updated harfbuzz to 11.1.0 #8904 [@radarhere]
* Testing
* Add match parameter to pytest.warns() #9038 [@hugovk]
* Increase pytest verbosity #9040 [@radarhere]
* Improve SgiImagePlugin test coverage #8896 [@radarhere]
* Update ruff pre-commit ID #8994 [@radarhere]
* Only check DHT marker for libjpeg-turbo #9025 [@radarhere]
* Improve BLP tests #9020 [@radarhere]
* Fix warning #9016 [@radarhere]
* Test Python 3.14t on macOS and Linux #9011 [@radarhere]
* Only accept missing tkinter when building wheels on Windows
#8981 [@radarhere]
* Fix test #8996 [@radarhere]
* Stop testing deprecated Windows Server 2019 runner image
#8989 [@radarhere]
* Run slow tests on valgrind, but without timeout #8975 [@radarhere]
* Close file pointer earlier #8895 [@radarhere]
* Added Fedora 42 #8899 [@radarhere]
* Removed Fedora 40 #8887 [@radarhere]
* Type hints
* Assert palette is not None #8877 [@radarhere]
* Do not import type checking #8854 [@radarhere]
* Improve type hints #8883 [@radarhere]
* Update dependency mypy to v1.16.0 #8991 [@renovate[bot]]
* Other changes
* Updated check script paths #9052 [@radarhere]
* Raise FileNotFoundError when opening an empty path #9048 [@radarhere]
* Handle IPTC TIFF tags with incorrect type #8925 [@radarhere]
* Do not update palette for L mode GIF frame #8924 [@radarhere]
* Use save parameters as encoderinfo defaults #9001 [@radarhere]
* Add support for iOS #9030 [@freakboy3742]
* Fix qtables and quality scaling #8879 [@Kyliroco]
* Read 16-bit McIdas images into I;16B mode to allow for memory mapping
#9046 [@radarhere]
* Support ttb multiline text #8730 [@radarhere]
* Use unpacking #9044 [@radarhere]
* Fix saving MPO with more than one appended image #8979 [@radarhere]
* Restore original encoderinfo after saving #8942 [@radarhere]
* Return PixelAccess from first load of ICO and IPTC images
#8922 [@radarhere]
* Improve justifying text #8905 [@radarhere]
* Set color table fourth channel to zero for 1 and L mode when saving BMP
#8889 [@radarhere]
* Improve reading XPM images #8874 [@radarhere]
* Fix buffer overflow when saving compressed DDS images #9041 [@radarhere]
* Use PEP 489 multi-phase initialization #8983 [@radarhere]
* Support saving I;16L TIFF images #9015 [@radarhere]
* Do not call sys.executable in ImageShow in PyInstaller application
#9028 [@radarhere]
* Search for libtiff library file first on Windows and macOS
#9034 [@radarhere]
* Fix libtiff cleanup #9002 [@radarhere]
* Use percent formatting for _dbg calls #9035 [@radarhere]
* Removed ImageCmsProfile._set method #9032 [@radarhere]
* Added Python 3.14 macOS x86-64 wheels #9031 [@radarhere]
* Support writing QOI images #9007 [@thisismypassport]
* Simplify C error handling #9021 [@radarhere]
* Add Python 3.14 beta wheels #9012 [@hugovk]
* Remove padding between interleaved PCX palette data #9005 [@radarhere]
* Start QOI decoding with a zero-initialized array of previously seen
pixels #9008 [@radarhere]
* Correct drawing I;16 horizontal lines #8985 [@radarhere]
* Reduce number of bytes read for PCX header #9004 [@radarhere]
* Handle XMP data from an UNDEFINED TIFF tag #8997 [@radarhere]
* Do not decode bytes in PPM error message #8958 [@radarhere]
* Parse XMP tag bytes without decoding to string #8960 [@radarhere]
* Clear TIFF core image if memory mapping was used for last load
#8962 [@radarhere]
* Use mask in C when drawing wide polygon lines #8984 [@radarhere]
* Simplify code #8863 [@radarhere]
* Call startswith once with a tuple #8998 [@radarhere]
* [pre-commit.ci] pre-commit autoupdate #8993 [@pre-commit-ci[bot]]
* Use ImageFile.MAXBLOCK in tobytes() #8906 [@radarhere]
* Removed unreachable code #8918 [@radarhere]
* Valgrind Memory Leak Checking #8954 [@wiredfool]
* Add parallel test target, using pytest-xdist #8972 [@wiredfool]
* Add support for flat uint8 arrow arrays for multi channel images
#8908 [@wiredfool]
* Removed CMAKE_POLICY_VERSION_MINIMUM=3.5 for libavif #8973 [@radarhere]
* Reduced number of bytes read in WMF header #8964 [@radarhere]
* Do not build against libavif < 1 #8969 [@radarhere]
* Improved support for Python 3.14 #8948 [@radarhere]
* [pre-commit.ci] pre-commit autoupdate #8944 [@pre-commit-ci[bot]]
* Allow loading ImageFile state from Pillow < 11.2.1 #8938 [@radarhere]
* Remove outdated comment #8929 [@radarhere]
* Add support for Grim in Wayland sessions ImageGrab #8912 [@AdianKozlica]
* Add make [-C docs] htmllive to rebuild and reload HTML files
#8913 [@hugovk]
* Build Windows arm64 wheels on arm64 runner #8898 [@radarhere]
-------------------------------------------------------------------
Mon May 12 10:00:32 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 11.2.1
* Moved get_child_images() to ImageFile #8689 [@radarhere]
* Add 11.2.1 release notes #8885 [@radarhere]
* Added avif to config settings #8875 [@radarhere]
* Added release notes for #8330 #8853 [@radarhere]
* Added release notes for #8781 and #8837 #8843 [@radarhere]
* Added media_white_point to ImageCms documentation #8829 [@radarhere]
* Removed FIXME #8825 [@radarhere]
* Updated comment #8822 [@radarhere]
* Added release notes for #8807 #8824 [@radarhere]
* DXT3 images are read in RGBA mode #8817 [@radarhere]
* JPEG comments are from the COM marker #8788 [@radarhere]
* Update Sphinx to 8.2 to remove nitpick ignore #8763 [@radarhere]
* Updated AffineTransform docstring to mention it uses the inverse matrix #8735 [@radarhere]
* Added MozJPEG documentation #8699 [@radarhere]
* Added Sphinx configuration key #8691 [@radarhere]
* Updated macOS tested Pillow versions #8654 [@radarhere]
* Updated xz to 5.8.1 #8868 [@radarhere]
* Updated harfbuzz to 11.0.1 #8870 [@radarhere]
* Update scientific-python/upload-nightly-action action to v0.6.2 #8865 [@renovate[bot]]
* Updated xz to 5.8.0 in macOS and Linux wheels, but not on manylinux2014 #8836 [@radarhere]
* Update dependency cibuildwheel to v2.23.2 #8832 [@renovate[bot]]
* Updated harfbuzz to 11.0.0 #8830 [@radarhere]
* Update dependency cibuildwheel to v2.23.1 #8818 [@renovate[bot]]
* Updated Ghostscript to 10.5.0 #8814 [@radarhere]
* Updated libtiff to 4.7.0 #8812 [@radarhere]
* [pre-commit.ci] pre-commit autoupdate #8795 [@pre-commit-ci[bot]]
* Updated harfbuzz to 10.4.0 #8770 [@radarhere]
* Update dependency mypy to v1.15.0 #8791 [@renovate[bot]]
* Updated libpng to 1.6.47 #8764 [@radarhere]
* Updated lcms2 to 2.17 #8742 [@radarhere]
* Update dependency cibuildwheel to v2.23.0 #8785 [@renovate[bot]]
* Updated zlib-ng to 2.2.4 #8745 [@radarhere]
* Updated libimagequant to 4.3.4 on Windows #8744 [@radarhere]
* [pre-commit.ci] pre-commit autoupdate #8729 [@pre-commit-ci[bot]]
* Updated harfbuzz to 10.2.0 #8688 [@radarhere]
* Updated xz to 5.6.4 #8711 [@radarhere]
* Updated libpng to 1.6.46 #8712 [@radarhere]
* Updated libimagequant to 4.3.4 #8710 [@radarhere]
* Updated libpng to 1.6.45 #8670 [@radarhere]
* Update cygwin/cygwin-install-action action to v5 #8675 [@renovate[bot]]
* [pre-commit.ci] pre-commit autoupdate #8665 [@pre-commit-ci[bot]]
* Updated freetype to 2.13.3 in macOS and Linux wheels #8653 [@radarhere]
* Upgrade zlib-ng to 2.2.3 #8656 [@hugovk]
* Fixed unclosed file warning #8847 [@radarhere]
* Assert image type #8619 [@radarhere]
* Parametrize tests #8838 [@radarhere]
* Change back to actions/setup-python #8833 [@radarhere]
* Simplified test code #8823 [@radarhere]
* Improved FliImagePlugin test coverage #8806 [@radarhere]
* Install libtiff-dev on Ubuntu GitHub Actions #8816 [@radarhere]
* Test using _seek to skip frames #8804 [@radarhere]
* Improved PcxImagePlugin test coverage #8797 [@radarhere]
* Use match argument #8801 [@radarhere]
* Improved BdfFontFile test coverage #8783 [@radarhere]
* Revert "Do not install libimagequant" #8778 [@radarhere]
* Improved FtexImagePlugin test coverage #8766 [@radarhere]
* Improved FontFile test coverage #8771 [@radarhere]
* Improved MpoImagePlugin test coverage #8765 [@radarhere]
* Improved SunImagePlugin coverage #8762 [@radarhere]
* Improve TarIO test coverage #8759 [@radarhere]
* Improve type checking in tests #8618 [@radarhere]
* Add PyPy3.11 to CI #8758 [@hugovk]
* Don't call make clean or pip in tox #8754 [@hugovk]
* Don't shadow builtin open #8756 [@radarhere]
* Removed unused test code #8752 [@radarhere]
* Use monkeypatch #8747 [@radarhere]
* Do not install libimagequant on MinGW #8724 [@radarhere]
* Use getpixel() instead of load() #8727 [@radarhere]
* Revert "Ignore brew dependencies for libraqm on macOS 13" #8725 [@radarhere]
* Fixed exceptions when closing AppendingTiffWriter #8723 [@radarhere]
* Fixed unclosed file warnings #8705 [@radarhere]
* Use monkeypatch #8707 [@radarhere]
* Use Ubuntu 22.04 for 24.04 ppc64le and s390x #8713 [@radarhere]
* Updated Ubuntu arm to 24.04 with arm64 runner #8700 [@radarhere]
* Test oldest Python on 32-bit Windows 2019 and remove AppVeyor #8525 [@hugovk]
* Corrected argument types #8681 [@radarhere]
* Test Python 3.14 pre-release #8690 [@radarhere]
* Skip test_embeddable if compiler cannot be initialized #8686 [@radarhere]
* Improved test coverage #8679 [@radarhere]
* Removed xfail for test_embeddable on Python 3.13 #8683 [@radarhere]
* Use python-numpy and python-olefile instead of virtual python3 packages #8682 [@hugovk]
* Use python-pip instead of python3-pip in MinGW #8678 [@radarhere]
* Use ImageFile._Tile #8666 [@radarhere]
* Improved SPIDER test coverage #8668 [@radarhere]
* Removed unused image open #8649 [@radarhere]
* PngImageFile text is a property #8648 [@radarhere]
* Trigger wheel builds from changes in pyproject.toml #8674 [@radarhere]
* Added fromarrow type hints #8867 [@radarhere]
* Assert image type #8619 [@radarhere]
* Check that _fp type is not DeferredError before use #8640 [@radarhere]
* Corrected type check #8760 [@radarhere]
* Improve type checking in tests #8618 [@radarhere]
* Corrected argument types #8681 [@radarhere]
* Use ImageFile._Tile #8666 [@radarhere]
* Added return types #8639 [@radarhere]
* Add overloads for exif_transpose #8657 [@cdce8p]
* Do not include libavif in wheels #8876 [@radarhere]
* Remove GPL v2 from FreeType license #8884 [@radarhere]
* [pre-commit.ci] pre-commit autoupdate #8873 [@pre-commit-ci[bot]]
* Replace deprecated classifier with licence expression (PEP 639) #8850 [@hugovk]
* Fixed conversion of AVIF image rotation property to EXIF orientation #8866 [@fdintino]
* Removed condition that is always true #8862 [@radarhere]
* Use multibuild build_github #8861 [@radarhere]
* Include filename in ImageFile state #8859 [@radarhere]
* Add KDE Wayland support for ImageGrab #8842 [@AdianKozlica]
* Only change readonly if saved filename matches opened filename #8852 [@radarhere]
* Allow HWND to be passed to ImageGrab.grab() on Windows #8516 [@radarhere]
* Allow cmake<4 when building libavif and libtiff #8851 [@radarhere]
* Image -> Arrow support #8330 [@wiredfool]
* Add AVIF plugin (decoder + encoder using libavif) #5201 [@fdintino]
* Updated xz to 5.8.0 on manylinux2014 by removing po4a dependency #8848 [@radarhere]
* Revert to zlib on macOS < 10.15 #8772 [@radarhere]
* Close TarIO file handle on error #8846 [@radarhere]
* Do not import TYPE_CHECKING #8844 [@radarhere]
* Enable memory mapping on PyPy #8840 [@radarhere]
* Corrected Palm P mode save #8685 [@radarhere]
* Improved connecting discontiguous corners #8659 [@radarhere]
* Only read until the offset of the next tile #8609 [@radarhere]
* Added USE_RAW_ALPHA for BMP images #8602 [@radarhere]
* Fixed orientation when opening YCbCr TIFF images #8556 [@radarhere]
* Allow loading of EMF images at a given DPI #8536 [@radarhere]
* Skip failing records when rendering WMF images #8506 [@radarhere]
* If append_images is populated, default save_all to True #8781 [@radarhere]
* Added GimpPaletteFile frombytes() to allow for unlimited parsing #8826 [@radarhere]
* Do not load image during save if file extension is unknown #8835 [@radarhere]
* Do not convert BC1 LUT to UINT32 #8837 [@radarhere]
* Start from zero index when reading GimpPaletteFile #8805 [@radarhere]
* Support saving DDS images with pixel formats #8807 [@radarhere]
* If every TIFF tile covers the image, only use the last offset #8820 [@radarhere]
* Use docker/setup-qemu-action #8819 [@radarhere]
* Replace deprecated Renovate schedule with cron syntax #8810 [@hugovk]
* Allow coords to be sequence of lists #8800 [@radarhere]
* Use ABCMeta in classes with abstractmethod #8803 [@radarhere]
* Support reading grayscale JPEG2000 images with 4 channels #8786 [@radarhere]
* Allow encoderconfig and encoderinfo to be set for appended TIFF images #8780 [@radarhere]
* Call startswith/endswith once with a tuple, and range without start=0 #8799 [@hugovk]
* Corrected exif_transpose error when XMP is tuple #8792 [@radarhere]
* Fixed loading GD images #8793 [@radarhere]
* Image.core.outline will no longer raise an AttributeError #8794 [@radarhere]
* Removed ImageTk._show #8782 [@radarhere]
* _seek_check already raises an EOFError #8773 [@radarhere]
* Only set mode when necessary in FtexImagePlugin #8767 [@radarhere]
* Build PyPy3.11 wheel for macOS 10.15 x86_64 #8789 [@hugovk]
* Replace slice and comparison with startswith/endswith #8761 [@hugovk]
* Use member names to initialize PyTypeObjects #8741 [@radarhere]
* Pass CFLAGS to build_simple directly #8738 [@radarhere]
* Only crop GIF frames when saving with disposal method 2 if transparency is present #8748 [@radarhere]
* Update pythoncapi_compat.h to fix building with PyPy3.11 #8757 [@mgorny]
* Rewrite the install_name of the ZLIB-NG library on macOS #8673 [@freakboy3742]
* Remove debug Image._wedge #8755 [@hugovk]
* Remove unused bdf_slant and bdf_spacing variables #8753 [@hugovk]
* Use boolean format argument for irreversible #8739 [@radarhere]
* Simplify Python code by receiving tuple from C #8740 [@radarhere]
* Use member names to initialize modules #8734 [@radarhere]
* Simplify Python code by passing tuples to C #8733 [@radarhere]
* Removed redundant argument parsing #8732 [@radarhere]
* Added "justify" align for multiline text #8721 [@radarhere]
* Seek relative to current position #8709 [@radarhere]
* Only use outside border of stroke in text() #8701 [@radarhere]
* Support saving PNG cICP chunk #8704 [@radarhere]
* Use Py_RETURN_NONE macro when possible #8717 [@radarhere]
* Added ImageFile close() #8702 [@radarhere]
* Use arm64 Linux runners for wheels #8698 [@radarhere]
* Test Windows amd64 wheels with NumPy #8696 [@radarhere]
* Added logging to TiffImagePlugin fixIFD() #8568 [@radarhere]
* Removed miniconda CPPFLAGS #8695 [@radarhere]
* Improved comment #8694 [@radarhere]
* Only F mode starts with F #8684 [@radarhere]
* Allow saving multiple frames as BigTIFF #8663 [@radarhere]
* Simplified converting to char * #8662 [@radarhere]
* Use namedtuple _replace #8652 [@radarhere]
* Updated TIFF decode error message string #8660 [@HarmvandenBrand]
* Added compile-time mozjpeg feature flag #8645 [@radarhere]
* Improved Docker coverage reporting #8664 [@radarhere]
* Removed giflib as webp dependency #8661 [@radarhere]
* Corrected installing ImageMagick on cifuzz #8658 [@radarhere]
-------------------------------------------------------------------
Mon Mar 24 12:38:24 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add patch libwebp150.patch to skip tests failing on s390x
* reported: https://github.com/python-pillow/Pillow/issues/8831
-------------------------------------------------------------------
Mon Jan 13 08:31:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 11.1.0
* Added release notes for writing XMP bytes to JPEG and MPO #8627 [@radarhere]
* Added release notes for using zlib-ng instead of zlib #8599 [@radarhere]
* Replace python-pillow.org with python-pillow.github.io #8586 [@hugovk]
* ImageFile tile is never None #8582 [@radarhere]
* Only use start year in copyright, remove end years #8577 [@hugovk]
* Python 3.12 is tested on MinGW #8575 [@radarhere]
* Use brew formula to install libraqm #8574 [@radarhere]
* Added link to GitHub releases in CHANGES #8571 [@radarhere]
* Release drafter: move removals, deprecations, documentation up,
and uncategorised changes last #8570 [@hugovk]
* Updated macOS tested Pillow versions #8538 [@radarhere]
* Use test image filename #8534 [@radarhere]
* Update Windows 11 Arm64 tested versions #8523 [@nulano]
* Move MPO into "Fully supported formats" #8504 [@radarhere]
* Update license to MIT-CMU #8490 [@radarhere]
* Update dependency mypy to v1.14.1 #8643 [@renovate]
* Update dependency mypy to v1.14.0 #8613 [@renovate]
* Updated libwebp to 1.5.0 #8612 [@radarhere]
* Updated libXau to 1.0.12 #8598 [@radarhere]
* Updated libjpeg-turbo to 3.1.0 #8595 [@radarhere]
* Updated harfbuzz to 10.1.0 #8533 [@radarhere]
* Updated openjpeg to 2.5.3 #8591 [@radarhere]
* Update dependency cibuildwheel to v2.22.0 #8580 [@renovate]
* Update codecov/codecov-action action to v5 #8557 [@renovate]
* Migrate renovate config #8527 [@renovate]
* Update dependency mypy to v1.13.0 #8491 [@renovate]
* Update dependency mypy to v1.12.1 #8487 [@renovate]
* Added CentOS Stream 10 #8646 [@radarhere]
* Use monkeypatch #8628 [@radarhere]
* Pass file handle to ContainerIO #8625 [@radarhere]
* Use register_handler #8499 [@radarhere]
* Use monkeypatch #8626 [@radarhere]
* Test libjpeg-turbo on macOS #8596 [@radarhere]
* Test 3.13t (free-threaded) from Quansight-Labs/setup-python
on Linux and macOS #8565 [@hugovk]
* Run gcc problem matcher on Python 3.13 #8541 [@radarhere]
* Add trove-classifiers>=2024.10.12 to 'tests' extra and
use for Windows CI #8514 [@hugovk]
* Apply security fixes to GitHub Actions #8526 [@hugovk]
* Remove unused gcov: true for codecov-action@v4 #8521 [@hugovk]
* Added Fedora 41 #8520 [@radarhere]
* Do not repeatedly save to the same path #8512 [@radarhere]
* Use fixture to re-open image for each JPEG2000 test #8484 [@radarhere]
* Fixed catching warnings #8505 [@radarhere]
* Updated test type hint #8482 [@radarhere]
* Removed Fedora 39 #8466 [@radarhere]
* Pass file handle to ContainerIO #8625 [@radarhere]
* Corrected loadImageSeries type hint #8624 [@radarhere]
* Removed quotes after dropping support for Python 3.8 #8544 [@radarhere]
* Fixed type hint #8532 [@radarhere]
* Updated test type hint #8482 [@radarhere]
* Corrected BLP1 alpha depth handling #8651 [@radarhere]
* Remove pre-C99 definitions #8644 [@radarhere]
* Allow saving as BigTIFF #8642 [@radarhere]
* Restored Makernote as a deprecated enum #8629 [@radarhere]
* Use elif #8641 [@radarhere]
* Add zizmor to pre-commit and fix potential cache-poisoning
in wheels workflow #8638 [@hugovk]
* Keep new IFDs when converting EXIF to bytes #8635 [@radarhere]
* Added RGBX;16N to RGB unpacker #8637 [@radarhere]
* Populate JPEG DPI from JFIF cm density #8633 [@radarhere]
* Support saving CMYK JP2 images #8592 [@radarhere]
* Added reading of J2K comments #8622 [@radarhere]
* Removed variable #8631 [@radarhere]
* Do not use temporary file in ImageGrab.grabclipboard() on macOS #8630 [@radarhere]
* Fixed connecting discontiguous corners #8620 [@radarhere]
* Do not create new image when exif_transpose() is used in place #8555 [@radarhere]
* Added default values for _Tile offset and args #8553 [@radarhere]
* Platform guessing affects more than just Linux #8551 [@radarhere]
* Raise UnidentifiedImageError when opening TIFF without dimensions #8535 [@radarhere]
* Pass IFDs to libtiff as TIFF_LONG8 #8529 [@radarhere]
* Do not save XMP from JPEG info #8483 [@radarhere]
* Include JpegImageFile layers in pickle state #8476 [@radarhere]
* Fixed indentation #8623 [@radarhere]
* Updated MakerNote capitalization #8615 [@radarhere]
* Replace constants with EXIF enums #8611 [@radarhere]
* Install libjpeg-turbo8-dev #8610 [@radarhere]
* Raise ValueError when WMF inch is zero #8600 [@radarhere]
* Extract tar files with "data" filter in Windows build scripts #8606 [@radarhere]
* Updated libjpeg-turbo URL #8608 [@radarhere]
* Derive dir from filename if root is the same in winbuild #8567 [@radarhere]
* Updated libjpeg-turbo and harfbuzz URLs #8604 [@radarhere]
* Do not describe raw data as a table #8579 [@radarhere]
* Improved handling of RGBA palettes when saving GIF images #8494 [@radarhere]
* Use .tar.gz zlib in Windows build to match macOS and Linux #8601 [@radarhere]
* Use zlib-ng instead of zlib #8500 [@nulano]
* Do not attempt to install cmake if it is already present #8593 [@radarhere]
* [pre-commit.ci] pre-commit autoupdate #8578 [@pre-commit-ci]
* Updated build option error messages #8576 [@radarhere]
* Fix file position desync when calling into libtiff #8560 [@Knio]
* Do not attempt to install cmake a second time when building macOS
or Linux wheels #8566 [@radarhere]
* Do not install Pyroma in MinGW, to use only system packages #8562 [@radarhere]
* Isolate macOS wheel builds from Homebrew #8497 [@freakboy3742]
* Removed use of os.path.realpath #8545 [@radarhere]
* Allow linking to zlib import library on Windows #8519 [@cubanpit]
* [pre-commit.ci] pre-commit autoupdate #8531 [@pre-commit-ci]
* Detach PyQt6 QPixmap instance before returning #8509 [@radarhere]
* Upgraded multibuild to remove openjpeg lib64 copy #8511 [@radarhere]
* brew remove libdeflate #8502 [@radarhere]
* Fix SEGFAULT from calling FT_New_Face/FT_Done_Face in multiple
threads #8496 [@lysnikolaou]
* Corrected EMF DPI #8485 [@radarhere]
* Added filename placeholder in winbuild URL #8498 [@radarhere]
* Fix IFDRational with a zero denominator #8474 [@renovate]
* Fixed disabling a feature during install #8469 [@radarhere]
* Skip PyPy3.9 wheels #8467 [@radarhere]
* Removed unnecessary code #8465 [@radarhere]
-------------------------------------------------------------------
Thu Nov 7 09:39:59 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 11.0.0.0
* Update licence to MIT-CMU #8460
[hugovk]
* Conditionally define ImageCms type hint to avoid requiring core #8197
[radarhere]
* Support writing LONG8 offsets in AppendingTiffWriter #8417
[radarhere]
* Use ImageFile.MAXBLOCK when saving TIFF images #8461
[radarhere]
* Do not close provided file handles with libtiff when saving #8458
[radarhere]
* Support ImageFilter.BuiltinFilter for I;16* images #8438
[radarhere]
* Use ImagingCore.ptr instead of ImagingCore.id #8341
[homm, radarhere, hugovk]
* Updated EPS mode when opening images without transparency #8281
[Yay295, radarhere]
* Use transparency when combining P frames from APNGs #8443
[radarhere]
* Support all resampling filters when resizing I;16* images #8422
[radarhere]
* Free memory on early return #8413
[radarhere]
* Cast int before potentially exceeding INT_MAX #8402
[radarhere]
* Check image value before use #8400
[radarhere]
* Improved copying imagequant libraries #8420
[radarhere]
* Use Capsule for WebP saving #8386
[homm, radarhere]
* Fixed writing multiple StripOffsets to TIFF #8317
[Yay295, radarhere]
* Fix dereference before checking for NULL in ImagingTransformAffine #8398
[PavlNekrasov]
* Use transposed size after opening for TIFF images #8390
[radarhere, homm]
* Improve ImageFont error messages #8338
[yngvem, radarhere, hugovk]
* Mention MAX_TEXT_CHUNK limit in PNG error message #8391
[radarhere]
* Cast Dib handle to int #8385
[radarhere]
* Accept float stroke widths #8369
[radarhere]
* Deprecate ICNS (width, height, scale) sizes in favour of load(scale) #8352
[radarhere]
* Improved handling of RGBA palettes when saving GIF images #8366
[radarhere]
* Deprecate isImageType #8364
[radarhere]
* Support converting more modes to LAB by converting to RGBA first #8358
[radarhere]
* Deprecate support for FreeType 2.9.0 #8356
[hugovk, radarhere]
* Removed unused TiffImagePlugin IFD_LEGACY_API #8355
[radarhere]
* Handle duplicate EXIF header #8350
[zakajd, radarhere]
* Return early from BoxBlur if either width or height is zero #8347
[radarhere]
* Check text is either string or bytes #8308
[radarhere]
* Added writing XMP bytes to JPEG #8286
[radarhere]
* Support JPEG2000 RGBA palettes #8256
[radarhere]
* Expand C image to match GIF frame image size #8237
[radarhere]
* Allow saving I;16 images as PPM #8231
[radarhere]
* When IFD is missing, connect get_ifd() dictionary to Exif #8230
[radarhere]
* Skip truncated ICO mask if LOAD_TRUNCATED_IMAGES is enabled #8180
[radarhere]
* Treat unknown JPEG2000 colorspace as unspecified #8343
[radarhere]
* Updated error message when saving WebP with invalid width or height #8322
[radarhere, hugovk]
* Remove warning if NumPy failed to raise an error during conversion #8326
[radarhere]
* If left and right sides meet in ImageDraw.rounded_rectangle(),
do not draw rectangle to fill gap #8304
[radarhere]
* Remove WebP support without anim, mux/demux, and with buggy alpha #8213
[homm, radarhere]
* Add missing TIFF CMYK;16B reader #8298
[homm]
* Remove all WITH_* flags from _imaging.c and other flags #8211
[homm]
* Improve ImageDraw2 shape methods #8265
[radarhere]
* Lock around usages of imaging memory arenas #8238
[lysnikolaou]
* Deprecate JpegImageFile huffman_ac and huffman_dc #8274
[radarhere]
* Deprecate ImageMath lambda_eval and unsafe_eval options argument #8242
[radarhere]
* Changed ContainerIO to subclass IO #8240
[radarhere]
* Move away from APIs that use borrowed references under the free-threaded build #8216
[hugovk, lysnikolaou]
* Allow size argument to resize() to be a NumPy array #8201
[radarhere]
* Drop support for Python 3.8 #8183
[hugovk, radarhere]
* Add support for Python 3.13 #8181
[hugovk, radarhere]
* Fix incompatibility with NumPy 1.20 #8187
[neutrinoceros, radarhere]
* Remove PSFile, PyAccess and USE_CFFI_ACCESS #8182
[hugovk, radarhere]
-------------------------------------------------------------------
Mon Jul 22 12:21:56 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Pillow
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,12 +18,14 @@
%{?sle15_python_module_pythons}
Name: python-Pillow
Version: 10.4.0
Version: 11.3.0
Release: 0
Summary: Python Imaging Library (Fork)
License: HPND
URL: https://python-pillow.org/
Source: https://files.pythonhosted.org/packages/source/p/pillow/pillow-%{version}.tar.gz
# PATCH-FIX-UPSTREAM as per https://github.com/python-pillow/Pillow/issues/8831
Patch: libwebp150.patch
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module olefile}
BuildRequires: %{python_module pip}