Skip to contentSkip to conversation

python3-pillow: upgrade 9.0.1 -> 9.1.1

PATCH In review Randy MacLeod 2 participants 15 messages Jan 31, 2023 – Feb 6, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 python3-pillow: upgrade 9.0.1 -> 9.1.1

From: Xu Huan <[email protected]>

---
 .../{python3-pillow_9.0.1.bb => python3-pillow_9.1.1.bb}    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_9.0.1.bb => python3-pillow_9.1.1.bb} (87%)
meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb +3 -3
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
index fb86322f7..00df22a3d 100644
@@ -5,10 +5,10 @@ HOMEPAGE = "https://pillow.readthedocs.io"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.0.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.1.x;protocol=https \
            file://0001-support-cross-compiling.patch \
            file://0001-explicitly-set-compile-options.patch \
-"
+           "
 SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8"
 
 inherit setuptools3
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "6deac9e3a23caffbfdd75c00d3f0a1cd36cdbd5d"
+SRCREV = "0f44136e720cd3b2db72bdf29614897b7aa3e868"
Signature · 1 line
2.39.0
#1 lore raw

PATCH 2/6 python3-pillow: upgrade 9.1.1 -> 9.2.0

From: zhengruoqin <[email protected]>

Changelog:
=========

Fixed null check for fribidi_version_info in FriBiDi shim Added GIF decompression bomb check
Handle PCF fonts files with less than 256 characters Improved GIF optimize condition
Reverted to array_interface with the release of NumPy 1.23 Pad PCX palette to 768 bytes when saving
Fixed bug with rounding pixels to palette colors
Use gnome-screenshot on Linux if available
Fixed loading L mode BMP RLE8 images
Fixed incorrect operator in ImageCms error
Limit FPX tile size to avoid extending outside image
Added support for decoding plain PPM formats
Added apply_transparency()
Fixed behaviour change from endian fix
Use python3
Allow remapping P images with RGBA palettes
Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher" [pre-commit.ci] pre-commit autoupdate
Only import ImageFont in ImageDraw when necessary
Fixed drawing translucent 1px high polygons
Pad COLORMAP to 768 items when saving TIFF
Fix P -> PA conversion
Once exif data is parsed, do not reload unless it changes Only try to connect discontiguous corners at the end of edges Improve transparency handling when saving GIF images
Do not update GIF frame position until local image is found Netscape GIF extension belongs after the global color table Only write GIF comments at the beginning of the file Separate multiple GIF comment blocks with newlines
Always use GIF89a for comments
Ignore compression value from BMP info dictionary when saving as TIFF If font is file-like object, do not re-read from object to get variant Raise ValueError when trying to access internal fp after close Support more affine expression forms in im.point()
Include 'twine check' in 'make sdist'
Ensure that furthest v is set in quantize2

---
 .../{python3-pillow_9.1.1.bb => python3-pillow_9.2.0.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_9.1.1.bb => python3-pillow_9.2.0.bb} (88%)
meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb +2 -2
similarity index 88%
rename from meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
index 00df22a3d..454d61a48 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.1.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
            file://0001-support-cross-compiling.patch \
            file://0001-explicitly-set-compile-options.patch \
            "
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "0f44136e720cd3b2db72bdf29614897b7aa3e868"
+SRCREV = "58acec3312fb8671c9d84829197e1c8150085589"
Signature · 1 line
2.39.0
#2 lore raw

PATCH 3/6 python3-pillow: upgrade 9.2.0 -> 9.3.0

In reply to Randy MacLeod

From: Wang Mingyu <[email protected]>

Changelog:
=========

Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
Initialize libtiff buffer when saving #6699 [radarhere]
Inline fname2char to fix memory leak #6329 [nulano]
Fix memory leaks related to text features #6330 [nulano]
Use double quotes for version check on old CPython on Windows #6695 [hugovk]
Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
Fixed set_variation_by_name offset #6445 [radarhere]
Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
Release Python GIL when converting images using matrix operations #6418 [hmaarrfk] Added ExifTags enums #6630 [radarhere]
Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere] Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
Added GPS TIFF tag info #6661 [radarhere]
Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
Do not attempt normalization if mode is already normal #6644 [radarhere]
Fixed seeking to an L frame in a GIF #6576 [radarhere]
Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
Don't reassign crc on ChunkStream close #6627 [wiredfool, radarhere]
Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere] Show all frames in ImageShow #6611 [radarhere]
Allow FLI palette chunk to not be first #6626 [radarhere]
If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere] Round box position to integer when pasting embedded color #6517 [radarhere, nulano] Removed EXIF prefix when saving WebP #6582 [radarhere]
Pad IM palette to 768 bytes when saving #6579 [radarhere]
Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere] Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere] Added reading of TIFF child images #6569 [radarhere]
Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
Defer parsing of palette into colors #6567 [radarhere]
Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere] Corrected BMP and TGA palette size when saving #6500 [radarhere]
Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
Copy palette when converting from P to PA #6497 [radarhere]
Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere] Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
Fixed writing bytes as ASCII tag #6493 [radarhere]
Open 1 bit EPS in mode 1 #6499 [radarhere]
Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
Added support for RGBA PSD images #6481 [radarhere]
Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere] Do not clear GIF tile when checking number of frames #6455 [radarhere]
Support saving multiple MPO frames #6444 [radarhere]
Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
Added ABGR BMP mask mode #6436 [radarhere]
Fixed PSDraw rectangle #6429 [radarhere]
Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

---
 .../{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb} (86%)
meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +2 -2
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
index 454d61a48..11f545160 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
            file://0001-support-cross-compiling.patch \
            file://0001-explicitly-set-compile-options.patch \
            "
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "58acec3312fb8671c9d84829197e1c8150085589"
+SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"
Signature · 1 line
2.39.0
#8 lore raw

PATCH 4/6 python3-pillow: upgrade 9.3.0 -> 9.4.0

In reply to Randy MacLeod

From: Wang Mingyu <[email protected]>

License-Updated: copyright year updated to 2023

