* [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1
@ 2023-01-31 23:08 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 2/6] python3-pillow: upgrade 9.1.1 -> 9.2.0 Randy MacLeod
` (6 more replies)
0 siblings, 7 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:08 UTC (permalink / raw)
To: openembedded-devel
From: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../{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%)
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb b/meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
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
--- a/meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
@@ -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"
--
2.39.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [meta-python][kirkstone][PATCH 2/6] python3-pillow: upgrade 9.1.1 -> 9.2.0
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
@ 2023-01-31 23:08 ` Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0 Randy MacLeod
` (5 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:08 UTC (permalink / raw)
To: openembedded-devel
From: zhengruoqin <zhengrq.fnst@fujitsu.com>
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
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../{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%)
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb b/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
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
--- a/meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
@@ -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"
--
2.39.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 2/6] python3-pillow: upgrade 9.1.1 -> 9.2.0 Randy MacLeod
@ 2023-01-31 23:08 ` Randy MacLeod
2023-02-01 13:35 ` [oe] " akuster808
2023-02-06 17:15 ` akuster808
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0 Randy MacLeod
` (4 subsequent siblings)
6 siblings, 2 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:08 UTC (permalink / raw)
To: openembedded-devel
From: Wang Mingyu <wangmy@fujitsu.com>
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]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../{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%)
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
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
--- a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
@@ -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"
--
2.39.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 2/6] python3-pillow: upgrade 9.1.1 -> 9.2.0 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0 Randy MacLeod
@ 2023-01-31 23:08 ` Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 5/6] python3-pillow: add ptest support Randy MacLeod
` (3 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:08 UTC (permalink / raw)
To: openembedded-devel
From: Wang Mingyu <wangmy@fujitsu.com>
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
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
.../{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%)
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
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
--- a/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
@@ -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"
--
2.39.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [meta-python][kirkstone][PATCH 5/6] python3-pillow: add ptest support
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
` (2 preceding siblings ...)
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0 Randy MacLeod
@ 2023-01-31 23:08 ` Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest Randy MacLeod
` (2 subsequent siblings)
6 siblings, 0 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:08 UTC (permalink / raw)
To: openembedded-devel
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>
---
.../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
diff --git a/meta-python/recipes-devtools/python/python3-pillow/run-ptest b/meta-python/recipes-devtools/python/python3-pillow/run-ptest
new file mode 100644
index 000000000..3385d6893
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pillow/run-ptest
@@ -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}}'
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
index 403a987d1..68c81029c 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
@@ -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"
--
2.39.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
` (3 preceding siblings ...)
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 5/6] python3-pillow: add ptest support Randy MacLeod
@ 2023-01-31 23:08 ` Randy MacLeod
2023-02-06 17:19 ` [oe] " akuster808
[not found] ` <173F8777BB97215C.30239@lists.openembedded.org>
2023-02-01 13:17 ` [oe] [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 akuster808
6 siblings, 1 reply; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:08 UTC (permalink / raw)
To: openembedded-devel
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.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
index 68c81029c..5a466778c 100644
--- a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
@@ -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 \
"
--
2.39.0
^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0
[not found] ` <173F8777BB97215C.30239@lists.openembedded.org>
@ 2023-01-31 23:15 ` Randy MacLeod
0 siblings, 0 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-01-31 23:15 UTC (permalink / raw)
To: openembedded-devel, Armin Kuster; +Cc: Orling, Timothy T
[-- Attachment #1: Type: text/plain, Size: 4483 bytes --]
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
On 2023-01-31 18:08, Randy MacLeod via lists.openembedded.org wrote:
> From: Wang Mingyu<wangmy@fujitsu.com>
>
> 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
>
> Signed-off-by: Wang Mingyu<wangmy@fujitsu.com>
> Signed-off-by: Khem Raj<raj.khem@gmail.com>
> ---
> .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
> 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
> --- a/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
> @@ -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:openembedded-devel+owner@lists.openembedded.org
> Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [randy.macleod@windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 6275 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
` (5 preceding siblings ...)
[not found] ` <173F8777BB97215C.30239@lists.openembedded.org>
@ 2023-02-01 13:17 ` akuster808
6 siblings, 0 replies; 15+ messages in thread
From: akuster808 @ 2023-02-01 13:17 UTC (permalink / raw)
To: Randy MacLeod, openembedded-devel
Randy,
On 1/31/23 6:08 PM, Randy MacLeod wrote:
> From: Xu Huan <xuhuan.fnst@fujitsu.com>
>
> Signed-off-by: Xu Huan <xuhuan.fnst@fujitsu.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../{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
> 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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb b/meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
> 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
> --- a/meta-python/recipes-devtools/python/python3-pillow_9.0.1.bb
> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.1.1.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0 Randy MacLeod
@ 2023-02-01 13:35 ` akuster808
2023-02-03 18:37 ` Randy MacLeod
2023-02-06 17:15 ` akuster808
1 sibling, 1 reply; 15+ messages in thread
From: akuster808 @ 2023-02-01 13:35 UTC (permalink / raw)
To: Randy MacLeod, openembedded-devel
Hello Randy,
On 1/31/23 6:08 PM, Randy MacLeod wrote:
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> 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]
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
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
> ---
> .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
> 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
> --- a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0
2023-02-01 13:35 ` [oe] " akuster808
@ 2023-02-03 18:37 ` Randy MacLeod
2023-02-04 17:45 ` akuster808
0 siblings, 1 reply; 15+ messages in thread
From: Randy MacLeod @ 2023-02-03 18:37 UTC (permalink / raw)
To: akuster808, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 8677 bytes --]
On 2023-02-01 08:35, akuster808 wrote:
> Hello Randy,
>
> On 1/31/23 6:08 PM, Randy MacLeod wrote:
>> From: Wang Mingyu <wangmy@fujitsu.com>
>>
>> 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]
>>
>> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>
> 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
>
> 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
> Per our stable branch process, this update does not qualify to be
> included.
>
> BR,
> Armin
>> ---
>> .../{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%)
>>
>> diff --git
>> a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
>> b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
>> 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
>> --- a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
>> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
>> @@ -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: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe:
>> https://lists.openembedded.org/g/openembedded-devel/unsub
>> [akuster808@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 14318 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0
2023-02-03 18:37 ` Randy MacLeod
@ 2023-02-04 17:45 ` akuster808
2023-02-04 19:45 ` Randy MacLeod
0 siblings, 1 reply; 15+ messages in thread
From: akuster808 @ 2023-02-04 17:45 UTC (permalink / raw)
To: Randy MacLeod, openembedded-devel
On 2/3/23 1:37 PM, Randy MacLeod wrote:
> On 2023-02-01 08:35, akuster808 wrote:
>> Hello Randy,
>>
>> On 1/31/23 6:08 PM, Randy MacLeod wrote:
>>> From: Wang Mingyu <wangmy@fujitsu.com>
>>>
>>> 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]
>>>
>>> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>
>> 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
>
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.
> 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
>
>>
>> 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,
>
Ah, so it is.
>
> 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
>
> ../Randy
>
>
>> Per our stable branch process, this update does not qualify to be
>> included.
>>
>> BR,
>> Armin
>>> ---
>>> .../{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%)
>>>
>>> diff --git
>>> a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
>>> b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
>>> 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
>>> --- a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
>>> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
>>> @@ -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: openembedded-devel+owner@lists.openembedded.org
>>> Unsubscribe:
>>> https://lists.openembedded.org/g/openembedded-devel/unsub
>>> [akuster808@gmail.com]
>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>
>>
>
> --
> # Randy MacLeod
> # Wind River Linux
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0
2023-02-04 17:45 ` akuster808
@ 2023-02-04 19:45 ` Randy MacLeod
0 siblings, 0 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-02-04 19:45 UTC (permalink / raw)
To: akuster808, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 12600 bytes --]
On 2023-02-04 12:45, akuster808 wrote:
>
>
> On 2/3/23 1:37 PM, Randy MacLeod wrote:
>> On 2023-02-01 08:35, akuster808 wrote:
>>> Hello Randy,
>>>
>>> On 1/31/23 6:08 PM, Randy MacLeod wrote:
>>>> From: Wang Mingyu <wangmy@fujitsu.com>
>>>>
>>>> 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]
>>>>
>>>> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
>>>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>>>
>>> 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
>>
>
> 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.
>
>
>
>
>> 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
>>
>>>
>>> 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,
>>
>
> Ah, so it is.
>>
>> 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
>
> BR,
> Armin
>>
>> ../Randy
>>
>>
>>> Per our stable branch process, this update does not qualify to be
>>> included.
>>>
>>> BR,
>>> Armin
>>>> ---
>>>> .../{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%)
>>>>
>>>> diff --git
>>>> a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
>>>> b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
>>>> 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
>>>> --- a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
>>>> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
>>>> @@ -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: openembedded-devel+owner@lists.openembedded.org
>>>> Unsubscribe:
>>>> https://lists.openembedded.org/g/openembedded-devel/unsub
>>>> [akuster808@gmail.com]
>>>> -=-=-=-=-=-=-=-=-=-=-=-
>>>>
>>>
>>
>> --
>> # Randy MacLeod
>> # Wind River Linux
>
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 24241 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0 Randy MacLeod
2023-02-01 13:35 ` [oe] " akuster808
@ 2023-02-06 17:15 ` akuster808
1 sibling, 0 replies; 15+ messages in thread
From: akuster808 @ 2023-02-06 17:15 UTC (permalink / raw)
To: Randy MacLeod, openembedded-devel
this and some of the other patches need to land in langdale first which
I am doing.
-armin
On 1/31/23 6:08 PM, Randy MacLeod wrote:
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> 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]
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
> .../{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%)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
> 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
> --- a/meta-python/recipes-devtools/python/python3-pillow_9.2.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.3.0.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest Randy MacLeod
@ 2023-02-06 17:19 ` akuster808
2023-02-06 18:40 ` Randy MacLeod
0 siblings, 1 reply; 15+ messages in thread
From: akuster808 @ 2023-02-06 17:19 UTC (permalink / raw)
To: Randy MacLeod, openembedded-devel
Randy,
On 1/31/23 6:08 PM, Randy MacLeod wrote:
> 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
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> ---
> meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
> index 68c81029c..5a466778c 100644
> --- a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
> @@ -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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [oe] [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest
2023-02-06 17:19 ` [oe] " akuster808
@ 2023-02-06 18:40 ` Randy MacLeod
0 siblings, 0 replies; 15+ messages in thread
From: Randy MacLeod @ 2023-02-06 18:40 UTC (permalink / raw)
To: akuster808, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 1887 bytes --]
On 2023-02-06 12:19, akuster808 wrote:
> Randy,
>
> On 1/31/23 6:08 PM, Randy MacLeod wrote:
>> 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
>
> -armin
>>
>> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
>> ---
>> meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git
>> a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
>> b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
>> index 68c81029c..5a466778c 100644
>> --- a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
>> +++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb
>> @@ -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: openembedded-devel+owner@lists.openembedded.org
>> Unsubscribe:
>> https://lists.openembedded.org/g/openembedded-devel/unsub
>> [akuster808@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>
>
--
# Randy MacLeod
# Wind River Linux
[-- Attachment #2: Type: text/html, Size: 3958 bytes --]
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-02-06 18:40 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-31 23:08 [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 2/6] python3-pillow: upgrade 9.1.1 -> 9.2.0 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 3/6] python3-pillow: upgrade 9.2.0 -> 9.3.0 Randy MacLeod
2023-02-01 13:35 ` [oe] " akuster808
2023-02-03 18:37 ` Randy MacLeod
2023-02-04 17:45 ` akuster808
2023-02-04 19:45 ` Randy MacLeod
2023-02-06 17:15 ` akuster808
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0 Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 5/6] python3-pillow: add ptest support Randy MacLeod
2023-01-31 23:08 ` [meta-python][kirkstone][PATCH 6/6] python3-pillow: Add distutils, unixadmin for ptest Randy MacLeod
2023-02-06 17:19 ` [oe] " akuster808
2023-02-06 18:40 ` Randy MacLeod
[not found] ` <173F8777BB97215C.30239@lists.openembedded.org>
2023-01-31 23:15 ` [oe] [meta-python][kirkstone][PATCH 4/6] python3-pillow: upgrade 9.3.0 -> 9.4.0 Randy MacLeod
2023-02-01 13:17 ` [oe] [meta-python][kirkstone][PATCH 1/6] python3-pillow: upgrade 9.0.1 -> 9.1.1 akuster808
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.