Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
cca0c273b0 |
BIN
Pillow-10.0.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
Pillow-10.0.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,26 +0,0 @@
|
||||
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-11.3.0.tar.gz
(Stored with Git LFS)
BIN
pillow-11.3.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,803 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Update to 10.4.0
|
||||
* Raise FileNotFoundError if show_file() path does not exist #8178
|
||||
[radarhere]
|
||||
* Improved reading 16-bit TGA images with colour #7965
|
||||
[Yay295, radarhere]
|
||||
* Deprecate non-image ImageCms modes #8031
|
||||
[radarhere]
|
||||
* Fixed processing multiple JPEG EXIF markers #8127
|
||||
[radarhere]
|
||||
* Do not preserve EXIFIFD tag by default when saving TIFF images #8110
|
||||
[radarhere]
|
||||
* Added ImageFont.load_default_imagefont() #8086
|
||||
[radarhere]
|
||||
* Added Image.WARN_POSSIBLE_FORMATS #8063
|
||||
[radarhere]
|
||||
* Remove zero-byte end padding when parsing any XMP data #8171
|
||||
[radarhere]
|
||||
* Do not detect Ultra HDR images as MPO #8056
|
||||
[radarhere]
|
||||
* Raise SyntaxError specific to JP2 #8146
|
||||
[Yay295, radarhere]
|
||||
* Do not use first frame duration for other frames when saving APNG images #8104
|
||||
[radarhere]
|
||||
* Consider I;16 pixel size when using a 1 mode mask #8112
|
||||
[radarhere]
|
||||
* When saving multiple PNG frames, convert to mode rather than raw mode #8087
|
||||
[radarhere]
|
||||
* Added byte support to FreeTypeFont #8141
|
||||
[radarhere]
|
||||
* Allow float center for rotate operations #8114
|
||||
[radarhere]
|
||||
* Do not read layers immediately when opening PSD images #8039
|
||||
[radarhere]
|
||||
* Restore original thread state #8065
|
||||
[radarhere]
|
||||
* Read IM and TIFF images as RGB, rather than RGBX #7997
|
||||
[radarhere]
|
||||
* Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED #7948
|
||||
[radarhere]
|
||||
* Clarify ImageDraw2 error message when size is missing #8165
|
||||
[radarhere]
|
||||
* Support unpacking more rawmodes to RGBA palettes #7966
|
||||
[radarhere]
|
||||
* Removed support for Qt 5 #8159
|
||||
[radarhere]
|
||||
* Improve ``ImageFont.freetype`` support for XDG directories on Linux #8135
|
||||
[mamg22, radarhere]
|
||||
* Improved consistency of XMP handling #8069
|
||||
[radarhere]
|
||||
* Use pkg-config to help find libwebp and raqm #8142
|
||||
[radarhere]
|
||||
* Accept 't' suffix for libtiff version #8126, #8129
|
||||
[radarhere]
|
||||
* Deprecate ImageDraw.getdraw hints parameter #8124
|
||||
[radarhere, hugovk]
|
||||
* Added ImageDraw circle() #8085
|
||||
[void4, hugovk, radarhere]
|
||||
* Add mypy target to Makefile #8077
|
||||
[Yay295]
|
||||
* Added more modes to Image.MODES #7984
|
||||
[radarhere]
|
||||
* Deprecate BGR;15, BGR;16 and BGR;24 modes #7978
|
||||
[radarhere, hugovk]
|
||||
* Fix ImagingAccess for I;16N on big-endian #7921
|
||||
[Yay295, radarhere]
|
||||
* Support reading P mode TIFF images with padding #7996
|
||||
[radarhere]
|
||||
* Deprecate support for libtiff < 4 #7998
|
||||
[radarhere, hugovk]
|
||||
* Corrected ImageShow UnixViewer command #7987
|
||||
[radarhere]
|
||||
* Use functools.cached_property in ImageStat #7952
|
||||
[nulano, hugovk, radarhere]
|
||||
* Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER #7956
|
||||
[Cirras, radarhere]
|
||||
* Support reading CMYK JPEG2000 images #7947
|
||||
[radarhere]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 10 12:07:32 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Reenable tests for s390x and ppc, bsc#1222553
|
||||
gh#python-pillow/Pillow#1204
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 07:29:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 10.3.0 (bsc#1222262, CVE-2024-28219):
|
||||
* CVE-2024-28219: Use strncpy to avoid buffer overflow #7928
|
||||
[radarhere, hugovk]
|
||||
* Deprecate eval(), replacing it with lambda_eval() and
|
||||
unsafe_eval() #7927 [radarhere, hugovk]
|
||||
* Raise ValueError if seeking to greater than offset-sized
|
||||
integer in TIFF #7883 [radarhere]
|
||||
* Add --report argument to __main__.py to omit supported
|
||||
formats #7818 [nulano, radarhere, hugovk]
|
||||
* Added RGB to I;16, I;16L, I;16B and I;16N conversion #7918,
|
||||
#7920 [radarhere]
|
||||
* Fix editable installation with custom build backend and
|
||||
configuration options #7658 [nulano, radarhere]
|
||||
* Fix putdata() for I;16N on big-endian #7209 [Yay295, hugovk,
|
||||
radarhere]
|
||||
* Determine MPO size from markers, not EXIF data #7884
|
||||
[radarhere]
|
||||
* Improved conversion from RGB to RGBa, LA and La #7888
|
||||
[radarhere]
|
||||
* Support FITS images with GZIP_1 compression #7894 [radarhere]
|
||||
* Use I;16 mode for 9-bit JPEG 2000 images #7900 [scaramallion,
|
||||
radarhere]
|
||||
* Raise ValueError if kmeans is negative #7891 [radarhere]
|
||||
* Remove TIFF tag OSUBFILETYPE when saving using libtiff #7893
|
||||
[radarhere]
|
||||
* Raise ValueError for negative values when loading P1-P3 PPM
|
||||
images #7882 [radarhere]
|
||||
* Added reading of JPEG2000 palettes #7870 [radarhere]
|
||||
* Added alpha_quality argument when saving WebP images #7872
|
||||
[radarhere]
|
||||
* Fixed joined corners for ImageDraw rounded_rectangle() non-
|
||||
integer dimensions #7881 [radarhere]
|
||||
* Stop reading EPS image at EOF marker #7753 [radarhere]
|
||||
* PSD layer co-ordinates may be negative #7706 [radarhere]
|
||||
* Use subprocess with CREATE_NO_WINDOW flag in ImageShow
|
||||
WindowsViewer #7791 [radarhere]
|
||||
* When saving GIF frame that restores to background color, do
|
||||
not fill identical pixels #7788 [radarhere]
|
||||
* Fixed reading PNG iCCP compression method #7823 [radarhere]
|
||||
* Allow writing IFDRational to UNDEFINED tag #7840 [radarhere]
|
||||
* Fix logged tag name when loading Exif data #7842 [radarhere]
|
||||
* Use maximum frame size in IHDR chunk when saving APNG images
|
||||
#7821 [radarhere]
|
||||
* Prevent opening P TGA images without a palette #7797
|
||||
[radarhere]
|
||||
* Use palette when loading ICO images #7798 [radarhere]
|
||||
* Use consistent arguments for load_read and load_seek #7713
|
||||
[radarhere]
|
||||
* Turn off nullability warnings for macOS SDK #7827 [radarhere]
|
||||
* Fix shift-sign issue in Convert.c #7838 [r-barnes, radarhere]
|
||||
* Open 16-bit grayscale PNGs as I;16 #7849 [radarhere]
|
||||
* Handle truncated chunks at the end of PNG images #7709
|
||||
[lajiyuan, radarhere]
|
||||
* Match mask size to pasted image size in GifImagePlugin #7779
|
||||
[radarhere]
|
||||
* Release GIL while calling WebPAnimDecoderGetNext #7782
|
||||
[evanmiller, radarhere]
|
||||
* Fixed reading FLI/FLC images with a prefix chunk #7804
|
||||
[twolife]
|
||||
* Update wl-paste handling and return None for some errors in
|
||||
grabclipboard() on Linux #7745 [nik012003, radarhere]
|
||||
* Remove execute bit from setup.py #7760 [hugovk]
|
||||
* Do not support using test-image-results to upload images
|
||||
after test failures #7739 [radarhere]
|
||||
* Changed ImageMath.ops to be static #7721 [radarhere]
|
||||
* Fix APNG info after seeking backwards more than twice #7701
|
||||
[esoma, radarhere]
|
||||
* Deprecate ImageCms constants and versions() function #7702
|
||||
[nulano, radarhere]
|
||||
* Added PerspectiveTransform #7699 [radarhere]
|
||||
* Add support for reading and writing grayscale PFM images
|
||||
#7696 [nulano, hugovk]
|
||||
* Add LCMS2 flags to ImageCms #7676 [nulano, radarhere, hugovk]
|
||||
* Rename x64 to AMD64 in winbuild #7693 [nulano]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 06:00:50 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 10.2.0:
|
||||
* Add ``keep_rgb`` option when saving JPEG to prevent conversion of
|
||||
RGB colorspace
|
||||
* Trim glyph size in ImageFont.getmask()
|
||||
* Deprecate IptcImagePlugin helpers
|
||||
* Allow uncompressed TIFF images to be saved in chunks
|
||||
* Concatenate multiple JPEG EXIF markers
|
||||
* Changed IPTC tile tuple to match other plugins
|
||||
* Do not assign new fp attribute when exiting context manager
|
||||
* Support arbitrary masks for uncompressed RGB DDS images
|
||||
* Support setting ROWSPERSTRIP tag
|
||||
* Apply ImageFont.MAX_STRING_LENGTH to ImageFont.getmask()
|
||||
* Optimise ``ImageColor`` using ``functools.lru_cache``
|
||||
* Restricted environment keys for ImageMath.eval()
|
||||
(CVE-2023-50447, bsc#1219048)
|
||||
* Optimise ``ImageMode.getmode`` using ``functools.lru_cache``
|
||||
* Fix incorrect color blending for overlapping glyphs
|
||||
* Attempt memory mapping when tile args is a string
|
||||
* Fill identical pixels with transparency in subsequent frames when
|
||||
saving GIF
|
||||
* Corrected duration when combining multiple GIF frames into single frame
|
||||
* Handle disposing GIF background from outside palette
|
||||
* Seek past the data when skipping a PSD layer
|
||||
* Import plugins relative to the module
|
||||
* Translate encoder error codes to strings; deprecate
|
||||
``ImageFile.raise_oserror()``
|
||||
* Support reading BC4U and DX10 BC1 images
|
||||
* Optimize ImageStat.Stat.extrema
|
||||
* Handle pathlib.Path in FreeTypeFont
|
||||
* Added support for reading DX10 BC4 DDS images
|
||||
* Optimized ImageStat.Stat.count
|
||||
* Correct PDF palette size when saving
|
||||
* Fixed closing file pointer with olefile 0.47
|
||||
* Raise ValueError when TrueType font size is not greater than zero
|
||||
* If absent, do not try to close fp when closing image
|
||||
* Allow configuring JPEG restart marker interval on save
|
||||
* Decrement reference count for PyObject
|
||||
* Implement ``streamtype=1`` option for tables-only JPEG encoding
|
||||
* If save_all PNG only has one frame, do not create animated image
|
||||
* Fixed frombytes() for images with a zero dimension
|
||||
- Switch to autosetup and pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 08:54:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 10.1.0:
|
||||
* Added TrueType default font to allow for different sizes
|
||||
* Fixed invalid argument warning #7442
|
||||
* Added ImageOps cover method #7412
|
||||
* Catch struct.error from truncated EXIF when reading JPEG DPI
|
||||
* Consider default image when selecting mode for PNG save_all
|
||||
* Support BGR;15, BGR;16 and BGR;24 access, unpacking and
|
||||
putdata #7303
|
||||
* Added CMYK to RGB unpacker #7310
|
||||
* Improved flexibility of XMP parsing #7274
|
||||
* Support reading 8-bit YCbCr TIFF images #7415
|
||||
* Allow saving I;16B images as PNG #7302
|
||||
* Corrected drawing I;16 points and writing I;16 text #7257
|
||||
* Set blue channel to 128 for BC5S #7413
|
||||
* Increase flexibility when reading IPTC fields #7319
|
||||
* Set C palette to be empty by default #7289
|
||||
* Added gs_binary to control Ghostscript use on all platforms
|
||||
* Read bounding box information from the trailer of EPS files
|
||||
if specified #7382
|
||||
* Added reading 8-bit color DDS images #7426
|
||||
* Added has_transparency_data #7420
|
||||
* Fixed bug when reading BC5S DDS images #7401
|
||||
* Prevent TIFF orientation from being applied more than once
|
||||
* Use previous pixel alpha for QOI_OP_RGB #7357
|
||||
* Added BC5U reading #7358
|
||||
* Allow getpixel() to accept a list #7355
|
||||
* Allow GaussianBlur and BoxBlur to accept a sequence of x and
|
||||
y radii #7336
|
||||
* Expand JPEG buffer size when saving optimized or progressive
|
||||
* Added session type check for Linux in
|
||||
ImageGrab.grabclipboard() #7332
|
||||
* Allow "loop=None" when saving GIF images #7329
|
||||
* Fixed transparency when saving P mode images to PDF #7323
|
||||
* Added saving LA images as PDFs #7299
|
||||
* Set SMaskInData to 1 for PDFs with alpha #7316, #7317
|
||||
* Changed Image mode property to be read-only by default #7307
|
||||
* Silence exceptions in _repr_jpeg_ and _repr_png_ #7266
|
||||
* Do not use transparency when saving GIF if it has been
|
||||
removed when normalizing mode #7284
|
||||
* Fix missing symbols when libtiff depends on libjpeg #7270
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 18 15:21:40 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
@@ -1337,12 +537,12 @@ Wed Mar 3 07:41:14 UTC 2021 - Adrian Schröter <adrian@suse.de>
|
||||
* CVE-2021-25291: In TiffDecode.c, invalid tile boundaries could lead to an OOB Read in TiffReadRGBATile
|
||||
* CVE-2021-25292: The PDF parser has a catastrophic backtracking regex that could be used as a DOS attack.
|
||||
* CVE-2021-25293: There is an Out of Bounds Read in SGIRleDecode.c, since pillow 4.3.0.
|
||||
|
||||
|
||||
There is an Exhaustion of Memory DOS in the ICNS, ICO, and BLP container formats where Pillow
|
||||
did not properly check the reported size of the contained image. These images could cause
|
||||
arbitrariliy large memory allocations. This was reported by Jiayi Lin, Luke Shaffer, Xinran Xie,
|
||||
and Akshay Ajayan of ASU.edu.
|
||||
|
||||
|
||||
Other Changes
|
||||
A crash with the feature flags for LibJpeg and Webp on unreleased Python 3.10 has been fixed
|
||||
|
||||
@@ -1356,26 +556,26 @@ Thu Jan 28 15:07:09 UTC 2021 - Oliver Kurz <okurz@suse.com>
|
||||
Sun Jan 24 11:00:39 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 8.1.0 (bsc#1180833, bsc#1180834, bsc#1180832):
|
||||
* Fix TIFF OOB Write error. CVE-2020-35654
|
||||
* Fix for Read Overflow in PCX Decoding. CVE-2020-35653
|
||||
* Fix for SGI Decode buffer overrun. CVE-2020-35655
|
||||
* Fix OOB Read when saving GIF of xsize=1
|
||||
* Makefile updates
|
||||
* Add support for PySide6
|
||||
* Use disposal settings from previous frame in APNG
|
||||
* Added exception explaining that _repr_png_ saves to PNG
|
||||
* Use previous disposal method in GIF load_end
|
||||
* Allow putpalette to accept 1024 integers to include alpha values
|
||||
* Fix OOB Read when writing TIFF with custom Metadata
|
||||
* Added append_images support for ICO
|
||||
* Block TIFFTAG_SUBIFD
|
||||
* Fixed dereferencing potential null pointers
|
||||
* Deprecate FreeType 2.7
|
||||
* Moved warning to end of execution
|
||||
* Removed unused fromstring and tostring C methods
|
||||
* init() if one of the formats is unrecognised
|
||||
* Moved string_dimension CVE image to pillow-depends
|
||||
* Support raw rgba8888 for DDS
|
||||
* Fix TIFF OOB Write error. CVE-2020-35654
|
||||
* Fix for Read Overflow in PCX Decoding. CVE-2020-35653
|
||||
* Fix for SGI Decode buffer overrun. CVE-2020-35655
|
||||
* Fix OOB Read when saving GIF of xsize=1
|
||||
* Makefile updates
|
||||
* Add support for PySide6
|
||||
* Use disposal settings from previous frame in APNG
|
||||
* Added exception explaining that _repr_png_ saves to PNG
|
||||
* Use previous disposal method in GIF load_end
|
||||
* Allow putpalette to accept 1024 integers to include alpha values
|
||||
* Fix OOB Read when writing TIFF with custom Metadata
|
||||
* Added append_images support for ICO
|
||||
* Block TIFFTAG_SUBIFD
|
||||
* Fixed dereferencing potential null pointers
|
||||
* Deprecate FreeType 2.7
|
||||
* Moved warning to end of execution
|
||||
* Removed unused fromstring and tostring C methods
|
||||
* init() if one of the formats is unrecognised
|
||||
* Moved string_dimension CVE image to pillow-depends
|
||||
* Support raw rgba8888 for DDS
|
||||
- drop patches python-Pillow-tiff-4.2.0.patch
|
||||
python-Pillow-tiff-fix-oob-read.patch (upstream)
|
||||
|
||||
@@ -2024,7 +1224,7 @@ Mon Jan 15 10:01:18 UTC 2018 - tchvatal@suse.com
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 12:52:24 UTC 2018 - idonmez@suse.com
|
||||
|
||||
- Add freetype-2.9.patch to fix tests with FreeType 2.9 gh#2954
|
||||
- Add freetype-2.9.patch to fix tests with FreeType 2.9 gh#2954
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 10 13:31:48 UTC 2018 - tchvatal@suse.com
|
||||
@@ -2238,7 +1438,7 @@ Wed Apr 12 17:33:12 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 4.1.0
|
||||
* Close files after loading if possible #2330
|
||||
* Fix Image Access to be reloadable when embedding the Python interpreter
|
||||
* Fix Image Access to be reloadable when embedding the Python interpreter
|
||||
#2296
|
||||
* Fetch DPI from EXIF if not specified in JPEG header #2449, #2472
|
||||
* Removed winbuild checksum verification #2468
|
||||
@@ -2248,12 +1448,12 @@ Wed Apr 12 17:33:12 UTC 2017 - toddrme2178@gmail.com
|
||||
* Pure Python Decoders, including Python decoder to fix for MSP images #1938
|
||||
* Reorganized GifImagePlugin, fixes #2314. #2374
|
||||
* Doc: Reordered operating systems in Compatibility Matrix #2436
|
||||
* Test: Additional tests for BurfStub, Eps, Container, GribStub, IPTC, Wmf,
|
||||
* Test: Additional tests for BurfStub, Eps, Container, GribStub, IPTC, Wmf,
|
||||
XVThumb, ImageDraw, ImageMorph ImageShow #2425
|
||||
* Health fixes #2437
|
||||
* Test: Correctness tests ContainerIO, XVThumbImagePlugin,
|
||||
BufrStubImagePlugin, GribStubImagePlugin, FitsStubImagePlugin,
|
||||
Hdf5StubImagePlugin, PixarImageFile, PsdImageFile #2443, #2442, #2441, #2440,
|
||||
* Test: Correctness tests ContainerIO, XVThumbImagePlugin,
|
||||
BufrStubImagePlugin, GribStubImagePlugin, FitsStubImagePlugin,
|
||||
Hdf5StubImagePlugin, PixarImageFile, PsdImageFile #2443, #2442, #2441, #2440,
|
||||
#2431, #2430, #2428, #2427
|
||||
* Remove unused imports #1822
|
||||
* Replaced KeyError catch with dictionary get method #2424
|
||||
@@ -2268,7 +1468,7 @@ Wed Apr 12 17:33:12 UTC 2017 - toddrme2178@gmail.com
|
||||
* Test: Fixed Qt tests for QT5 and saving 1 bit PNG #2394
|
||||
* Test: docker builds for Arch and Debian Stretch #2394
|
||||
* Updated libwebp to 0.6.0 on appveyor #2395
|
||||
* More explicit error message when saving to a file with invalid extension
|
||||
* More explicit error message when saving to a file with invalid extension
|
||||
#2399
|
||||
* Docs: Update some http urls to https #2403
|
||||
* Preserve aux/alpha channels when performing Imagecms transforms #2355
|
||||
@@ -2279,13 +1479,13 @@ Wed Apr 12 17:33:12 UTC 2017 - toddrme2178@gmail.com
|
||||
* Exclude .travis and contents from manifest #2386
|
||||
* Remove 'MIT-like' from license #2145
|
||||
* Tests: Add tests for several Image operations #2379
|
||||
* PNG: Moved iCCP chunk before PLTE chunk when saving as PNG, restricted
|
||||
* PNG: Moved iCCP chunk before PLTE chunk when saving as PNG, restricted
|
||||
chunks known value/ordering #2347
|
||||
* Default to inch-interpretation for missing ResolutionUnit in
|
||||
* Default to inch-interpretation for missing ResolutionUnit in
|
||||
TiffImagePlugin #2365
|
||||
* Bug: Fixed segfault when using ImagingTk on pypy Issue #2376, #2359.
|
||||
* Bug: Fixed Integer overflow using ImagingTk on 32 bit platforms #2359
|
||||
* Tests: Added docker images for testing alternate platforms. See also
|
||||
* Tests: Added docker images for testing alternate platforms. See also
|
||||
https://github.com/python-pillow/docker-images. #2368
|
||||
* Removed PIL 1.0 era TK readme that concerns Windows 95/NT #2360
|
||||
* Prevent `nose -v` printing docstrings #2369
|
||||
@@ -2293,7 +1493,7 @@ Wed Apr 12 17:33:12 UTC 2017 - toddrme2178@gmail.com
|
||||
* Added context managers for file handling #2307
|
||||
* Expose registered file extensions in Image #2343
|
||||
* Make mode descriptor cache initialization thread-safe. #2351
|
||||
* Updated Windows test dependencies: Freetype 2.7.1, zlib 1.2.11 #2331,
|
||||
* Updated Windows test dependencies: Freetype 2.7.1, zlib 1.2.11 #2331,
|
||||
#2332, #2357
|
||||
* Followed upstream pngquant packaging reorg to libimagquant #2354
|
||||
* Fix invalid string escapes #2352
|
||||
@@ -2641,7 +1841,7 @@ Thu Sep 29 01:13:38 UTC 2016 - badshah400@gmail.com
|
||||
Mon May 23 00:16:32 CEST 2016 - ro@suse.de
|
||||
|
||||
- ignore make check errors on all bigendian archs
|
||||
(adding ppc s390 s390x)
|
||||
(adding ppc s390 s390x)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 13 20:32:48 UTC 2016 - dmueller@suse.com
|
||||
@@ -2658,13 +1858,13 @@ Tue Mar 1 21:05:58 UTC 2016 - normand@linux.vnet.ibm.com
|
||||
Mon Feb 29 12:28:34 UTC 2016 - michael@stroeder.com
|
||||
|
||||
- update to version 3.1.1 with security fixes:
|
||||
* Fixed an integer overflow in Resample.c causing writes in the Python heap.
|
||||
* Fixed a buffer overflow in PcdDecode.c causing a segfault when opening
|
||||
* Fixed an integer overflow in Resample.c causing writes in the Python heap.
|
||||
* Fixed a buffer overflow in PcdDecode.c causing a segfault when opening
|
||||
PhotoCD files. CVE-2016-TBD
|
||||
* Fixed a buffer overflow in FliDecode.c causing a segfault when opening
|
||||
* Fixed a buffer overflow in FliDecode.c causing a segfault when opening
|
||||
FLI files. CVE-2016-0775 (fixes bsc#965582)
|
||||
* Fixed a buffer overflow in TiffDecode.c causing an arbitrary amount of
|
||||
memory to be overwritten when opening a specially crafted invalid TIFF
|
||||
* Fixed a buffer overflow in TiffDecode.c causing an arbitrary amount of
|
||||
memory to be overwritten when opening a specially crafted invalid TIFF
|
||||
file. CVE-2016-0740 (fixes bsc#965579)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@@ -2884,7 +2084,7 @@ Tue Apr 21 14:13:51 UTC 2015 - tbechtold@suse.com
|
||||
Fri Feb 6 08:25:34 UTC 2015 - hpj@urpla.net
|
||||
|
||||
- fix test for lossy webp alpha deviation of earlier lib versions
|
||||
* Add Pillow-fixtests.patch
|
||||
* Add Pillow-fixtests.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 8 10:55:04 UTC 2015 - tbechtold@suse.com
|
||||
@@ -3091,9 +2291,9 @@ Tue Jan 7 19:19:05 UTC 2014 - marko.kohtala@gmail.com
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 20:08:40 UTC 2013 - hrvoje.senjan@gmail.com
|
||||
|
||||
- Added use-recommended-freetype-include.patch -- Freetype upstream
|
||||
recommends using their macros together with ft2build include.
|
||||
Positive sideeffect is that this patch makes it build with both
|
||||
- Added use-recommended-freetype-include.patch -- Freetype upstream
|
||||
recommends using their macros together with ft2build include.
|
||||
Positive sideeffect is that this patch makes it build with both
|
||||
freetype2 2.5.1, and older version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Pillow
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,23 +16,22 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Pillow
|
||||
Version: 11.3.0
|
||||
Version: 10.0.1
|
||||
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
|
||||
Source: https://files.pythonhosted.org/packages/source/P/Pillow/Pillow-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel >= 3.8}
|
||||
BuildRequires: %{python_module olefile}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tk}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libimagequant-devel
|
||||
BuildRequires: pkgconfig
|
||||
@@ -71,21 +70,33 @@ Pillow is the "friendly" PIL fork by Alex Clark and Contributors. PIL is the
|
||||
Python Imaging Library by Fredrik Lundh and Contributors.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pillow-%{version}
|
||||
%setup -q -n Pillow-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_install
|
||||
# add missing path
|
||||
%{python_expand echo "PIL" > %{buildroot}%{$python_sitearch}/PIL.pth}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch} PYTHONDONTWRITEBYTECODE=1
|
||||
%if "%{_arch}" == "s390" || "%{_arch}" == "s390x"
|
||||
echo "WARNING ignoring tests completely due to https://github.com/python-pillow/Pillow/issues/1204 and segfault"
|
||||
%else
|
||||
%if "%{_arch}" == "ppc" || "%{_arch}" == "ppc64"
|
||||
$python selftest.py --installed || \
|
||||
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
|
||||
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v || \
|
||||
echo "WARNING ignore failure https://github.com/python-pillow/Pillow/issues/1204"
|
||||
%else
|
||||
$python selftest.py --installed
|
||||
pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.pypy3 -v -k 'not (test_stroke or test_stroke_multiline)'
|
||||
%endif
|
||||
%endif
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
@@ -93,7 +104,7 @@ pytest-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --i
|
||||
%doc CHANGES.rst README.md
|
||||
%{python_sitearch}/PIL
|
||||
%{python_sitearch}/PIL.pth
|
||||
%{python_sitearch}/pillow-%{version}.dist-info
|
||||
%{python_sitearch}/Pillow-%{version}-py%{python_version}.egg-info
|
||||
%exclude %{python_sitearch}/PIL/ImageTk*
|
||||
%exclude %{python_sitearch}/PIL/_imagingtk*
|
||||
%pycache_only %exclude %{python_sitearch}/PIL/__pycache__/ImageTk.*
|
||||
|
Reference in New Issue
Block a user