Changelog:
==========
Fixed null pointer dereference crash with malformed font #6846
Return from ImagingFill early if image has a zero dimension #6842
Reversed deprecations for Image constants, except for duplicate Resampling attributes #6830 Improve exception traceback readability #6836
Do not attempt to read IFD1 if absent #6840
Fixed writing int as ASCII tag #6800
If available, use wl-paste or xclip for grabclipboard() on Linux #6783
Added signed option when saving JPEG2000 images #6709
Patch OpenJPEG to include ARM64 fix #6718
Added support for I;16 modes in putdata() #6825
Added conversion from RGBa to RGB #6708
Added DDS support for uncompressed L and LA images #6820
Added LightSource tag values to ExifTags #6749
Fixed PyAccess after changing ICO size #6821
Do not use EXIF from info when saving PNG images #6819
Fixed saving EXIF data to MPO #6817
Added Exif hide_offsets() #6762
Only compare to previous frame when checking for duplicate GIF frames while saving #6787 Always initialize all plugins in registered_extensions() #6811
Ignore non-opaque WebP background when saving as GIF #6792
Only set tile in ImageFile __setstate__ #6793
When reading BLP, do not trust JPEG decoder to determine image is CMYK #6767 Added IFD enum to ExifTags #6748
Fixed bug combining GIF frame durations #6779
Support saving JPEG comments #6774
Added getxmp() to WebPImagePlugin #6758
Added "exact" option when saving WebP #6747
Use fractional coordinates when drawing text #6722
Fixed writing int as BYTE tag #6740
Added MP Format Version when saving MPO #6735
Added Interop to ExifTags #6724
CVE-2007-4559 patch when building on Windows #6704
Fix compiler warning: accessing 64 bytes in a region of size 48 #6714
Use verbose flag for pip install #6713

---
 .../{python3-pillow_9.3.0.bb => python3-pillow_9.4.0.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_9.3.0.bb => python3-pillow_9.4.0.bb} (87%)
meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb +2 -2
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
index 11f545160..403a987d1 100644
@@ -3,7 +3,7 @@ Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \
 Contributors."
 HOMEPAGE = "https://pillow.readthedocs.io"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bc416d18f294943285560364be7cbec1"
 
 SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
            file://0001-support-cross-compiling.patch \
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"
+SRCREV = "a5bbab1c1e63b439de191ef2040173713b26d2da"
Signature · 1 line
2.39.0
#9 lore raw

PATCH 5/6 python3-pillow: add ptest support

In reply to Randy MacLeod

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.
---
 .../python/python3-pillow/run-ptest           |  3 +++
 .../python/python3-pillow_9.4.0.bb            | 22 ++++++++++++++++++-
 2 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-pillow/run-ptest
meta-python/recipes-devtools/python/python3-pillow/run-ptest new file +3 -0
new file mode 100644
index 000000000..3385d6893
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}'
meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb +21 -1
index 403a987d1..68c81029c 100644
@@ -8,10 +8,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bc416d18f294943285560364be7cbec1"
 SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
            file://0001-support-cross-compiling.patch \
            file://0001-explicitly-set-compile-options.patch \
+           file://run-ptest \
            "
 SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8"
 
-inherit setuptools3
+inherit setuptools3 ptest
 
 PIP_INSTALL_PACKAGE = "Pillow"
 PIP_INSTALL_DIST_PATH = "${S}/dist"
@@ -31,12 +32,31 @@ RDEPENDS:${PN} += " \
     ${PYTHON_PN}-numbers \
 "
 
+RDEPENDS:${PN}-ptest += " \
+    bash \
+    ghostscript \
+    jpeg-tools \
+    libwebp \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-image \
+    ${PYTHON_PN}-mmap \
+    ${PYTHON_PN}-pytest \
+    ${PYTHON_PN}-pytest-timeout \
+    ${PYTHON_PN}-resource \
+    tk \
+"
+
 CVE_PRODUCT = "pillow"
 
 S = "${WORKDIR}/git"
 
 RPROVIDES:${PN} += "python3-imaging"
 
+do_install_ptest() {
+        install -d ${D}${PTEST_PATH}/Tests
+        cp -rf ${S}/Tests ${D}${PTEST_PATH}/
+}
+
 BBCLASSEXTEND = "native"
 
 SRCREV = "a5bbab1c1e63b439de191ef2040173713b26d2da"
Signature · 1 line
2.39.0
#10 lore raw

PATCH 6/6 python3-pillow: Add distutils, unixadmin for ptest

In reply to Randy MacLeod

ptest results:
====== 3600 passed, 324 skipped, 2 xfailed, 1 xpassed in 74.41s (0:01:14) ======
for qemux86-64 with 2 GB RAM which is the same as seen on master.

---
 meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb +2 -0
index 68c81029c..5a466778c 100644
@@ -38,11 +38,13 @@ RDEPENDS:${PN}-ptest += " \
     jpeg-tools \
     libwebp \
     ${PYTHON_PN}-core \
+    ${PYTHON_PN}-distutils \
     ${PYTHON_PN}-image \
     ${PYTHON_PN}-mmap \
     ${PYTHON_PN}-pytest \
     ${PYTHON_PN}-pytest-timeout \
     ${PYTHON_PN}-resource \
+    ${PYTHON_PN}-unixadmin\
     tk \
 "
 
Signature · 1 line
2.39.0
#14 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0

In reply to a message not in the archive

I'd normally be a bit nervous about backporting 9.0.1 to 9.4.0 but the upstream pillow dev(s) seem to be careful to adhere to semantic versioning:

https://pillow.readthedocs.io/en/stable/releasenotes/versioning.html#versioning

and the ptest pass rate is the same as master once I added the distutils and unixadmin python modules added to the ptest dependencies.

If this gets merged, I'll update langdale to 9.4.0 as well.

../Randy

Quoted 79 lines · Randy MacLeod via lists.openembedded.org

From: Wang Mingyu<[email protected]>

License-Updated: copyright year updated to 2023

