Skip to contentSkip to conversation

python3-pillow: Upgrade 7.2.0 -> 8.1.0

PATCH In review Leon Anavi 2 participants 20 messages Jan 11, 2021 – Jan 12, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/10 python3-pillow: Upgrade 7.2.0 -> 8.1.0

Upgrade to release 8.1.0:

- Fix TIFF OOB Write error
- Fix for Buffer Read Overrun in PCX Decoding
- Fix for SGI Decode buffer overrun
- Fix OOB Read when saving GIF of xsize=1
- Add support for PySide6
- Moved QApplication into one test
- Use disposal settings from previous frame in APNG
- Revert "skip wheels on 3.10-dev due to wheel#354"
- Better _binary module use
- Added exception explaining that repr_png saves to PNG
- Use previous disposal method in GIF load_end
- Do not catch a ValueError only to raise another
- Allow putpalette to accept 1024 integers to include alpha values
- Fix OOB Read when writing TIFF with custom Metadata
- Removed unused variable
- Fix dereferencing of potential null pointers
- Fixed warnings assigning to "unsigned char *" from "char *"
- Add append_images support for ICO
- Fixed comparison warnings
- Block TIFFTAG_SUBIFD
- Fix dereferencing potential null pointer
- Replaced PyErr_NoMemory with ImagingError_MemoryError
- Remove duplicate code
- Moved warning to end of execution
- Removed unused fromstring and tostring C methods
- init() if one of the formats is unrecognised

License-Update: Updated copyright year

---
 .../0001-support-cross-compiling.patch        | 43 ++++++-------------
 ...illow_7.2.0.bb => python3-pillow_8.1.0.bb} |  7 ++-
 2 files changed, 16 insertions(+), 34 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pillow_7.2.0.bb => python3-pillow_8.1.0.bb} (78%)
meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch +13 -30
index 6de19ad87..e4ba35b88 100644
@@ -1,20 +1,21 @@
-From ae7c8d0336381dd4c10e809e9c8926f9deeafeb8 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <[email protected]>
-Date: Thu, 14 Mar 2019 03:48:10 -0400
+From cd09b6f68aa49c72e9a9bb0765e8c666238a7b7e Mon Sep 17 00:00:00 2001
+From: Leon Anavi <[email protected]>
+Date: Mon, 11 Jan 2021 13:25:12 +0000
 Subject: [PATCH] support cross compiling
 
 Upstream-Status: Inappropriate [oe specific]
 
-Signed-off-by: Hongxu Jia <[email protected]>
+Suggested-by: Hongxu Jia <[email protected]>
+Signed-off-by: Leon Anavi <[email protected]>
 ---
- setup.py | 13 +++----------
- 1 file changed, 3 insertions(+), 10 deletions(-)
+ setup.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/setup.py b/setup.py
-index 5ceae344..07863340 100755
+index cbc2641c..302bc6e7 100755
 --- a/setup.py
 +++ b/setup.py
-@@ -105,7 +105,7 @@ _LIB_IMAGING = (
+@@ -123,7 +123,7 @@ _LIB_IMAGING = (
      "codec_fd",
  )
  
@@ -23,39 +24,21 @@ index 5ceae344..07863340 100755
  
  
  class DependencyException(Exception):
-@@ -396,21 +396,16 @@ class pil_build_ext(build_ext):
+@@ -408,12 +408,12 @@ class pil_build_ext(build_ext):
                      _add_directory(library_dirs, match.group(1))
  
          # include, rpath, if set as environment variables:
 -        for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE"):
-+        for k in ('C_INCLUDE_PATH', 'CPATH', 'INCLUDE', 'STAGING_INCDIR'):
++        for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE", "STAGING_INCDIR"):
              if k in os.environ:
                  for d in os.environ[k].split(os.path.pathsep):
                      _add_directory(include_dirs, d)
  
 -        for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB"):
-+        for k in ('LD_RUN_PATH', 'LIBRARY_PATH', 'LIB', 'STAGING_LIBDIR'):
++        for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB", "STAGING_LIBDIR"):
              if k in os.environ:
                  for d in os.environ[k].split(os.path.pathsep):
                      _add_directory(library_dirs, d)
- 
--        prefix = sysconfig.get_config_var("prefix")
--        if prefix:
--            _add_directory(library_dirs, os.path.join(prefix, "lib"))
--            _add_directory(include_dirs, os.path.join(prefix, "include"))
--
-         #
-         # add platform directories
- 
-@@ -469,8 +464,6 @@ class pil_build_ext(build_ext):
-             or sys.platform.startswith("gnu")
-             or sys.platform.startswith("freebsd")
-         ):
--            for dirname in _find_library_dirs_ldconfig():
--                _add_directory(library_dirs, dirname)
-             if sys.platform.startswith("linux") and os.environ.get(
-                 "ANDROID_ROOT", None
-             ):
 -- 
