From b073e6fe0452584af32cf20371d4fda85cfd0ac5 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Thu, 17 Mar 2022 21:46:45 +0800 Subject: [PATCH 1/7] python3-wrapt: upgrade 1.13.3 -> 1.14.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit changelog: =============================================================================== -Bugs Fixed Python 3.11 dropped inspect.formatargspec() which was used in creating signature changing decorators. Now bundling a version of this function which uses Parameter and Signature from inspect module when available. The replacement function is exposed as wrapt.formatargspec() if need it for your own code. When using a decorator on a class, isinstance() checks wouldn’t previously work as expected and you had to manually use Type.__wrapped__ to access the real type when doing instance checks. The __instancecheck__ hook is now implemented such that you don’t have to use Type.__wrapped__ instead of Type as last argument to isinstance(). Eliminated deprecation warnings related to Python module import system, which would have turned into broken code in Python 3.12. This was used by the post import hook mechanism. -New Features Binary wheels provided on PyPi for aarch64 Linux systems and macOS native silicon where supported by Python when using pypa/cibuildwheel. Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/{python3-wrapt_1.13.3.bb => python3-wrapt_1.14.0.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-wrapt_1.13.3.bb => python3-wrapt_1.14.0.bb} (81%) diff --git a/meta-python/recipes-devtools/python/python3-wrapt_1.13.3.bb b/meta-python/recipes-devtools/python/python3-wrapt_1.14.0.bb similarity index 81% rename from meta-python/recipes-devtools/python/python3-wrapt_1.13.3.bb rename to meta-python/recipes-devtools/python/python3-wrapt_1.14.0.bb index 05ee4c63562..9dcab8101fa 100644 --- a/meta-python/recipes-devtools/python/python3-wrapt_1.13.3.bb +++ b/meta-python/recipes-devtools/python/python3-wrapt_1.14.0.bb @@ -4,7 +4,7 @@ LICENSE = "BSD-2-Clause" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=fdfc019b57affbe1d7a32e3d34e83db4" -SRC_URI[sha256sum] = "1fea9cd438686e6682271d36f3481a9f3636195578bab9ca3382e2f5f01fc185" +SRC_URI[sha256sum] = "8323a43bd9c91f62bb7d4be74cc9ff10090e7ef820e27bfe8815c57e68261311" inherit pypi setuptools3 From 874cf4487834bb2fd948256b1b83252958d42ee2 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Thu, 17 Mar 2022 21:46:46 +0800 Subject: [PATCH 2/7] python3-sqlalchemy: upgrade 1.4.31 -> 1.4.32 changelog see https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.32 Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...ython3-sqlalchemy_1.4.31.bb => python3-sqlalchemy_1.4.32.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-sqlalchemy_1.4.31.bb => python3-sqlalchemy_1.4.32.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.31.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.32.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.31.bb rename to meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.32.bb index 510bb7d9e4c..93a49df53a0 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.31.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_1.4.32.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=f4001d1ca15b69d096fa1b4fd1bdce79" -SRC_URI[sha256sum] = "582b59d1e5780a447aada22b461e50b404a9dc05768da1d87368ad8190468418" +SRC_URI[sha256sum] = "6fdd2dc5931daab778c2b65b03df6ae68376e028a3098eb624d0909d999885bc" PYPI_PACKAGE = "SQLAlchemy" inherit pypi setuptools3 From 9b4c80a4102a56eefe466be0a3662340b5e3d248 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Thu, 17 Mar 2022 21:46:47 +0800 Subject: [PATCH 3/7] python3-sentry-sdk: upgrade 1.5.6 -> 1.5.7 changelog: fix(serializer): Make sentry_repr dunder method to avoid mock problems Signed-off-by: Xu Huan Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...{python3-sentry-sdk_1.5.6.bb => python3-sentry-sdk_1.5.7.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-sentry-sdk_1.5.6.bb => python3-sentry-sdk_1.5.7.bb} (82%) diff --git a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.5.6.bb b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.5.7.bb similarity index 82% rename from meta-python/recipes-devtools/python/python3-sentry-sdk_1.5.6.bb rename to meta-python/recipes-devtools/python/python3-sentry-sdk_1.5.7.bb index 915fc473522..1594fb5dd7f 100644 --- a/meta-python/recipes-devtools/python/python3-sentry-sdk_1.5.6.bb +++ b/meta-python/recipes-devtools/python/python3-sentry-sdk_1.5.7.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0c79f8d3c91fc847350efd28bfe0a341" RDEPENDS:${PN} += "python3-urllib3" -SRC_URI[sha256sum] = "ac2a50128409d57655279817aedcb7800cace1f76b266f3dd62055d5afd6e098" +SRC_URI[sha256sum] = "aa52da941c56b5a76fd838f8e9e92a850bf893a9eb1e33ffce6c21431d07ee30" PYPI_PACKAGE = "sentry-sdk" From 1e48da0f1e0e4382d07dcde94567cff8f8d4f7ab Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 17 Mar 2022 19:13:16 +0000 Subject: [PATCH 4/7] python3-lz4: use system lz4 library Instead of using the copy of lz4 that is embedded in the python3-lz4 source code, use the system lz4 library. python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%) python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])" Signed-off-by: Ross Burton Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb b/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb index 42f0743bea7..75472d327ea 100644 --- a/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb @@ -4,12 +4,13 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573" DEPENDS += " \ + lz4 \ ${PYTHON_PN}-setuptools-scm-native \ ${PYTHON_PN}-pkgconfig-native \ " SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pypi python_setuptools_build_meta +inherit pkgconfig pypi python_setuptools_build_meta BBCLASSEXTEND = "native nativesdk" From 2b488ec6124309132156e47b3ab897f4892b1268 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 18 Mar 2022 10:26:40 +0800 Subject: [PATCH 5/7] python3-itsdangerous: upgrade 2.1.0 -> 2.1.1 Changelog: ========== Handle date overflow in timed unsign. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...hon3-itsdangerous_2.1.0.bb => python3-itsdangerous_2.1.1.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-itsdangerous_2.1.0.bb => python3-itsdangerous_2.1.1.bb} (82%) diff --git a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.0.bb b/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.1.bb similarity index 82% rename from meta-python/recipes-devtools/python/python3-itsdangerous_2.1.0.bb rename to meta-python/recipes-devtools/python/python3-itsdangerous_2.1.1.bb index 30d23c65696..ef1d7cc07bf 100644 --- a/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-itsdangerous_2.1.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/mitsuhiko/itsdangerous" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=4cda9a0ebd516714f360b0e9418cfb37" -SRC_URI[sha256sum] = "d848fcb8bc7d507c4546b448574e8a44fc4ea2ba84ebf8d783290d53e81992f5" +SRC_URI[sha256sum] = "7b7d3023cd35d9cb0c1fd91392f8c95c6fa02c59bf8ad64b8849be3401b95afb" inherit pypi setuptools3 From 1adfa91ddb2471aad83682ab28c8d2ecd26fdd96 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Fri, 18 Mar 2022 10:26:41 +0800 Subject: [PATCH 6/7] python3-jsonrpcserver: upgrade 5.0.6 -> 5.0.7 Changelog: ========= Upgrade to jsonschema 4. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...n3-jsonrpcserver_5.0.6.bb => python3-jsonrpcserver_5.0.7.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-jsonrpcserver_5.0.6.bb => python3-jsonrpcserver_5.0.7.bb} (83%) diff --git a/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.6.bb b/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.7.bb similarity index 83% rename from meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.6.bb rename to meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.7.bb index cdd93516ced..537fd33136d 100644 --- a/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.6.bb +++ b/meta-python/recipes-devtools/python/python3-jsonrpcserver_5.0.7.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bcb/jsonrpcserver" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=61b63ea9d36f6fb63ddaaaac8265304f" -SRC_URI[sha256sum] = "0fdd69c15e67004fb064d2254469cf82d02b7bc8a7bf7760055caa9d62d92f7c" +SRC_URI[sha256sum] = "b15d3fd043ad0c40b2ff17f7df2ddaec2e880bb923b40d133939a107c97fde5c" inherit pypi setuptools3 From f42408bafc89aede4b0605aa9a2ccd9b05eada7e Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 18 Mar 2022 12:02:38 +0000 Subject: [PATCH 7/7] python3-lz4: add ptest Signed-off-by: Ross Burton Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-lz4/run-ptest | 3 +++ .../recipes-devtools/python/python3-lz4_4.0.0.bb | 12 +++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-lz4/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-lz4/run-ptest b/meta-python/recipes-devtools/python/python3-lz4/run-ptest new file mode 100644 index 00000000000..1b245bcd8fd --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-lz4/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -v diff --git a/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb b/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb index 75472d327ea..ef5b0062725 100644 --- a/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-lz4_4.0.0.bb @@ -9,8 +9,18 @@ DEPENDS += " \ ${PYTHON_PN}-pkgconfig-native \ " +SRC_URI += "file://run-ptest" + SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3" -inherit pkgconfig pypi python_setuptools_build_meta +inherit pkgconfig pypi python_setuptools_build_meta ptest + +RDEPENDS:${PN}-ptest += "${PYTHON_PN}-pytest ${PYTHON_PN}-multiprocessing ${PYTHON_PN}-psutil" + +do_install_ptest() { + cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ + # The stream API is experimental and not enabled yet, so don't ship the test suite + rm -rf ${D}${PTEST_PATH}/tests/stream +} BBCLASSEXTEND = "native nativesdk"