Changelog:
==========
Fixed null pointer dereference crash with malformed font #6846
Return from ImagingFill early if image has a zero dimension #6842
Reversed deprecations for Image constants, except for duplicate Resampling attributes #6830 Improve exception traceback readability #6836
Do not attempt to read IFD1 if absent #6840
Fixed writing int as ASCII tag #6800
If available, use wl-paste or xclip for grabclipboard() on Linux #6783
Added signed option when saving JPEG2000 images #6709
Patch OpenJPEG to include ARM64 fix #6718
Added support for I;16 modes in putdata() #6825
Added conversion from RGBa to RGB #6708
Added DDS support for uncompressed L and LA images #6820
Added LightSource tag values to ExifTags #6749
Fixed PyAccess after changing ICO size #6821
Do not use EXIF from info when saving PNG images #6819
Fixed saving EXIF data to MPO #6817
Added Exif hide_offsets() #6762
Only compare to previous frame when checking for duplicate GIF frames while saving #6787 Always initialize all plugins in registered_extensions() #6811
Ignore non-opaque WebP background when saving as GIF #6792
Only set tile in ImageFile __setstate__ #6793
When reading BLP, do not trust JPEG decoder to determine image is CMYK #6767 Added IFD enum to ExifTags #6748
Fixed bug combining GIF frame durations #6779
Support saving JPEG comments #6774
Added getxmp() to WebPImagePlugin #6758
Added "exact" option when saving WebP #6747
Use fractional coordinates when drawing text #6722
Fixed writing int as BYTE tag #6740
Added MP Format Version when saving MPO #6735
Added Interop to ExifTags #6724
CVE-2007-4559 patch when building on Windows #6704
Fix compiler warning: accessing 64 bytes in a region of size 48 #6714
Use verbose flag for pip install #6713

---
  .../{python3-pillow_9.3.0.bb => python3-pillow_9.4.0.bb}      | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pillow_9.3.0.bb => python3-pillow_9.4.0.bb} (87%)

meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb +2 -3
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
index 11f545160..403a987d1 100644
@@ -3,7 +3,7 @@ Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and \
  Contributors."
  HOMEPAGE ="https://pillow.readthedocs.io"
  LICENSE = "MIT"
-LIC_FILES_CHKSUM ="file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
+LIC_FILES_CHKSUM ="file://LICENSE;md5=bc416d18f294943285560364be7cbec1"
 
  SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
             file://0001-support-cross-compiling.patch  \
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
  BBCLASSEXTEND = "native"
 
-SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"
+SRCREV = "a5bbab1c1e63b439de191ef2040173713b26d2da"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#100891):https://lists.openembedded.org/g/openembedded-devel/message/100891 Mute This Topic:https://lists.openembedded.org/mt/96664646/3616765
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#15 lore raw
In reply to Randy MacLeod

Randy,

Quoted 6 lines · Randy MacLeod

From: Xu Huan <[email protected]>

---
  .../{python3-pillow_9.0.1.bb => python3-pillow_9.1.1.bb}    | 6 +++---

Why would I want to take this? Is this an LTS or bug fix only?

Also, you didn't signoff this backport.

- armin

Quoted 38 lines
  1 file changed, 3 insertions(+), 3 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pillow_9.0.1.bb => python3-pillow_9.1.1.bb} (87%)

meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb +3 -4
similarity index 87%
rename from meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
index fb86322f7..00df22a3d 100644
@@ -5,10 +5,10 @@ HOMEPAGE = "https://pillow.readthedocs.io"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.0.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.1.x;protocol=https \
             file://0001-support-cross-compiling.patch \
             file://0001-explicitly-set-compile-options.patch \
-"
+           "
  SRCREV ?= "82541b6dec8452cb612067fcebba1c5a1a2bfdc8"
 
  inherit setuptools3
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
  BBCLASSEXTEND = "native"
 
-SRCREV = "6deac9e3a23caffbfdd75c00d3f0a1cd36cdbd5d"
+SRCREV = "0f44136e720cd3b2db72bdf29614897b7aa3e868"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#100890): https://lists.openembedded.org/g/openembedded-devel/message/100890
Mute This Topic: https://lists.openembedded.org/mt/96664645/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0

In reply to Randy MacLeod

Hello Randy,

Quoted 64 lines · Randy MacLeod

From: Wang Mingyu <[email protected]>

Changelog:
=========

Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
Initialize libtiff buffer when saving #6699 [radarhere]
Inline fname2char to fix memory leak #6329 [nulano]
Fix memory leaks related to text features #6330 [nulano]
Use double quotes for version check on old CPython on Windows #6695 [hugovk]
Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
Fixed set_variation_by_name offset #6445 [radarhere]
Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
Release Python GIL when converting images using matrix operations #6418 [hmaarrfk] Added ExifTags enums #6630 [radarhere]
Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere] Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
Added GPS TIFF tag info #6661 [radarhere]
Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
Do not attempt normalization if mode is already normal #6644 [radarhere]
Fixed seeking to an L frame in a GIF #6576 [radarhere]
Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
Don't reassign crc on ChunkStream close #6627 [wiredfool, radarhere]
Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere] Show all frames in ImageShow #6611 [radarhere]
Allow FLI palette chunk to not be first #6626 [radarhere]
If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere] Round box position to integer when pasting embedded color #6517 [radarhere, nulano] Removed EXIF prefix when saving WebP #6582 [radarhere]
Pad IM palette to 768 bytes when saving #6579 [radarhere]
Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere] Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere] Added reading of TIFF child images #6569 [radarhere]
Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
Defer parsing of palette into colors #6567 [radarhere]
Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere] Corrected BMP and TGA palette size when saving #6500 [radarhere]
Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
Copy palette when converting from P to PA #6497 [radarhere]
Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere] Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
Fixed writing bytes as ASCII tag #6493 [radarhere]
Open 1 bit EPS in mode 1 #6499 [radarhere]
Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
Added support for RGBA PSD images #6481 [radarhere]
Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere] Do not clear GIF tile when checking number of frames #6455 [radarhere]
Support saving multiple MPO frames #6444 [radarhere]
Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
Added ABGR BMP mask mode #6436 [radarhere]
Fixed PSDraw rectangle #6429 [radarhere]
Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