-2.20.1
+2.17.1
 
meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb +3 -4
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb
index 13cab4300..63974590c 100644
@@ -3,14 +3,13 @@ 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=ea2dc3f5611e69058503d4b940049d03"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=7.2.x \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.1.x \
            file://0001-support-cross-compiling.patch \
            file://0001-explicitly-set-compile-options.patch \
 "
-SRCREV ?= "2bd74943fb9f320def6c066e732b701d1c15f677"
-
+SRCREV ?= "fcc42e0d344146ee9d265d1f43c094ce5a0ec4cf"
 
 inherit setuptools3
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/10 python3-croniter: Upgrade 0.3.37 -> 1.0.1

Upgrade to release 1.0.1:

- no changes, just to make sense with new semver2 (making croniter on a stable state)

---
 .../{python3-croniter_0.3.37.bb => python3-croniter_1.0.1.bb}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-croniter_0.3.37.bb => python3-croniter_1.0.1.bb} (78%)
meta-python/recipes-devtools/python/python3-croniter_1.0.1.bb renamed from meta-python/recipes-devtools/python/python3-croniter_0.3.37.bb +1 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-croniter_0.3.37.bb
rename to meta-python/recipes-devtools/python/python3-croniter_1.0.1.bb
index 28c4057cd..0ffae0c0d 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
 
 PYPI_PACKAGE = "croniter"
 
-SRC_URI[sha256sum] = "12ced475dfc107bf7c6c1440af031f34be14cd97bbbfaf0f62221a9c11e86404"
+SRC_URI[sha256sum] = "9d9942beaae10c0f9f5de4dcbfab4d85b10638cf407195b82d990bc086d6de0d"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 2/10
#2 lore raw

Re: [oe] [meta-python][PATCH 02/10] python3-croniter: Upgrade 0.3.37 -> 1.0.1

Quoted 4 lines · Leon Anavi

- no changes, just to make sense with new semver2 (making croniter on a stable state)

Quoted 24 lines
---
  .../{python3-croniter_0.3.37.bb => python3-croniter_1.0.1.bb}   | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-croniter_0.3.37.bb => python3-croniter_1.0.1.bb} (78%)

meta-python/recipes-devtools/python/python3-croniter_1.0.1.bb renamed from meta-python/recipes-devtools/python/python3-croniter_0.3.37.bb +1 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-croniter_0.3.37.bb
rename to meta-python/recipes-devtools/python/python3-croniter_1.0.1.bb
index 28c4057cd..0ffae0c0d 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://docs/LICENSE;md5=b8ee59850b882cbf623188489ea748e2"
 
  PYPI_PACKAGE = "croniter"
 
-SRC_URI[sha256sum] = "12ced475dfc107bf7c6c1440af031f34be14cd97bbbfaf0f62221a9c11e86404"
+SRC_URI[sha256sum] = "9d9942beaae10c0f9f5de4dcbfab4d85b10638cf407195b82d990bc086d6de0d"
 
  inherit pypi setuptools3
 
author
#3 lore raw

PATCH 3/10 python3-pychromecast: Upgrade 7.7.1 -> 7.7.2

In reply to Leon Anavi

Upgrade to release 7.7.2:

- Use urllib.request instead of requests
- docs: fix simple typo, neeeded -> needed

---
 ...hon3-pychromecast_7.7.1.bb => python3-pychromecast_7.7.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pychromecast_7.7.1.bb => python3-pychromecast_7.7.2.bb} (76%)
meta-python/recipes-devtools/python/python3-pychromecast_7.7.2.bb renamed from meta-python/recipes-devtools/python/python3-pychromecast_7.7.1.bb +1 -1
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pychromecast_7.7.1.bb
rename to meta-python/recipes-devtools/python/python3-pychromecast_7.7.2.bb
index ca55740ba..c0ff58cfd 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
 
-SRC_URI[sha256sum] = "d6fd0382395303b3260ea7a89a850c8c9e5c83e7ce71a5fbd793bb157cf8ad26"
+SRC_URI[sha256sum] = "aad4b145cb8c76b629c700877e49c418810aaabb26ace5035c49940f9657f2f0"
 
 PYPI_PACKAGE = "PyChromecast"
 
Signature · 1 line
2.17.1
Acked-by on v1 3/10
#4 lore raw

