summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pillow
Commit message (Collapse)AuthorAgeFilesLines
* python3-pillow: update recipe to use the ptest-python-pytest classDerek Straka2025-01-171-3/+0
| | | | | Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: upgrade 11.0.0 -> 11.1.0Wang Mingyu2025-01-071-3/+3
| | | | | | | | | | | | | 0001-support-cross-compiling.patch refreshed for 11.1.0 License-Update: Update license to MIT-CMU Changelog: https://pillow.readthedocs.io/en/stable/releasenotes/11.1.0.html Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: upgrade 10.4.0 -> 11.0.0Tom Geelen2024-12-211-4/+4
| | | | | Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: upgrade 10.3.0 -> 10.4.0Wang Mingyu2024-07-151-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-support-cross-compiling.patch refreshed for 10.4.0 Changelog: =========== - Raise FileNotFoundError if show_file() path does not exist - Improved reading 16-bit TGA images with colour - Deprecate non-image ImageCms modes - Fixed processing multiple JPEG EXIF markers - Do not preserve EXIFIFD tag by default when saving TIFF images - Added ImageFont.load_default_imagefont() - Added Image.WARN_POSSIBLE_FORMATS - Remove zero-byte end padding when parsing any XMP data - Do not detect Ultra HDR images as MPO - Raise SyntaxError specific to JP2 - Do not use first frame duration for other frames when saving APNG images - Consider I;16 pixel size when using a 1 mode mask - When saving multiple PNG frames, convert to mode rather than raw mode - Added byte support to FreeTypeFont - Allow float center for rotate operations - Do not read layers immediately when opening PSD images - Restore original thread state - Read IM and TIFF images as RGB, rather than RGBX - Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED - Clarify ImageDraw2 error message when size is missing - Support unpacking more rawmodes to RGBA palettes - Removed support for Qt 5 - Improve ImageFont.freetype support for XDG directories on Linux - Improved consistency of XMP handling - Use pkg-config to help find libwebp and raqm - Accept 't' suffix for libtiff version #8126, - Deprecate ImageDraw.getdraw hints parameter - Added ImageDraw circle() - Add mypy target to Makefile - Added more modes to Image.MODES - Deprecate BGR;15, BGR;16 and BGR;24 modes - Fix ImagingAccess for I;16N on big-endian - Support reading P mode TIFF images with padding - Deprecate support for libtiff < 4 - Corrected ImageShow UnixViewer command - Use functools.cached_property in ImageStat - Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER - Support reading CMYK JPEG2000 images Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Upgrade 10.1.0 -> 10.3.0 and fix ptestalperak2024-04-061-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: Updated copyright year and clean up authors, contributors * 0001-explicitly-set-compile-options.patch dropped because setup.cfg moved to pyproject.toml -> (https://github.com/python-pillow/Pillow/pull/7484) Also, we can give the build option parameters as described in the documentation -> https://pillow.readthedocs.io/en/stable/installation/building-from-source.html#build-options Added build options to pass to build with using the variable PEP517_BUILD_OPTS so no need to create patch again. * "python setup.py" and the use of "setup.py" as a command line tool are deprecated and upstream added a custom build backend to translate -C feature=disable style flags to the old --disable-feature style flags by prepending the build command (typically bdist_wheel) with a build_ext --disable-feature command which builds the extension modules before being added to a wheel. That backend uses the build_meta module of setuptools. The _CustomBuildMetaBackend class is a subclass of this module, adding custom behaviors and enabling settings specific to a particular project. https://github.com/python-pillow/Pillow/blob/10.3.0/_custom_build/backend.py * Ptest tested on qemux86-64 and qemuarm64 with x11. * Since no ptest error was encountered, python3-pillow has been moved from PTESTS_PROBLEMS_META_PYTHON to PTESTS_SLOW_META_PYTHON. Tests with SKIP are related to packages with explicitly disabled build options. qemux86-64: Testsuite summary TOTAL: 4502 PASS: 4152 SKIP: 347 XFAIL: 2 FAIL: 0 XPASS: 1 ERROR: 0 DURATION: 904 END: /usr/lib/python3-pillow/ptest 2024-04-06T15:56 STOP: ptest-runner TOTAL: 1 FAIL: 0 qemuarm64: Testsuite summary TOTAL: 4502 PASS: 4152 SKIP: 347 XFAIL: 2 FAIL: 0 XPASS: 1 ERROR: 0 DURATION: 674 END: /usr/lib/python3-pillow/ptest 2024-04-06T16:40 STOP: ptest-runner TOTAL: 1 FAIL: 0 Changelog: https://pillow.readthedocs.io/en/stable/releasenotes/10.3.0.html https://pillow.readthedocs.io/en/stable/releasenotes/10.2.0.html Signed-off-by: alperak <alperyasinak1@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: switch to pytest --automakeTim Orling2024-02-161-1/+1
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: add ptest supportRandy MacLeod2023-02-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Add initial pillow ptest support. The ptest result is: ====== 3600 passed 324 skipped, 2 xfailed, 1 xpassed in 62.41s (0:01:02) ====== for qemux86-64 with 2 GB RAM. The skipped tests as summarized with: # ptest-runner python3-pillow | tee log # grep SKIPP log | cut -d"(" -f2- | cut -d")" -f1 | cut -d" " -f1 | sort | uniq -c| sort -n | tail -4 12 webp 13 Tk 14 Qt 84 raqm Webp was explicityly disabled in 2018 in: 6cb4e90fc python3-pillow: add 5.4.1 I didn't test Tk or Qt and there isn't yet a recipe for libraqm: https://github.com/HOST-Oman/libraqm a library that encapsulates the logic for complex text layout. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Upgrade 7.2.0 -> 8.1.0Leon Anavi2021-01-121-30/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 8.1.0: - Fix TIFF OOB Write error - Fix for Buffer Read Overrun in PCX Decoding - Fix for SGI Decode buffer overrun - Fix OOB Read when saving GIF of xsize=1 - Add support for PySide6 - Moved QApplication into one test - Use disposal settings from previous frame in APNG - Revert "skip wheels on 3.10-dev due to wheel#354" - Better _binary module use - Added exception explaining that repr_png saves to PNG - Use previous disposal method in GIF load_end - Do not catch a ValueError only to raise another - Allow putpalette to accept 1024 integers to include alpha values - Fix OOB Read when writing TIFF with custom Metadata - Removed unused variable - Fix dereferencing of potential null pointers - Fixed warnings assigning to "unsigned char *" from "char *" - Add append_images support for ICO - Fixed comparison warnings - Block TIFFTAG_SUBIFD - Fix dereferencing potential null pointer - Replaced PyErr_NoMemory with ImagingError_MemoryError - Remove duplicate code - Moved warning to end of execution - Removed unused fromstring and tostring C methods - init() if one of the formats is unrecognised License-Update: Updated copyright year Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: Upgrade 6.2.1 -> 7.2.0Leon Anavi2020-09-021-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to release 7.2.0: - Do not convert I;16 images when showing PNGs - Fixed ICNS file pointer saving - Fixed loading non-RGBA mode APNGs with dispose background - Deprecated _showxv - Deprecate Image.show(command="...") - Updated JPEG magic number - Change STRIPBYTECOUNTS to LONG if necessary when saving - Write JFIF header when saving JPEG - Replaced tiff_jpeg with jpeg compression when saving TIFF images - Writing TIFF tags: improved BYTE, added UNDEFINED - Consider transparency when pasting text on an RGBA image - Added method argument to single frame WebP saving - Use ImageFileDirectory_v2 in Image.Exif - Corrected reading EXIF metadata without prefix - Fixed drawing a jointed line with a sequence of numeric values - Added support for 1-D NumPy arrays - Parse orientation from XMP tags - Speed up text layout by not rendering glyphs - Fixed ZeroDivisionError in Image.thumbnail - Replaced TiffImagePlugin DEBUG with logging - Fix repeatedly loading .gbr - JPEG: Truncate icclist instead of setting to None - Fixes default offset for Exif - Fixed bug when unpickling TIFF images - Fix pickling WebP - Replace IOError and WindowsError aliases with OSError License-Update: Word wrap and updated copyright year. Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: update to 6.2.1Paul Eggleton2019-10-281-9/+7
| | | | | | | | | | | | | | Upstream release notes: https://pillow.readthedocs.io/en/stable/releasenotes/6.2.0.html https://pillow.readthedocs.io/en/stable/releasenotes/6.2.1.html Also fixes CVE-2019-16865: https://nvd.nist.gov/vuln/detail/CVE-2019-16865 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: 5.4.1 -> 6.1Ovidiu Panait2019-07-152-21/+21
| | | | | | | | | Update python3-pillow to version 6.1 and refresh patches. License-Update: copyright years Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pillow: add 5.4.1Hongxu Jia2019-03-192-0/+100
- Set option by modify setup.py - Do not override do_compile to call `setup.py build_ext', it will missing options at do_install time which causing host contamination ... Found webp/demux.h Found library webpmux at /usr/lib/libwebpmux.so Found library webpdemux at /usr/lib/libwebpdemux.so /usr/include/pthread.h:682:6: error: 'regparm' is not valid on this platform ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>