Quoted 2 lines

Whats missing here are the dependency needs for kirkstone:
harfbuzz to 4.4.1
libtiff to 4.4.0

neither version exits in kirkstone.

and it appears to be adding a lot of new features.  Per our stable branch process, this update does not qualify to be included.

BR,
Armin

Quoted 36 lines
---
  .../{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb}      | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb} (86%)

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +2 -3
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
index 454d61a48..11f545160 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
             file://0001-support-cross-compiling.patch \
             file://0001-explicitly-set-compile-options.patch \
             "
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
  BBCLASSEXTEND = "native"
 
-SRCREV = "58acec3312fb8671c9d84829197e1c8150085589"
+SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#100894): https://lists.openembedded.org/g/openembedded-devel/message/100894
Mute This Topic: https://lists.openembedded.org/mt/96664649/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#4 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0

Quoted 67 lines · On 2023-02-01 08:35, akuster808 wrote:

Hello Randy,

Quoted 64 lines · Randy MacLeod

From: Wang Mingyu <[email protected]>

Changelog:
=========

     Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
     Initialize libtiff buffer when saving #6699 [radarhere]
     Inline fname2char to fix memory leak #6329 [nulano]
     Fix memory leaks related to text features #6330 [nulano]
     Use double quotes for version check on old CPython on Windows #6695 [hugovk]
     Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
     Fixed set_variation_by_name offset #6445 [radarhere]
     Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
     Release Python GIL when converting images using matrix operations #6418 [hmaarrfk] Added ExifTags enums #6630 [radarhere]
     Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
     Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere] Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
     Added GPS TIFF tag info #6661 [radarhere]
     Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
     Do not attempt normalization if mode is already normal #6644 [radarhere]
     Fixed seeking to an L frame in a GIF #6576 [radarhere]
     Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
     Don't reassign crc on ChunkStream close #6627 [wiredfool, radarhere]
     Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere] Show all frames in ImageShow #6611 [radarhere]
     Allow FLI palette chunk to not be first #6626 [radarhere]
     If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere] Round box position to integer when pasting embedded color #6517 [radarhere, nulano] Removed EXIF prefix when saving WebP #6582 [radarhere]
     Pad IM palette to 768 bytes when saving #6579 [radarhere]
     Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
     Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere] Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere] Added reading of TIFF child images #6569 [radarhere]
     Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
     Defer parsing of palette into colors #6567 [radarhere]
     Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
     Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
     Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
     Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere] Corrected BMP and TGA palette size when saving #6500 [radarhere]
     Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
     Copy palette when converting from P to PA #6497 [radarhere]
     Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
     Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
     Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere] Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
     Fixed writing bytes as ASCII tag #6493 [radarhere]
     Open 1 bit EPS in mode 1 #6499 [radarhere]
     Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
     Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
     Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
     Added support for RGBA PSD images #6481 [radarhere]
     Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
     Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere] Do not clear GIF tile when checking number of frames #6455 [radarhere]
     Support saving multiple MPO frames #6444 [radarhere]
     Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
     Added ABGR BMP mask mode #6436 [radarhere]
     Fixed PSDraw rectangle #6429 [radarhere]
     Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
     Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

Quoted 6 lines
Quoted 2 lines

Whats missing here are the dependency needs for kirkstone:
harfbuzz to 4.4.1
libtiff to 4.4.0

Hi Armin,

Thanks for the comments, I think an update could make sense but really I'm after CVE fixes so I won't argue. A CVE patch  was posted for dunfell and it's a one-liner so I'll take that for kirkstone and send a patch.

If you'd like to help me understand your concerns, since I haven't worked with python modules much, you could answer the questions below but they aren't relevant now.

Why do you think we need those versions? I don't see them called out in the logs above or

in any release notes for pillow and the tests work...

Harfbuzz is mentioned as being needed for libraqm

https://pillow.readthedocs.io/en/latest/installation.html#external-libraries

but there's no recipe for libraqm yet and so it's not a requirement it seems:

b/pillow$ grep Requiring tmp-glibc/work/core2-64-oe-linux/python3-pillow/9.4.0-r0/temp/log.do_compile Requiring zlib
Requiring jpeg
Requiring tiff
Requiring freetype
Requiring lcms
Requiring jpeg2000

Quoted 4 lines

neither version exists in kirkstone.

and it appears to be adding a lot of new features.

Yeah, IMO it's a reasonable update because of the semantic versioning approach followed by pillow, specifically:

https://pillow.readthedocs.io/en/stable/releasenotes/versioning.html#versioning

 - MINOR version when you add functionality in a backwards compatible manner,

but you're the maintainer so I'll send a patch next week.

../Randy

Quoted 39 lines

  Per our stable branch process, this update does not qualify to be included.

BR,
Armin

Quoted 34 lines

---
  .../{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb}      | 4 ++--

  1 file changed, 2 insertions(+), 2 deletions(-)

  rename meta-python/recipes-devtools/python/{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb} (86%)

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +0 -0
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
index 454d61a48..11f545160 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"

  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
file://0001-support-cross-compiling.patch \
file://0001-explicitly-set-compile-options.patch \
             "

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +0 -0
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"

    BBCLASSEXTEND = "native"
  -SRCREV = "58acec3312fb8671c9d84829197e1c8150085589" +SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100894): https://lists.openembedded.org/g/openembedded-devel/message/100894
Mute This Topic: https://lists.openembedded.org/mt/96664649/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#5 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0

Quoted 85 lines · Randy MacLeod
Quoted 67 lines · On 2023-02-01 08:35, akuster808 wrote:

Hello Randy,

Quoted 64 lines · Randy MacLeod

From: Wang Mingyu <[email protected]>