Re: [oe] [meta-python][PATCH 03/10] python3-pychromecast: Upgrade 7.7.1 -> 7.7.2

Quoted 4 lines · Leon Anavi

- Use urllib.request instead of requests
- docs: fix simple typo, neeeded -> needed

Quoted 24 lines
---
  ...hon3-pychromecast_7.7.1.bb => python3-pychromecast_7.7.2.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-pychromecast_7.7.1.bb => python3-pychromecast_7.7.2.bb} (76%)

meta-python/recipes-devtools/python/python3-pychromecast_7.7.2.bb renamed from meta-python/recipes-devtools/python/python3-pychromecast_7.7.1.bb +1 -1
similarity index 76%
rename from meta-python/recipes-devtools/python/python3-pychromecast_7.7.1.bb
rename to meta-python/recipes-devtools/python/python3-pychromecast_7.7.2.bb
index ca55740ba..c0ff58cfd 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5"
 
-SRC_URI[sha256sum] = "d6fd0382395303b3260ea7a89a850c8c9e5c83e7ce71a5fbd793bb157cf8ad26"
+SRC_URI[sha256sum] = "aad4b145cb8c76b629c700877e49c418810aaabb26ace5035c49940f9657f2f0"
 
  PYPI_PACKAGE = "PyChromecast"
 
author
#5 lore raw

PATCH 4/10 python3-hyperlink: Upgrade 20.0.1 -> 21.0.0

In reply to Leon Anavi

Upgrade to release 21.0.0:

- Update plus sign (+) handling to work with/like HTML form encoding (POST) by default, fixes #129, and associated roundtripping
- Package IDNA tables
- Long overdue dependency bumps

---
 ...python3-hyperlink_20.0.1.bb => python3-hyperlink_21.0.0.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-hyperlink_20.0.1.bb => python3-hyperlink_21.0.0.bb} (74%)
meta-python/recipes-devtools/python/python3-hyperlink_21.0.0.bb renamed from meta-python/recipes-devtools/python/python3-hyperlink_20.0.1.bb +1 -2
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-hyperlink_20.0.1.bb
rename to meta-python/recipes-devtools/python/python3-hyperlink_21.0.0.bb
index c9e281504..5a8791dfb 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/python-hyper/hyperlink"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=6dc5b4bd3d02faedf08461621aa2aeca"
 
-SRC_URI[sha256sum] = "47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af"
-SRC_URI[md5sum] = "d7983e3d2625e5f7dffc8d12da8803ab"
+SRC_URI[sha256sum] = "427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 4/10
#6 lore raw

Re: [oe] [meta-python][PATCH 04/10] python3-hyperlink: Upgrade 20.0.1 -> 21.0.0

Quoted 7 lines · Leon Anavi

- Update plus sign (+) handling to work with/like HTML form encoding (POST) by default, fixes #129, and associated roundtripping
- Package IDNA tables
- Long overdue dependency bumps

Quoted 25 lines
---
  ...python3-hyperlink_20.0.1.bb => python3-hyperlink_21.0.0.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-hyperlink_20.0.1.bb => python3-hyperlink_21.0.0.bb} (74%)

meta-python/recipes-devtools/python/python3-hyperlink_21.0.0.bb renamed from meta-python/recipes-devtools/python/python3-hyperlink_20.0.1.bb +1 -2
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-hyperlink_20.0.1.bb
rename to meta-python/recipes-devtools/python/python3-hyperlink_21.0.0.bb
index c9e281504..5a8791dfb 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/python-hyper/hyperlink"
  LICENSE = "MIT"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=6dc5b4bd3d02faedf08461621aa2aeca"
 
-SRC_URI[sha256sum] = "47fcc7cd339c6cb2444463ec3277bdcfe142c8b1daf2160bdd52248deec815af"
-SRC_URI[md5sum] = "d7983e3d2625e5f7dffc8d12da8803ab"
+SRC_URI[sha256sum] = "427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b"
 
  inherit pypi setuptools3
 
author
#7 lore raw

PATCH 5/10 python3-dnspython: Upgrade 2.0.0 -> 2.1.0

In reply to Leon Anavi

Upgrade to release 2.1.0:

- End-of-line comments are now associated with rdata when read from text. For backwards compatibility with prior versions of dnspython, they are only emitted in to_text() when requested.
- Synchronous I/O is a bit more efficient, as we now try the I/O and only use poll() or select() if the I/O would block.
- The resolver cache classes now offer basic hit and miss statistics, and the LRUCache can also provide hits for every cache key.
- The resolver has a canonical_name() method.
- There is now a registration mechanism for EDNS option types.
- The default EDNS payload size has changed from 1280 to 1232.
- The SVCB, HTTPS, and SMIMEA RR types are now supported.
- TSIG has been enhanced with TKEY and GSS-TSIG support. Thanks to Nick Hall for writing this.
- Zones now can be updated via transactions.
- A new zone subclass, dns.versioned.Zone is available which has a thread-safe transaction implementation and support for keeping many versions of a zone.
- The zone file reading code has been adapted to use transactions, and is now a public API.
- Inbound zone transfer support has been rewritten and is available as dns.query.inbound_xfr() and dns.asyncquery.inbound_xfr(). It uses the transaction mechanism, and fully supports IXFR and AXFR.

---
 .../{python3-dnspython_2.0.0.bb => python3-dnspython_2.1.0.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-dnspython_2.0.0.bb => python3-dnspython_2.1.0.bb} (81%)
meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb +1 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb
rename to meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb
index a4e984619..20de09391 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "http://www.dnspython.org/"
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34"
 
-SRC_URI[md5sum] = "42f922c9223dde0275e8c0695ead37da"
-SRC_URI[sha256sum] = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7"
+SRC_URI[sha256sum] = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4"
 
 PYPI_PACKAGE_EXT = "zip"
 
Signature · 1 line
2.17.1
Acked-by on v1 5/10
#8 lore raw

Re: [oe] [meta-python][PATCH 05/10] python3-dnspython: Upgrade 2.0.0 -> 2.1.0

Quoted 24 lines · Leon Anavi

- End-of-line comments are now associated with rdata when read from text. For backwards compatibility with prior versions of dnspython, they are only emitted in to_text() when requested.
- Synchronous I/O is a bit more efficient, as we now try the I/O and only use poll() or select() if the I/O would block.
- The resolver cache classes now offer basic hit and miss statistics, and the LRUCache can also provide hits for every cache key.
- The resolver has a canonical_name() method.
- There is now a registration mechanism for EDNS option types.
- The default EDNS payload size has changed from 1280 to 1232.
- The SVCB, HTTPS, and SMIMEA RR types are now supported.
- TSIG has been enhanced with TKEY and GSS-TSIG support. Thanks to Nick Hall for writing this.
- Zones now can be updated via transactions.
- A new zone subclass, dns.versioned.Zone is available which has a thread-safe transaction implementation and support for keeping many versions of a zone.
- The zone file reading code has been adapted to use transactions, and is now a public API.
- Inbound zone transfer support has been rewritten and is available as dns.query.inbound_xfr() and dns.asyncquery.inbound_xfr(). It uses the transaction mechanism, and fully supports IXFR and AXFR.

Quoted 1 line
Quoted 25 lines
---
  .../{python3-dnspython_2.0.0.bb => python3-dnspython_2.1.0.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-dnspython_2.0.0.bb => python3-dnspython_2.1.0.bb} (81%)

meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb renamed from meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb +1 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-dnspython_2.0.0.bb
rename to meta-python/recipes-devtools/python/python3-dnspython_2.1.0.bb
index a4e984619..20de09391 100644
@@ -3,8 +3,7 @@ HOMEPAGE = "http://www.dnspython.org/"
  LICENSE = "ISC"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=5af50906b5929837f667dfe31052bd34"
 
-SRC_URI[md5sum] = "42f922c9223dde0275e8c0695ead37da"
-SRC_URI[sha256sum] = "044af09374469c3a39eeea1a146e8cac27daec951f1f1f157b1962fc7cb9d1b7"
+SRC_URI[sha256sum] = "e4a87f0b573201a0f3727fa18a516b055fd1107e0e5477cded4a2de497df1dd4"
 
  PYPI_PACKAGE_EXT = "zip"
 
author
#9 lore raw

PATCH 6/10 python3-prompt-toolkit: Upgrade 3.0.9 -> 3.0.10

In reply to Leon Anavi

Upgrade to release 3.0.10:

- Improved WordCompleter: accept display_dict. Also accept formatted text for both display_dict and meta_dict.
- Allow customization of button arrows.
- Correctly recognize backtab on Windows.
- Show original display text in fuzzy completer if no filtering was done.

---
 ...prompt-toolkit_3.0.9.bb => python3-prompt-toolkit_3.0.10.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_3.0.9.bb => python3-prompt-toolkit_3.0.10.bb} (86%)
meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.9.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.9.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb
index 589d9398d..abd9eb18c 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
 
-SRC_URI[sha256sum] = "c5eeab58dd31b541442825d7870777f2a2f764eb5fda03334d5219cd84b9722f"
+SRC_URI[sha256sum] = "b8b3d0bde65da350290c46a8f54f336b3cbf5464a4ac11239668d986852e79d5"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 6/10
#10 lore raw

