python3-pillow: Upgrade 8.2.0 -> 8.3.1
PATCH 1/1 python3-pillow: Upgrade 8.2.0 -> 8.3.1
From: Leon Anavi <[email protected]>
Upgrade to release 8.3.1:
- Catch OSError when checking if fp is sys.stdout
- Handle removing orientation from alternate types of EXIF data
- Make Image.__array__ take optional dtype argument
Fixes CVE-2021-34552.
(cherry picked from commit a5fc60071f0a0a16096792c4e1970d31f5964539)
---
.../{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta-python/recipes-devtools/python/{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} (86%)meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +2 -2
@@ -5,11 +5,11 @@ HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433" +SRCREV ?= "92933b86574b9c80764bf52c357ed29e1ef53382" inherit setuptools3
Signature · 1 line
2.25.1
Quoted 3 lines · Joe Slater
From: Leon Anavi <[email protected]>
Upgrade to release 8.3.1:
It looks like 8.3 has some API Changes:
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html
so it's likely not a go for hardknott but
I didn't clone and examine the src repo.
Was you goal to fix a CVE Joe or something else?
../Randy
Quoted 40 lines
- Catch OSError when checking if fp is sys.stdout
- Handle removing orientation from alternate types of EXIF data
- Make Image.__array__ take optional dtype argumentSigned-off-by Leon Anavi <[email protected]>Signed-off-by Khem Raj <[email protected]>Signed-off-by Trevor Gamblin <[email protected]>Fixes CVE-2021-34552.
(cherry picked from commita5fc60071f0a0a16096792c4e1970d31f5964539)Signed-off-by Joe Slater <[email protected]>--- .../{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} (86%)
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +2
-2@@ -5,11 +5,11 @@ HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a" -SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433" +SRCREV ?= "92933b86574b9c80764bf52c357ed29e1ef53382" inherit setuptools3
Signature · 2 lines
# Randy MacLeod # Wind River Linux
CVE fix.
Quoted 75 lines
-----Original Message-----
From: MacLeod, Randy <[email protected]>
Sent: Wednesday, July 21, 2021 4:12 PM
To: Slater, Joseph <[email protected]>; openembedded- [email protected]
Subject: Re: [hardknott][meta-python][PATCH 1/1] python3-pillow: Upgrade 8.2.0 -> 8.3.1Quoted 3 lines · Joe Slater
From: Leon Anavi <[email protected]>
Upgrade to release 8.3.1:
It looks like 8.3 has some API Changes:
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html
so it's likely not a go for hardknott but I didn't clone and examine the src repo.
Was you goal to fix a CVE Joe or something else?
../Randy
Quoted 30 lines
- Catch OSError when checking if fp is sys.stdout
- Handle removing orientation from alternate types of EXIF data
- Make Image.__array__ take optional dtype argumentSigned-off-by Leon Anavi <[email protected]>Signed-off-by Khem Raj <[email protected]>Signed-off-by Trevor Gamblin <[email protected]>Fixes CVE-2021-34552.
(cherry picked from commita5fc60071f0a0a16096792c4e1970d31f5964539)Signed-off-by Joe Slater <[email protected]>--- .../{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-pillow_8.2.0.bb
=> python3-pillow_8.3.1.bb} (86%)diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb rename to meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb index3241230d1..045357a6a100644meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb HOMEPAGE = "https://pillow.readthedocs.io" · line 6
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +0
-0@@ -5,11 +5,11 @@ HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM ="file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a"
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb HOMEPAGE = "https://pillow.readthedocs.io"
Quoted 12 lines
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +2
-2-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433" +SRCREV ?= "92933b86574b9c80764bf52c357ed29e1ef53382" inherit setuptools3--
# Randy MacLeod
# Wind River Linux
Quoted 1 line · Joseph
CVE fix.
The please cherry-pick the fix back to 8.2.0 for hardknott.
../Randy
Quoted 76 lines
Quoted 76 lines
-----Original Message-----
From: MacLeod, Randy <[email protected]>
Sent: Wednesday, July 21, 2021 4:12 PM
To: Slater, Joseph <[email protected]>; openembedded- [email protected]
Subject: Re: [hardknott][meta-python][PATCH 1/1] python3-pillow: Upgrade 8.2.0 -> 8.3.1Quoted 3 lines · Joe Slater
From: Leon Anavi <[email protected]>
Upgrade to release 8.3.1:
It looks like 8.3 has some API Changes:
https://pillow.readthedocs.io/en/stable/releasenotes/8.3.0.html
so it's likely not a go for hardknott but I didn't clone and examine the src repo.
Was you goal to fix a CVE Joe or something else?
../Randy
Quoted 30 lines
- Catch OSError when checking if fp is sys.stdout
- Handle removing orientation from alternate types of EXIF data
- Make Image.__array__ take optional dtype argumentSigned-off-by Leon Anavi <[email protected]>Signed-off-by Khem Raj <[email protected]>Signed-off-by Trevor Gamblin <[email protected]>Fixes CVE-2021-34552.
(cherry picked from commita5fc60071f0a0a16096792c4e1970d31f5964539)Signed-off-by Joe Slater <[email protected]>--- .../{python3-pillow_8.2.0.bb => python3-pillow_8.3.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)rename meta-python/recipes-devtools/python/{python3-pillow_8.2.0.bb
=> python3-pillow_8.3.1.bb} (86%)diff --git a/meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb b/meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb similarity index 86%
rename from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb rename to meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb index3241230d1..045357a6a100644meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb HOMEPAGE = "https://pillow.readthedocs.io" · line 6
Quoted 2 lines
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +0
-0@@ -5,11 +5,11 @@ HOMEPAGE = "https://pillow.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM ="file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a"
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb HOMEPAGE = "https://pillow.readthedocs.io"
Quoted 12 lines
meta-python/recipes-devtools/python/python3-pillow_8.3.1.bb renamed from meta-python/recipes-devtools/python/python3-pillow_8.2.0.bb +2
-2-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.2.x \ +SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.3.x \ file://0001-support-cross-compiling.patch \ file://0001-explicitly-set-compile-options.patch \ " -SRCREV ?= "e0e353c0ef7516979a9aedce3792596649ce4433" +SRCREV ?= "92933b86574b9c80764bf52c357ed29e1ef53382" inherit setuptools3--
# Randy MacLeod
# Wind River Linux
Signature · 2 lines
# Randy MacLeod # Wind River Linux