Changelog:
=========

     Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
     Initialize libtiff buffer when saving #6699 [radarhere]
     Inline fname2char to fix memory leak #6329 [nulano]
     Fix memory leaks related to text features #6330 [nulano]
     Use double quotes for version check on old CPython on Windows #6695 [hugovk]
     Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
     Fixed set_variation_by_name offset #6445 [radarhere]
     Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
     Release Python GIL when converting images using matrix operations #6418 [hmaarrfk] Added ExifTags enums #6630 [radarhere]
     Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
     Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere] Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
     Added GPS TIFF tag info #6661 [radarhere]
     Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
     Do not attempt normalization if mode is already normal #6644 [radarhere]
     Fixed seeking to an L frame in a GIF #6576 [radarhere]
     Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
     Don't reassign crc on ChunkStream close #6627 [wiredfool, radarhere]
     Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere] Show all frames in ImageShow #6611 [radarhere]
     Allow FLI palette chunk to not be first #6626 [radarhere]
     If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere] Round box position to integer when pasting embedded color #6517 [radarhere, nulano] Removed EXIF prefix when saving WebP #6582 [radarhere]
     Pad IM palette to 768 bytes when saving #6579 [radarhere]
     Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
     Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere] Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere] Added reading of TIFF child images #6569 [radarhere]
     Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
     Defer parsing of palette into colors #6567 [radarhere]
     Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
     Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
     Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
     Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere] Corrected BMP and TGA palette size when saving #6500 [radarhere]
     Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
     Copy palette when converting from P to PA #6497 [radarhere]
     Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
     Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
     Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere] Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
     Fixed writing bytes as ASCII tag #6493 [radarhere]
     Open 1 bit EPS in mode 1 #6499 [radarhere]
     Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
     Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
     Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
     Added support for RGBA PSD images #6481 [radarhere]
     Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
     Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere] Do not clear GIF tile when checking number of frames #6455 [radarhere]
     Support saving multiple MPO frames #6444 [radarhere]
     Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
     Added ABGR BMP mask mode #6436 [radarhere]
     Fixed PSDraw rectangle #6429 [radarhere]
     Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
     Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

Quoted 6 lines
Quoted 2 lines

Whats missing here are the dependency needs for kirkstone:
harfbuzz to 4.4.1
libtiff to 4.4.0

Hi Armin,

Thanks for the comments, I think an update could make sense but really I'm after CVE fixes so I won't argue. A CVE patch  was posted for dunfell and it's a one-liner so I'll take that for kirkstone and send a patch.

If you'd like to help me understand your concerns, since I haven't worked with python modules much, you could answer the questions below but they aren't relevant now.

Quoted 6 lines

Why do you think we need those versions? I don't see them called out in the logs above or

in any release notes for pillow and the tests work...

Harfbuzz is mentioned as being needed for libraqm

Looking at their git repo: https://github.com/python-pillow/Pillow/releases, under 9.30 there is a section on Dependencies:

They noted this:

Dependencies

* Updated harfbuzz to 5.3.1 #6669
<https://github.com/python-pillow/Pillow/pull/6669> [@radarhere
<https://github.com/radarhere>]
* Updated zlib to 1.2.13 #6664
<https://github.com/python-pillow/Pillow/pull/6664> [@radarhere
<https://github.com/radarhere>]
* Updated harfbuzz to 5.3.0 #6651
<https://github.com/python-pillow/Pillow/pull/6651> [@radarhere
<https://github.com/radarhere>]
* Update github-actions #6616
<https://github.com/python-pillow/Pillow/pull/6616> [@renovate
<https://github.com/renovate>]
* Updated Ghostscript to 10.0.0 #6609
<https://github.com/python-pillow/Pillow/pull/6609> [@radarhere
<https://github.com/radarhere>]
* Fix Renovate config #6599
<https://github.com/python-pillow/Pillow/pull/6599> [@hugovk
<https://github.com/hugovk>]
* Configure Renovate #6564
<https://github.com/python-pillow/Pillow/pull/6564> [@renovate
<https://github.com/renovate>]
* Updated harfbuzz to 5.2.0 #6591
<https://github.com/python-pillow/Pillow/pull/6591> [@radarhere
<https://github.com/radarhere>]
* [pre-commit.ci] pre-commit autoupdate #6560
<https://github.com/python-pillow/Pillow/pull/6560> [@pre-commit-ci
<https://github.com/pre-commit-ci>]
* Updated libimagequant to 4.0.4 #6535
<https://github.com/python-pillow/Pillow/pull/6535> [@radarhere
<https://github.com/radarhere>]
* Updated libimagequant to 4.0.2 #6523
<https://github.com/python-pillow/Pillow/pull/6523> [@radarhere
<https://github.com/radarhere>]
* Updated libwebp to 1.2.4 #6483
<https://github.com/python-pillow/Pillow/pull/6483> [@radarhere
<https://github.com/radarhere>]
* [pre-commit.ci] pre-commit autoupdate #6472
<https://github.com/python-pillow/Pillow/pull/6472> [@pre-commit-ci
<https://github.com/pre-commit-ci>]
* Updated harfbuzz to 5.1.0 #6466
<https://github.com/python-pillow/Pillow/pull/6466> [@radarhere
<https://github.com/radarhere>]
* Updated libimagequant to 4.0.1 #6451
<https://github.com/python-pillow/Pillow/pull/6451> [@radarhere
<https://github.com/radarhere>]
* Updated libwebp to 1.2.3 #6442
<https://github.com/python-pillow/Pillow/pull/6442> [@radarhere
<https://github.com/radarhere>]

I was just repeating what they said.

Also based on https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html, there are API additions.

Those two bits of information does prompt me to question why and push back.

Quoted 15 lines

https://pillow.readthedocs.io/en/latest/installation.html#external-libraries

but there's no recipe for libraqm yet and so it's not a requirement it seems:

b/pillow$ grep Requiring tmp-glibc/work/core2-64-oe-linux/python3-pillow/9.4.0-r0/temp/log.do_compile Requiring zlib
Requiring jpeg
Requiring tiff
Requiring freetype
Requiring lcms
Requiring jpeg2000

Quoted 3 lines