Re: [oe] [meta-python][PATCH 06/10] python3-prompt-toolkit: Upgrade 3.0.9 -> 3.0.10

Quoted 8 lines · Leon Anavi

- Improved WordCompleter: accept display_dict. Also accept formatted text for both display_dict and meta_dict.
- Allow customization of button arrows.
- Correctly recognize backtab on Windows.
- Show original display text in fuzzy completer if no filtering was done.

Quoted 24 lines
---
  ...prompt-toolkit_3.0.9.bb => python3-prompt-toolkit_3.0.10.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta-python/recipes-devtools/python/{python3-prompt-toolkit_3.0.9.bb => python3-prompt-toolkit_3.0.10.bb} (86%)

meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb renamed from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.9.bb +1 -1
similarity index 86%
rename from meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.9.bb
rename to meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.10.bb
index 589d9398d..abd9eb18c 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://python-prompt-toolkit.readthedocs.io/"
  LICENSE = "BSD-3-Clause"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
 
-SRC_URI[sha256sum] = "c5eeab58dd31b541442825d7870777f2a2f764eb5fda03334d5219cd84b9722f"
+SRC_URI[sha256sum] = "b8b3d0bde65da350290c46a8f54f336b3cbf5464a4ac11239668d986852e79d5"
 
  inherit pypi setuptools3
 
author
#11 lore raw

PATCH 7/10 python3-ptyprocess: Upgrade 0.6.0 -> 0.7.0

In reply to Leon Anavi

Upgrade to release 0.7.0:

- Add pass_fds parameters
- Switch to Github actions for CI

---
 ...python3-ptyprocess_0.6.0.bb => python3-ptyprocess_0.7.0.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-ptyprocess_0.6.0.bb => python3-ptyprocess_0.7.0.bb} (85%)
meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb renamed from meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb +1 -2
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
rename to meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
index 87911e02e..607c71946 100644
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
 
 SRCNAME = "ptyprocess"
 
-SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
-SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
+SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 7/10
#12 lore raw

Re: [oe] [meta-python][PATCH 07/10] python3-ptyprocess: Upgrade 0.6.0 -> 0.7.0

Quoted 4 lines · Leon Anavi

- Add pass_fds parameters
- Switch to Github actions for CI

Quoted 25 lines
---
  ...python3-ptyprocess_0.6.0.bb => python3-ptyprocess_0.7.0.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-ptyprocess_0.6.0.bb => python3-ptyprocess_0.7.0.bb} (85%)

meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb renamed from meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb +1 -2
similarity index 85%
rename from meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb
rename to meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
index 87911e02e..607c71946 100644
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
 
  SRCNAME = "ptyprocess"
 
-SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
-SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
+SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
 
  inherit pypi setuptools3
 
author
#13 lore raw

PATCH 8/10 python3-certifi: Upgrade 2020.11.8 -> 2020.12.5

In reply to Leon Anavi

Upgrade to release 2020.12.5:

- Add 2 basic unit tests
- Add Github workflow for pytest run
- Various cleanups

---
 ...thon3-certifi_2020.11.8.bb => python3-certifi_2020.12.5.bb} | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-certifi_2020.11.8.bb => python3-certifi_2020.12.5.bb} (79%)
meta-python/recipes-devtools/python/python3-certifi_2020.12.5.bb renamed from meta-python/recipes-devtools/python/python3-certifi_2020.11.8.bb +1 -2
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-certifi_2020.11.8.bb
rename to meta-python/recipes-devtools/python/python3-certifi_2020.12.5.bb
index b680fade6..dd2f6a2f6 100644
@@ -7,8 +7,7 @@ HOMEPAGE = " http://certifi.io/"
 LICENSE = "ISC"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1"
 
-SRC_URI[md5sum] = "b25267355218d11652c707e46accd059"
-SRC_URI[sha256sum] = "f05def092c44fbf25834a51509ef6e631dc19765ab8a57b4e7ab85531f0a9cf4"
+SRC_URI[sha256sum] = "1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
Acked-by on v1 8/10
#14 lore raw

Re: [oe] [meta-python][PATCH 08/10] python3-certifi: Upgrade 2020.11.8 -> 2020.12.5

Quoted 5 lines · Leon Anavi

- Add 2 basic unit tests
- Add Github workflow for pytest run
- Various cleanups

Quoted 25 lines
---
  ...thon3-certifi_2020.11.8.bb => python3-certifi_2020.12.5.bb} | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-certifi_2020.11.8.bb => python3-certifi_2020.12.5.bb} (79%)

meta-python/recipes-devtools/python/python3-certifi_2020.12.5.bb renamed from meta-python/recipes-devtools/python/python3-certifi_2020.11.8.bb +1 -2
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-certifi_2020.11.8.bb
rename to meta-python/recipes-devtools/python/python3-certifi_2020.12.5.bb
index b680fade6..dd2f6a2f6 100644
@@ -7,8 +7,7 @@ HOMEPAGE = " http://certifi.io/"
  LICENSE = "ISC"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=f77f61d14ee6feac4228d3ebd26cc1f1"
 
-SRC_URI[md5sum] = "b25267355218d11652c707e46accd059"
-SRC_URI[sha256sum] = "f05def092c44fbf25834a51509ef6e631dc19765ab8a57b4e7ab85531f0a9cf4"
+SRC_URI[sha256sum] = "1a4995114262bffbc2413b159f2a1a480c969de6e6eb13ee966d470af86af59c"
 
  inherit pypi setuptools3
 
author
#15 lore raw

PATCH 9/10 python3-jedi: Upgrade 0.17.2 -> 0.18.0

In reply to Leon Anavi

Upgrade to release 0.18.0:

- Dropped Python 2 and Python 3.5
- Using pathlib.Path() as an output instead of str in most places:
- Project.path - Script.path - Definition.module_path
- Refactoring.get_renames - Refactoring.get_changed_files
- Functions with @property now return property instead of function in Name().type
- Started using annotations
- Better support for the walrus operator
- Project attributes are now read accessible
- Removed all deprecations

---
 .../python/{python3-jedi_0.17.2.bb => python3-jedi_0.18.0.bb}  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-jedi_0.17.2.bb => python3-jedi_0.18.0.bb} (71%)
meta-python/recipes-devtools/python/python3-jedi_0.18.0.bb renamed from meta-python/recipes-devtools/python/python3-jedi_0.17.2.bb +1 -2
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-jedi_0.17.2.bb
rename to meta-python/recipes-devtools/python/python3-jedi_0.18.0.bb
index aa5e69874..6c857f09e 100644
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5ed06eebfcb244cd66ebf6cef9c23ab4"
 
 PYPI_PACKAGE = "jedi"
 
-SRC_URI[md5sum] = "f012668907d76cebe9c4766f3b806fcf"
-SRC_URI[sha256sum] = "86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20"
+SRC_URI[sha256sum] = "92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707"
 
 RDEPENDS_${PN} = "${PYTHON_PN}-parso"
 
Signature · 1 line
2.17.1
Acked-by on v1 9/10
#16 lore raw

Re: [oe] [meta-python][PATCH 09/10] python3-jedi: Upgrade 0.17.2 -> 0.18.0

Quoted 11 lines · Leon Anavi

- Dropped Python 2 and Python 3.5
- Using pathlib.Path() as an output instead of str in most places:
- Project.path - Script.path - Definition.module_path
- Refactoring.get_renames - Refactoring.get_changed_files
- Functions with @property now return property instead of function in Name().type
- Started using annotations
- Better support for the walrus operator
- Project attributes are now read accessible
- Removed all deprecations

Quoted 1 line
Quoted 25 lines
---
  .../python/{python3-jedi_0.17.2.bb => python3-jedi_0.18.0.bb}  | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-jedi_0.17.2.bb => python3-jedi_0.18.0.bb} (71%)

meta-python/recipes-devtools/python/python3-jedi_0.18.0.bb renamed from meta-python/recipes-devtools/python/python3-jedi_0.17.2.bb +1 -2
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-jedi_0.17.2.bb
rename to meta-python/recipes-devtools/python/python3-jedi_0.18.0.bb
index aa5e69874..6c857f09e 100644
@@ -6,8 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5ed06eebfcb244cd66ebf6cef9c23ab4"
 
  PYPI_PACKAGE = "jedi"
 
-SRC_URI[md5sum] = "f012668907d76cebe9c4766f3b806fcf"
-SRC_URI[sha256sum] = "86ed7d9b750603e4ba582ea8edc678657fb4007894a12bcf6f4bb97892f31d20"
+SRC_URI[sha256sum] = "92550a404bad8afed881a137ec9a461fed49eca661414be45059329614ed0707"
 
  RDEPENDS_${PN} = "${PYTHON_PN}-parso"
 
author
#17 lore raw

PATCH 10/10 python3-mock: Upgrade 4.0.2 -> 4.0.3

In reply to Leon Anavi

Upgrade to release 4.0.3:

- Remove unexpected call of __bool__ when passing a spec_arg argument to a Mock.
- Revert bpo-25597. unittest.mock.MagicMock with wraps’ set uses default return values for magic methods.
- Mock objects which are not unsafe will now raise an AttributeError if an attribute with the prefix asert, aseert, or assrt is accessed, in addition to this already happening for the prefixes assert or assret.
- Fixed reverting multiple patches in unittest.mock. Patcher’s __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception.

---
 .../python/{python3-mock_4.0.2.bb => python3-mock_4.0.3.bb}    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-mock_4.0.2.bb => python3-mock_4.0.3.bb} (77%)
meta-python/recipes-devtools/python/python3-mock_4.0.3.bb renamed from meta-python/recipes-devtools/python/python3-mock_4.0.2.bb +1 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-mock_4.0.2.bb
rename to meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
index 39ab6d01f..b34f25b93 100644
@@ -13,5 +13,4 @@ RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \
             ${PYTHON_PN}-pep8 \
             ${PYTHON_PN}-pyflakes"
 
-SRC_URI[md5sum] = "6466619b89c2969dc57722ad73f85676"
-SRC_URI[sha256sum] = "dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72"
+SRC_URI[sha256sum] = "7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"
Signature · 1 line
2.17.1
Acked-by on v1 10/10
#18 lore raw

Re: [oe] [meta-python][PATCH 10/10] python3-mock: Upgrade 4.0.2 -> 4.0.3

Quoted 14 lines · Leon Anavi

Upgrade to release 4.0.3:

- Remove unexpected call of __bool__ when passing a spec_arg argument to a Mock.
- Revert bpo-25597. unittest.mock.MagicMock with wraps’ set uses default return values for magic methods.
- Mock objects which are not unsafe will now raise an AttributeError if an attribute with the prefix asert, aseert, or assrt is accessed, in addition to this already happening for the prefixes assert or assret.
- Fixed reverting multiple patches in unittest.mock. Patcher’s __exit__() is now never called if its __enter__() is failed. Returning true from __exit__() silences now the exception.

Quoted 1 line
Quoted 22 lines
---
  .../python/{python3-mock_4.0.2.bb => python3-mock_4.0.3.bb}    | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)

rename meta-python/recipes-devtools/python/{python3-mock_4.0.2.bb => python3-mock_4.0.3.bb} (77%)

meta-python/recipes-devtools/python/python3-mock_4.0.3.bb renamed from meta-python/recipes-devtools/python/python3-mock_4.0.2.bb +1 -2
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-mock_4.0.2.bb
rename to meta-python/recipes-devtools/python/python3-mock_4.0.3.bb
index 39ab6d01f..b34f25b93 100644
@@ -13,5 +13,4 @@ RDEPENDS_${PN} += "${PYTHON_PN}-prettytable \
              ${PYTHON_PN}-pep8 \
              ${PYTHON_PN}-pyflakes"
 
-SRC_URI[md5sum] = "6466619b89c2969dc57722ad73f85676"
-SRC_URI[sha256sum] = "dd33eb70232b6118298d516bbcecd26704689c386594f0f3c4f13867b2c56f72"
+SRC_URI[sha256sum] = "7d3fbbde18228f4ff2f1f119a45cdffa458b4c0dee32eb4d2bb2f82554bac7bc"
Acked-by on v1 1/10
#19 lore raw
In reply to Leon Anavi
Quoted 27 lines · Leon Anavi

- Fix TIFF OOB Write error
- Fix for Buffer Read Overrun in PCX Decoding
- Fix for SGI Decode buffer overrun
- Fix OOB Read when saving GIF of xsize=1
- Add support for PySide6
- Moved QApplication into one test
- Use disposal settings from previous frame in APNG
- Revert "skip wheels on 3.10-dev due to wheel#354"
- Better _binary module use
- Added exception explaining that repr_png saves to PNG
- Use previous disposal method in GIF load_end
- Do not catch a ValueError only to raise another
- Allow putpalette to accept 1024 integers to include alpha values
- Fix OOB Read when writing TIFF with custom Metadata
- Removed unused variable
- Fix dereferencing of potential null pointers
- Fixed warnings assigning to "unsigned char *" from "char *"
- Add append_images support for ICO
- Fixed comparison warnings
- Block TIFFTAG_SUBIFD
- Fix dereferencing potential null pointer
- Replaced PyErr_NoMemory with ImagingError_MemoryError
- Remove duplicate code
- Moved warning to end of execution
- Removed unused fromstring and tostring C methods
- init() if one of the formats is unrecognised

Quoted 3 lines

License-Update: Updated copyright year

Quoted 112 lines
---
  .../0001-support-cross-compiling.patch        | 43 ++++++-------------
  ...illow_7.2.0.bb => python3-pillow_8.1.0.bb} |  7 ++-
  2 files changed, 16 insertions(+), 34 deletions(-)

rename meta-python/recipes-devtools/python/{python3-pillow_7.2.0.bb => python3-pillow_8.1.0.bb} (78%)

meta-python/recipes-devtools/python/python3-pillow/0001-support-cross-compiling.patch +13 -30
index 6de19ad87..e4ba35b88 100644
@@ -1,20 +1,21 @@
-From ae7c8d0336381dd4c10e809e9c8926f9deeafeb8 Mon Sep 17 00:00:00 2001
-From: Hongxu Jia <[email protected]>
-Date: Thu, 14 Mar 2019 03:48:10 -0400
+From cd09b6f68aa49c72e9a9bb0765e8c666238a7b7e Mon Sep 17 00:00:00 2001
+From: Leon Anavi <[email protected]>
+Date: Mon, 11 Jan 2021 13:25:12 +0000
  Subject: [PATCH] support cross compiling
 
  Upstream-Status: Inappropriate [oe specific]
 
-Signed-off-by: Hongxu Jia <[email protected]>
+Suggested-by: Hongxu Jia <[email protected]>
+Signed-off-by: Leon Anavi <[email protected]>
  ---
- setup.py | 13 +++----------
- 1 file changed, 3 insertions(+), 10 deletions(-)
+ setup.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
 
  diff --git a/setup.py b/setup.py
-index 5ceae344..07863340 100755
+index cbc2641c..302bc6e7 100755
  --- a/setup.py
  +++ b/setup.py
-@@ -105,7 +105,7 @@ _LIB_IMAGING = (
+@@ -123,7 +123,7 @@ _LIB_IMAGING = (
       "codec_fd",
   )
 
@@ -23,39 +24,21 @@ index 5ceae344..07863340 100755
 
 
   class DependencyException(Exception):
-@@ -396,21 +396,16 @@ class pil_build_ext(build_ext):
+@@ -408,12 +408,12 @@ class pil_build_ext(build_ext):
                       _add_directory(library_dirs, match.group(1))
 
           # include, rpath, if set as environment variables:
  -        for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE"):
-+        for k in ('C_INCLUDE_PATH', 'CPATH', 'INCLUDE', 'STAGING_INCDIR'):
++        for k in ("C_INCLUDE_PATH", "CPATH", "INCLUDE", "STAGING_INCDIR"):
               if k in os.environ:
                   for d in os.environ[k].split(os.path.pathsep):
                       _add_directory(include_dirs, d)
 
  -        for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB"):
-+        for k in ('LD_RUN_PATH', 'LIBRARY_PATH', 'LIB', 'STAGING_LIBDIR'):
++        for k in ("LD_RUN_PATH", "LIBRARY_PATH", "LIB", "STAGING_LIBDIR"):
               if k in os.environ:
                   for d in os.environ[k].split(os.path.pathsep):
                       _add_directory(library_dirs, d)
-
--        prefix = sysconfig.get_config_var("prefix")
--        if prefix:
--            _add_directory(library_dirs, os.path.join(prefix, "lib"))
--            _add_directory(include_dirs, os.path.join(prefix, "include"))
--
-         #
-         # add platform directories
-
-@@ -469,8 +464,6 @@ class pil_build_ext(build_ext):
-             or sys.platform.startswith("gnu")
-             or sys.platform.startswith("freebsd")
-         ):
--            for dirname in _find_library_dirs_ldconfig():
--                _add_directory(library_dirs, dirname)
-             if sys.platform.startswith("linux") and os.environ.get(
-                 "ANDROID_ROOT", None
-             ):
  --
-2.20.1
+2.17.1
 
meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb renamed from meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb +3 -4
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-pillow_7.2.0.bb
rename to meta-python/recipes-devtools/python/python3-pillow_8.1.0.bb
index 13cab4300..63974590c 100644
@@ -3,14 +3,13 @@ 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=ea2dc3f5611e69058503d4b940049d03"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=0337b116233da4616ae9fdb130bf6f1a"
 
-SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=7.2.x \
+SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=8.1.x \
             file://0001-support-cross-compiling.patch \
             file://0001-explicitly-set-compile-options.patch \
  "
-SRCREV ?= "2bd74943fb9f320def6c066e732b701d1c15f677"
-
+SRCREV ?= "fcc42e0d344146ee9d265d1f43c094ce5a0ec4cf"
 
  inherit setuptools3