neither version exists in kirkstone.

Quoted 9 lines
Quoted 1 line

and it appears to be adding a lot of new features.

Yeah, IMO it's a reasonable update because of the semantic versioning approach followed by pillow, specifically:

https://pillow.readthedocs.io/en/stable/releasenotes/versioning.html#versioning

 - MINOR version when you add functionality in a backwards compatible manner,

Ah, so it is.

Quoted 3 lines

but you're the maintainer so I'll send a patch next week.

I appreciate the additional information.  Thanks for your persistence.

Where things get trick is "New Features" is under the "*Unacceptable:*". New Features that break backward compatibility who be a no, but new feature that are backward compatible should be fine and that is how I am interpreting this.

I plan on taking your patch series.

BR,
Armin

Quoted 48 lines

../Randy

Quoted 40 lines

  Per our stable branch process, this update does not qualify to be included.

BR,
Armin

Quoted 35 lines

---
  .../{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb}      | 4
++--

  1 file changed, 2 insertions(+), 2 deletions(-)

  rename meta-python/recipes-devtools/python/{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb} (86%)

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +0 -0
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
index 454d61a48..11f545160 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"

  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
file://0001-support-cross-compiling.patch \
file://0001-explicitly-set-compile-options.patch \
             "

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +0 -0
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"

    BBCLASSEXTEND = "native"
  -SRCREV = "58acec3312fb8671c9d84829197e1c8150085589" +SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100894): https://lists.openembedded.org/g/openembedded-devel/message/100894
Mute This Topic: https://lists.openembedded.org/mt/96664649/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#6 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0

Quoted 190 lines · On 2023-02-04 12:45, akuster808 wrote:
Quoted 85 lines · Randy MacLeod
Quoted 67 lines · On 2023-02-01 08:35, akuster808 wrote:

Hello Randy,

Quoted 64 lines · Randy MacLeod

From: Wang Mingyu <[email protected]>

Changelog:
=========

     Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
     Initialize libtiff buffer when saving #6699 [radarhere]
     Inline fname2char to fix memory leak #6329 [nulano]
     Fix memory leaks related to text features #6330 [nulano]
     Use double quotes for version check on old CPython on Windows #6695 [hugovk]
     Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
     Fixed set_variation_by_name offset #6445 [radarhere]
     Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
     Release Python GIL when converting images using matrix operations #6418 [hmaarrfk] Added ExifTags enums #6630 [radarhere]
     Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
     Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere] Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
     Added GPS TIFF tag info #6661 [radarhere]
     Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
     Do not attempt normalization if mode is already normal #6644 [radarhere]
     Fixed seeking to an L frame in a GIF #6576 [radarhere]
     Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
     Don't reassign crc on ChunkStream close #6627 [wiredfool, radarhere]
     Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere] Show all frames in ImageShow #6611 [radarhere]
     Allow FLI palette chunk to not be first #6626 [radarhere]
     If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere] Round box position to integer when pasting embedded color #6517 [radarhere, nulano] Removed EXIF prefix when saving WebP #6582 [radarhere]
     Pad IM palette to 768 bytes when saving #6579 [radarhere]
     Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
     Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere] Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere] Added reading of TIFF child images #6569 [radarhere]
     Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
     Defer parsing of palette into colors #6567 [radarhere]
     Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
     Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
     Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
     Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere] Corrected BMP and TGA palette size when saving #6500 [radarhere]
     Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
     Copy palette when converting from P to PA #6497 [radarhere]
     Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
     Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
     Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere] Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
     Fixed writing bytes as ASCII tag #6493 [radarhere]
     Open 1 bit EPS in mode 1 #6499 [radarhere]
     Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
     Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
     Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
     Added support for RGBA PSD images #6481 [radarhere]
     Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
     Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere] Do not clear GIF tile when checking number of frames #6455 [radarhere]
     Support saving multiple MPO frames #6444 [radarhere]
     Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
     Added ABGR BMP mask mode #6436 [radarhere]
     Fixed PSDraw rectangle #6429 [radarhere]
     Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
     Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

Quoted 6 lines
Quoted 2 lines

Whats missing here are the dependency needs for kirkstone:
harfbuzz to 4.4.1
libtiff to 4.4.0

Hi Armin,

Thanks for the comments, I think an update could make sense but really I'm after CVE fixes so I won't argue. A CVE patch  was posted for dunfell and it's a one-liner so I'll take that for kirkstone and send a patch.

If you'd like to help me understand your concerns, since I haven't worked with python modules much, you could answer the questions below but they aren't relevant now.

Quoted 6 lines

Why do you think we need those versions? I don't see them called out in the logs above or

in any release notes for pillow and the tests work...

Harfbuzz is mentioned as being needed for libraqm

Looking at their git repo: https://github.com/python-pillow/Pillow/releases, under 9.30 there is a section on Dependencies:

They noted this:

   Dependencies

 * Updated harfbuzz to 5.3.1 #6669
<https://github.com/python-pillow/Pillow/pull/6669> [@radarhere
<https://github.com/radarhere>]
 * Updated zlib to 1.2.13 #6664
<https://github.com/python-pillow/Pillow/pull/6664> [@radarhere
<https://github.com/radarhere>]
 * Updated harfbuzz to 5.3.0 #6651
<https://github.com/python-pillow/Pillow/pull/6651> [@radarhere
<https://github.com/radarhere>]
 * Update github-actions #6616
<https://github.com/python-pillow/Pillow/pull/6616> [@renovate
<https://github.com/renovate>]
 * Updated Ghostscript to 10.0.0 #6609
<https://github.com/python-pillow/Pillow/pull/6609> [@radarhere
<https://github.com/radarhere>]
 * Fix Renovate config #6599
<https://github.com/python-pillow/Pillow/pull/6599> [@hugovk
<https://github.com/hugovk>]
 * Configure Renovate #6564
<https://github.com/python-pillow/Pillow/pull/6564> [@renovate
<https://github.com/renovate>]
 * Updated harfbuzz to 5.2.0 #6591
<https://github.com/python-pillow/Pillow/pull/6591> [@radarhere
<https://github.com/radarhere>]
 * [pre-commit.ci] pre-commit autoupdate #6560
<https://github.com/python-pillow/Pillow/pull/6560> [@pre-commit-ci
<https://github.com/pre-commit-ci>]
 * Updated libimagequant to 4.0.4 #6535
<https://github.com/python-pillow/Pillow/pull/6535> [@radarhere
<https://github.com/radarhere>]
 * Updated libimagequant to 4.0.2 #6523
<https://github.com/python-pillow/Pillow/pull/6523> [@radarhere
<https://github.com/radarhere>]
 * Updated libwebp to 1.2.4 #6483
<https://github.com/python-pillow/Pillow/pull/6483> [@radarhere
<https://github.com/radarhere>]
 * [pre-commit.ci] pre-commit autoupdate #6472
<https://github.com/python-pillow/Pillow/pull/6472> [@pre-commit-ci
<https://github.com/pre-commit-ci>]
 * Updated harfbuzz to 5.1.0 #6466
<https://github.com/python-pillow/Pillow/pull/6466> [@radarhere
<https://github.com/radarhere>]
 * Updated libimagequant to 4.0.1 #6451
<https://github.com/python-pillow/Pillow/pull/6451> [@radarhere
<https://github.com/radarhere>]
 * Updated libwebp to 1.2.3 #6442
<https://github.com/python-pillow/Pillow/pull/6442> [@radarhere
<https://github.com/radarhere>]

I was just repeating what they said.

Also based on https://pillow.readthedocs.io/en/stable/releasenotes/9.3.0.html, there are API additions.

Those two bits of information does prompt me to question why and push back.

Quoted 18 lines

https://pillow.readthedocs.io/en/latest/installation.html#external-libraries

but there's no recipe for libraqm yet and so it's not a requirement it seems:

b/pillow$ grep Requiring tmp-glibc/work/core2-64-oe-linux/python3-pillow/9.4.0-r0/temp/log.do_compile Requiring zlib
Requiring jpeg
Requiring tiff
Requiring freetype
Requiring lcms
Requiring jpeg2000

Quoted 4 lines

neither version exists in kirkstone.

and it appears to be adding a lot of new features.

Quoted 8 lines

Yeah, IMO it's a reasonable update because of the semantic versioning approach followed by pillow, specifically:

https://pillow.readthedocs.io/en/stable/releasenotes/versioning.html#versioning

 - MINOR version when you add functionality in a backwards compatible manner,

Ah, so it is.

Quoted 1 line
Quoted 8 lines
Quoted 2 lines

but you're the maintainer so I'll send a patch next week.

I appreciate the additional information.  Thanks for your persistence.

Where things get trick is "New Features" is under the "*Unacceptable:*". New Features that break backward compatibility who be a no, but new feature that are backward compatible should be fine and that is how I am interpreting this.

I plan on taking your patch series.

Ah cool. I know that it's often a hard line to draw but in this case a 9.X update seems sensible.

Thanks,
../Randy

Quoted 52 lines

BR,
Armin

Quoted 48 lines

../Randy

Quoted 40 lines

  Per our stable branch process, this update does not qualify to be included.

BR,
Armin

Quoted 35 lines

---
  .../{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb}      | 4
++--

  1 file changed, 2 insertions(+), 2 deletions(-)

  rename meta-python/recipes-devtools/python/{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb} (86%)

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +0 -0
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
index 454d61a48..11f545160 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"

  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
file://0001-support-cross-compiling.patch \
file://0001-explicitly-set-compile-options.patch \
             "

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +0 -0
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"

    BBCLASSEXTEND = "native"
  -SRCREV = "58acec3312fb8671c9d84829197e1c8150085589" +SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100894): https://lists.openembedded.org/g/openembedded-devel/message/100894
Mute This Topic: https://lists.openembedded.org/mt/96664649/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux
Signature · 2 lines
# Randy MacLeod
# Wind River Linux
#7 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0

In reply to Randy MacLeod

this and some of the other patches need to land in langdale first which I am doing.

-armin

Quoted 102 lines · Randy MacLeod

From: Wang Mingyu <[email protected]>

Changelog:
=========

Limit SAMPLESPERPIXEL to avoid runtime DOS #6700 [wiredfool]
Initialize libtiff buffer when saving #6699 [radarhere]
Inline fname2char to fix memory leak #6329 [nulano]
Fix memory leaks related to text features #6330 [nulano]
Use double quotes for version check on old CPython on Windows #6695 [hugovk]
Remove backup implementation of Round for Windows platforms #6693 [cgohlke]
Fixed set_variation_by_name offset #6445 [radarhere]
Fix malloc in _imagingft.c:font_setvaraxes #6690 [cgohlke]
Release Python GIL when converting images using matrix operations #6418 [hmaarrfk] Added ExifTags enums #6630 [radarhere]
Do not modify previous frame when calculating delta in PNG #6683 [radarhere]
Added support for reading BMP images with RLE4 compression #6674 [npjg, radarhere] Decode JPEG compressed BLP1 data in original mode #6678 [radarhere]
Added GPS TIFF tag info #6661 [radarhere]
Added conversion between RGB/RGBA/RGBX and LAB #6647 [radarhere]
Do not attempt normalization if mode is already normal #6644 [radarhere]
Fixed seeking to an L frame in a GIF #6576 [radarhere]
Consider all frames when selecting mode for PNG save_all #6610 [radarhere]
Don't reassign crc on ChunkStream close #6627 [wiredfool, radarhere]
Raise a warning if NumPy failed to raise an error during conversion #6594 [radarhere] Show all frames in ImageShow #6611 [radarhere]
Allow FLI palette chunk to not be first #6626 [radarhere]
If first GIF frame has transparency for RGB_ALWAYS loading strategy, use RGBA mode #6592 [radarhere] Round box position to integer when pasting embedded color #6517 [radarhere, nulano] Removed EXIF prefix when saving WebP #6582 [radarhere]
Pad IM palette to 768 bytes when saving #6579 [radarhere]
Added DDS BC6H reading #6449 [ShadelessFox, REDxEYE, radarhere]
Added support for opening WhiteIsZero 16-bit integer TIFF images #6642 [JayWiz, radarhere] Raise an error when allocating translucent color to RGB palette #6654 [jsbueno, radarhere] Added reading of TIFF child images #6569 [radarhere]
Improved ImageOps palette handling #6596 [PososikTeam, radarhere]
Defer parsing of palette into colors #6567 [radarhere]
Apply transparency to P images in ImageTk.PhotoImage #6559 [radarhere]
Use rounding in ImageOps contain() and pad() #6522 [bibinhashley, radarhere]
Fixed GIF remapping to palette with duplicate entries #6548 [radarhere]
Allow remap_palette() to return an image with less than 256 palette entries #6543 [radarhere] Corrected BMP and TGA palette size when saving #6500 [radarhere]
Do not call load() before draft() in Image.thumbnail #6539 [radarhere]
Copy palette when converting from P to PA #6497 [radarhere]
Allow RGB and RGBA values for PA image putpixel #6504 [radarhere]
Removed support for tkinter in PyPy before Python 3.6 #6551 [nulano]
Do not use CCITTFaxDecode filter if libtiff is not available #6518 [radarhere] Fallback to not using mmap if buffer is not large enough #6510 [radarhere]
Fixed writing bytes as ASCII tag #6493 [radarhere]
Open 1 bit EPS in mode 1 #6499 [radarhere]
Removed support for tkinter before Python 1.5.2 #6549 [radarhere]
Allow default ImageDraw font to be set #6484 [radarhere, hugovk]
Save 1 mode PDF using CCITTFaxDecode filter #6470 [radarhere]
Added support for RGBA PSD images #6481 [radarhere]
Parse orientation from XMP tag contents #6463 [bigcat88, radarhere]
Added support for reading ATI1/ATI2 (BC4/BC5) DDS images #6457 [REDxEYE, radarhere] Do not clear GIF tile when checking number of frames #6455 [radarhere]
Support saving multiple MPO frames #6444 [radarhere]
Do not double quote Pillow version for setuptools >= 60 #6450 [radarhere]
Added ABGR BMP mask mode #6436 [radarhere]
Fixed PSDraw rectangle #6429 [radarhere]
Raise ValueError if PNG sRGB chunk is truncated #6431 [radarhere]
Handle missing Python executable in ImageShow on macOS #6416 [bryant1410, radarhere]

---
  .../{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb}      | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pillow_9.2.0.bb => python3-pillow_9.3.0.bb} (86%)

meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb +2 -3
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
index 454d61a48..11f545160 100644
@@ -5,7 +5,7 @@ HOMEPAGE = "https://pillow.readthedocs.io"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=ad081a0aede51e89f8da13333a8fb849"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=9.2.x;protocol=https \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https \
             file://0001-support-cross-compiling.patch \
             file://0001-explicitly-set-compile-options.patch \
             "
@@ -39,4 +39,4 @@ RPROVIDES:${PN} += "python3-imaging"
 
  BBCLASSEXTEND = "native"
 
-SRCREV = "58acec3312fb8671c9d84829197e1c8150085589"
+SRCREV = "d594f4cb8dc47fb0c69ae58d9fff86faae4515bd"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#100894): https://lists.openembedded.org/g/openembedded-devel/message/100894
Mute This Topic: https://lists.openembedded.org/mt/96664649/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#11 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest

In reply to Randy MacLeod

Randy,

Quoted 3 lines · Randy MacLeod

ptest results:

    ====== 3600 passed, 324 skipped, 2 xfailed, 1 xpassed in 74.41s (0:01:14) ======

for qemux86-64 with 2 GB RAM which is the same as seen on master.

Did I miss the patch for master?

-armin

Quoted 33 lines
---
  meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 ++
  1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb +2 -1
index 68c81029c..5a466778c 100644
@@ -38,11 +38,13 @@ RDEPENDS:${PN}-ptest += " \
      jpeg-tools \
      libwebp \
      ${PYTHON_PN}-core \
+    ${PYTHON_PN}-distutils \
      ${PYTHON_PN}-image \
      ${PYTHON_PN}-mmap \
      ${PYTHON_PN}-pytest \
      ${PYTHON_PN}-pytest-timeout \
      ${PYTHON_PN}-resource \
+    ${PYTHON_PN}-unixadmin\
      tk \
  "
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#100895): https://lists.openembedded.org/g/openembedded-devel/message/100895
Mute This Topic: https://lists.openembedded.org/mt/96664650/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#12 lore raw

Re: [oe] [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest

Quoted 8 lines · On 2023-02-06 12:19, akuster808 wrote:

Randy,

Quoted 3 lines · Randy MacLeod

ptest results:
    ====== 3600 passed, 324 skipped, 2 xfailed, 1 xpassed in 74.41s (0:01:14) ====== for qemux86-64 with 2 GB RAM which is the same as seen on master.

Did I miss the patch for master?

This patch wasn't required for master, I'm not sure why offhand.

../Randy

Quoted 35 lines

-armin

Quoted 32 lines

---
  meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 ++

  1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb +2 -0
index 68c81029c..5a466778c 100644
@@ -38,11 +38,13 @@ RDEPENDS:${PN}-ptest += " \
       jpeg-tools \
       libwebp \
       ${PYTHON_PN}-core \
+    ${PYTHON_PN}-distutils \
       ${PYTHON_PN}-image \
       ${PYTHON_PN}-mmap \
       ${PYTHON_PN}-pytest \
       ${PYTHON_PN}-pytest-timeout \
       ${PYTHON_PN}-resource \
+    ${PYTHON_PN}-unixadmin\
       tk \

  "

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100895): https://lists.openembedded.org/g/openembedded-devel/message/100895
Mute This Topic: https://lists.openembedded.org/mt/96664650/3616698
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux