diff options
Diffstat (limited to 'meta-python/recipes-devtools/python')
69 files changed, 316 insertions, 909 deletions
diff --git a/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb b/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb index 79cbb66bc0..53552d0b7b 100644 --- a/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-annotated-types_0.7.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c6afb13fdc220497ee5cded1e717ed67" -SRC_URI[sha256sum] = "563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d" +SRC_URI[sha256sum] = "aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89" S = "${WORKDIR}/annotated_types-${PV}" PYPI_PACKAGE = "annotated_types" diff --git a/meta-python/recipes-devtools/python/python3-astroid_3.1.0.bb b/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb index 3c68f1e583..d7e7f56981 100644 --- a/meta-python/recipes-devtools/python/python3-astroid_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-astroid_3.2.2.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" -SRC_URI[sha256sum] = "ac248253bfa4bd924a0de213707e7ebeeb3138abeb48d798784ead1e56d419d4" +SRC_URI[sha256sum] = "8ead48e31b92b2e217b6c9733a21afafe479d52d6e164dd25fb1a770c7c3cf94" inherit pypi python_setuptools_build_meta diff --git a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.6.bb b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb index 34f7187d46..0946dd2a33 100644 --- a/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.6.bb +++ b/meta-python/recipes-devtools/python/python3-asyncinotify_4.0.9.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://gitlab.com/Taywee/asyncinotify" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=f75d2927d3c1ed2414ef72048f5ad640" -SRC_URI[sha256sum] = "c03fdb1a7dbb6bed8ede763e4e0ac224a2a3157bdc51e4ba3832588a3c29904d" +SRC_URI[sha256sum] = "d0fc2c9af487b6ac2a3bd7db7b5139de54afcc3660720f80d7324b122a27c1c7" inherit pypi python_setuptools_build_meta diff --git a/meta-python/recipes-devtools/python/python3-bitstring_4.2.1.bb b/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb index 8485e2e8f3..4d86ce7df8 100644 --- a/meta-python/recipes-devtools/python/python3-bitstring_4.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-bitstring_4.2.3.bb @@ -1,9 +1,9 @@ SUMMARY = "Simple construction, analysis and modification of binary data." HOMEPAGE = "https://github.com/scott-griffiths/bitstring" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f7f2fd3f1cd52b5ccd39d76fb3568d3f" +LIC_FILES_CHKSUM = "file://LICENSE;md5=661f450e2c0aef39b4b15597333444a7" -SRC_URI[sha256sum] = "8abb5a661588c764bacf1a23d64c7bb57517d2841e3e6f54fb8c057119e0540d" +SRC_URI[sha256sum] = "e0c447af3fda0d114f77b88c2d199f02f97ee7e957e6d719f40f41cf15fbb897" PYPI_PACKAGE = "bitstring" diff --git a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb b/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb index 25c379590f..fce5a5b408 100644 --- a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb @@ -8,7 +8,7 @@ data." HOMEPAGE = "https://github.com/cloudpipe/cloudpickle" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.cloudpickle;md5=b4d59aa5e2cc777722aac17841237931" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE.cloudpickle;md5=b4d59aa5e2cc777722aac17841237931" inherit pypi python_flit_core diff --git a/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb b/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb index 6b31d0b4f5..a6c3e139b8 100644 --- a/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb +++ b/meta-python/recipes-devtools/python/python3-cmake_3.28.3.bb @@ -22,7 +22,7 @@ addtask do_patchbuild after do_patch before do_configure do_patchbuild () { rm -f ${S}/CMakeLists.txt - cp ${WORKDIR}/CMakeLists.txt ${S}/ + cp ${UNPACKDIR}/CMakeLists.txt ${S}/ } do_install:append () { diff --git a/meta-python/recipes-devtools/python/python3-dasbus/run-ptest b/meta-python/recipes-devtools/python/python3-dasbus/run-ptest new file mode 100755 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dasbus/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file mode 100644 index 0000000000..d1d294a284 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb @@ -0,0 +1,32 @@ +SUMMARY = "Dasbus is a DBus library written in Python 3, based on GLib and inspired by pydbus." +HOMEPAGE = "https://dasbus.readthedocs.io" +SECTION = "devel" +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" + +SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \ + file://run-ptest \ +" +SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5" + +S = "${WORKDIR}/git" + +inherit setuptools3 ptest + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + + # Remove the problematic cases + # https://github.com/dasbus-project/dasbus/issues/128 + rm -rf ${D}${PTEST_PATH}/tests/lib_dbus.py + rm -rf ${D}${PTEST_PATH}/tests/test_dbus.py + rm -rf ${D}${PTEST_PATH}/tests/test_unix.py +} + +RDEPENDS:${PN} = "python3-pygobject" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.1.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.3.bb index 9e2566175d..a4087d6473 100644 --- a/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.1.bb +++ b/meta-python/recipes-devtools/python/python3-dbus-fast_2.21.3.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" -SRC_URI[sha256sum] = "87b852d2005f1d59399ca51c5f3538f28a4742d739d7abe82b7ae8d01d8a5d02" +SRC_URI[sha256sum] = "8d0f0f61d007c1316ce79cde35ed52c0ce8ce229fd0f0bf8c9af2013ab4516a7" PYPI_PACKAGE = "dbus_fast" diff --git a/meta-python/recipes-devtools/python/python3-django_5.0.4.bb b/meta-python/recipes-devtools/python/python3-django_5.0.6.bb index 3139ed4682..69b25742dc 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.0.6.bb @@ -1,7 +1,7 @@ require python-django.inc inherit setuptools3 -SRC_URI[sha256sum] = "4bd01a8c830bb77a8a3b0e7d8b25b887e536ad17a81ba2dce5476135c73312bd" +SRC_URI[sha256sum] = "ff1b61005004e476e0aeea47c7f79b85864c70124030e95146315396f1e7951f" RDEPENDS:${PN} += "\ python3-sqlparse \ diff --git a/meta-python/recipes-devtools/python/python3-filelock_3.13.4.bb b/meta-python/recipes-devtools/python/python3-filelock_3.14.0.bb index 4d6d19551a..d94ad4bf3b 100644 --- a/meta-python/recipes-devtools/python/python3-filelock_3.13.4.bb +++ b/meta-python/recipes-devtools/python/python3-filelock_3.14.0.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://py-filelock.readthedocs.io/" LICENSE = "Unlicense" LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" -SRC_URI[sha256sum] = "d13f466618bfde72bd2c18255e269f72542c6e70e7bac83a0232d6b1cc5c8cf4" +SRC_URI[sha256sum] = "6ea72da3be9b8c82afd3edcf99f2fffbb5076335a5ae4d03248bb5b6c3eae78a" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/meta-python/recipes-devtools/python/python3-flask/run-ptest b/meta-python/recipes-devtools/python/python3-flask/run-ptest new file mode 100644 index 0000000000..8d2017d39c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-flask/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb index 300ca99ddc..98e773008c 100644 --- a/meta-python/recipes-devtools/python/python3-flask_3.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-flask_3.0.3.bb @@ -4,14 +4,18 @@ Flask is a microframework for Python based on Werkzeug, Jinja 2 and good \ intentions. And before you ask: It’s BSD licensed!" HOMEPAGE = "https://github.com/mitsuhiko/flask/" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ffeffa59c90c9c4a033c7574f8f3fb75" -SRC_URI[sha256sum] = "822c03f4b799204250a7ee84b1eddc40665395333973dfb9deebfe425fefcb7d" +SRC_URI[sha256sum] = "ceb27b0af3823ea2737928a4d99d125a06175b8512c445cbd9a9ce200ef76842" + +SRC_URI += " \ + file://run-ptest \ +" UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/Flask" UPSTREAM_CHECK_REGEX = "/Flask/(?P<pver>(\d+[\.\-_]*)+)" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta ptest CLEANBROKEN = "1" @@ -23,3 +27,8 @@ RDEPENDS:${PN} = " \ python3-profile \ python3-werkzeug \ " + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} diff --git a/meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb index b9cbedbf72..8b5750df43 100644 --- a/meta-python/recipes-devtools/python/python3-freezegun_1.5.0.bb +++ b/meta-python/recipes-devtools/python/python3-freezegun_1.5.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/spulec/freezegun" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=acf1d209bb6eddae4cbe6ffd6a0144fe" -SRC_URI[sha256sum] = "200a64359b363aa3653d8aac289584078386c7c3da77339d257e46a01fb5c77c" +SRC_URI[sha256sum] = "b29dedfcda6d5e8e083ce71b2b542753ad48cfec44037b3fc79702e2980a89e9" inherit pypi python_setuptools_build_meta ptest diff --git a/meta-python/recipes-devtools/python/python3-gevent/not-final.patch b/meta-python/recipes-devtools/python/python3-gevent/not-final.patch new file mode 100644 index 0000000000..444a195da4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gevent/not-final.patch @@ -0,0 +1,16 @@ +gevent fails to build with Cython 3.0.10. As per +https://github.com/gevent/gevent/issues/2031, removing the +cython.final decorator works around this. + +Upstream-Status: Pending +Signed-off-by: Ross Burton <ross.burton@arm.com> + +--- a/src/gevent/_gevent_cqueue.pxd ++++ b/src/gevent/_gevent_cqueue.pxd +@@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter): + cdef readonly Queue queue + + +-@cython.final + cdef class UnboundQueue(Queue): + pass diff --git a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb b/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb index fbdbf8ccc7..806e093910 100644 --- a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb @@ -13,7 +13,8 @@ RDEPENDS:${PN} = "python3-greenlet \ python3-zopeinterface \ " -SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" +SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch \ + file://not-final.patch" SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056" @@ -35,3 +36,8 @@ do_configure:append() { do_compile:append() { sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c } + +# http://errors.yoctoproject.org/Errors/Details/766918/ +# src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] +# src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta-python/recipes-devtools/python/python3-gmqtt_0.6.14.bb b/meta-python/recipes-devtools/python/python3-gmqtt_0.6.16.bb index 5d8a3ba51c..20cdee80ff 100644 --- a/meta-python/recipes-devtools/python/python3-gmqtt_0.6.14.bb +++ b/meta-python/recipes-devtools/python/python3-gmqtt_0.6.16.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/wialon/gmqtt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" -SRC_URI[sha256sum] = "45b0f7794247455b9163155eeedf41c86e303c72b79056bf65d33038b17443a3" +SRC_URI[sha256sum] = "ddd1fdc1c6ae604e74377cf70e99f067e579c03c1c71a6acd494e199e93b7fa4" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-google-api-core_2.18.0.bb b/meta-python/recipes-devtools/python/python3-google-api-core_2.19.0.bb index b4cbafa85d..d177fcde5f 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-core_2.18.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-core_2.19.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit pypi setuptools3 -SRC_URI[sha256sum] = "62d97417bfc674d6cef251e5c4d639a9655e00c45528c4364fbfebb478ce72a9" +SRC_URI[sha256sum] = "cf1b7c2694047886d2af1128a03ae99e391108a08804f87cfd35970e49c9cd10" RDEPENDS:${PN} += "\ python3-asyncio \ diff --git a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.127.0.bb b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.130.0.bb index 4c9bbc6cf0..9ba73ebd2e 100644 --- a/meta-python/recipes-devtools/python/python3-google-api-python-client_2.127.0.bb +++ b/meta-python/recipes-devtools/python/python3-google-api-python-client_2.130.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/googleapis/google-api-python-client" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[sha256sum] = "bbb51b0fbccdf40e536c26341e372d7800f09afebb53103bbcc94e08f14b523b" +SRC_URI[sha256sum] = "2bba3122b82a649c677b8a694b8e2bbf2a5fbf3420265caf3343bb88e2e9f0ae" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch new file mode 100644 index 0000000000..d830d92284 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch @@ -0,0 +1,74 @@ +From 3359a87a71307336100b84e66b69bad385cd3cfc Mon Sep 17 00:00:00 2001 +From: Martin Jansa <martin.jansa@gmail.com> +Date: Mon, 6 May 2024 01:36:39 +0200 +Subject: [PATCH] crypto: use _Generic only if !defined(__cplusplus) + +* fixes build with gcc-14 which has __builtin_addc and __builtin_subc + with gcc-13 it was already using the #else branch because of missing builtins + +* fixes + https://github.com/grpc/grpc/issues/35945 + +* _Generic was introduced in boringssl with: + https://boringssl.googlesource.com/boringssl/+/70ca6bc24be103dabd68e448cd3af29b929b771d%5E%21/#F4 + +* but e.g. third_party/boringssl-with-bazel/src/ssl/d1_both.cc includes + this internal.h and from the .cc extension gcc will process it as C++ + where _Generic isn't available, causing: + +In file included from third_party/boringssl-with-bazel/src/ssl/d1_both.cc:125: +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h: In function 'uint32_t CRYPTO_addc_u32(uint32_t, uint32_t, uint32_t, uint32_t*)': +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1159:7: error: expected primary-expression before 'unsigned' + 1159 | unsigned: __builtin_addc, \ + | ^~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' + 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); + | ^~~~~~~~~~~~~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1160:7: error: expected primary-expression before 'unsigned' + 1160 | unsigned long: __builtin_addcl, \ + | ^~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' + 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); + | ^~~~~~~~~~~~~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1161:7: error: expected primary-expression before 'unsigned' + 1161 | unsigned long long: __builtin_addcll))((x), (y), (carry), (out_carry)) + | ^~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' + 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); + | ^~~~~~~~~~~~~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1158:4: error: '_Generic' was not declared in this scope + 1158 | (_Generic((x), \ + | ^~~~~~~~ +third_party/boringssl-with-bazel/src/ssl/../crypto/internal.h:1166:10: note: in expansion of macro 'CRYPTO_GENERIC_ADDC' + 1166 | return CRYPTO_GENERIC_ADDC(x, y, carry, out_carry); + | ^~~~~~~~~~~~~~~~~~~ + +Signed-off-by: Martin Jansa <martin.jansa@gmail.com> +--- +Upstream-Status: Submitted [https://boringssl-review.googlesource.com/c/boringssl/+/68227 crypto: use _Generic only if !defined(__cplusplus)] + + crypto/internal.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/crypto/internal.h b/crypto/internal.h +index a77102d76..30d6826dd 100644 +--- a/crypto/internal.h ++++ b/crypto/internal.h +@@ -1176,7 +1176,7 @@ static inline uint64_t CRYPTO_rotr_u64(uint64_t value, int shift) { + + // CRYPTO_addc_* returns |x + y + carry|, and sets |*out_carry| to the carry + // bit. |carry| must be zero or one. +-#if OPENSSL_HAS_BUILTIN(__builtin_addc) ++#if OPENSSL_HAS_BUILTIN(__builtin_addc) && !defined(__cplusplus) + + #define CRYPTO_GENERIC_ADDC(x, y, carry, out_carry) \ + (_Generic((x), \ +@@ -1228,7 +1228,7 @@ static inline uint64_t CRYPTO_addc_u64(uint64_t x, uint64_t y, uint64_t carry, + + // CRYPTO_subc_* returns |x - y - borrow|, and sets |*out_borrow| to the borrow + // bit. |borrow| must be zero or one. +-#if OPENSSL_HAS_BUILTIN(__builtin_subc) ++#if OPENSSL_HAS_BUILTIN(__builtin_subc) && !defined(__cplusplus) + + #define CRYPTO_GENERIC_SUBC(x, y, borrow, out_borrow) \ + (_Generic((x), \ diff --git a/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch new file mode 100644 index 0000000000..0b512b1d00 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-grpcio/0001-target.h-define-proper-macro-for-ppc-ppc64.patch @@ -0,0 +1,37 @@ +From b3bca013007a4a66703573d243e433f22e1e6684 Mon Sep 17 00:00:00 2001 +From: Changqing Li <changqing.li@windriver.com> +Date: Wed, 15 May 2024 16:55:09 +0800 +Subject: [PATCH] target.h: define proper macro for ppc/ppc64 + +Fix error: +third_party/boringssl-with-bazel/src/include/openssl/target.h:74:2: error: #error "Unknown target CPU" +third_party/boringssl-with-bazel/src/include/openssl/bn.h:172:2: error: #error "Must define either OPENSSL_32_BIT or OPENSSL_64_BIT" +third_party/boringssl-with-bazel/src/include/openssl/bn.h:230:44: error: 'BN_ULONG' has not been declared + +BN_ULONG will be defined after set proper OPENSSL_32_BIT or OPENSSL_64_BIT + +Upstream-Status: Pending + +Signed-off-by: Changqing Li <changqing.li@windriver.com> +--- + third_party/boringssl-with-bazel/src/include/openssl/target.h | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/third_party/boringssl-with-bazel/src/include/openssl/target.h b/third_party/boringssl-with-bazel/src/include/openssl/target.h +index 29b1dc6..d779813 100644 +--- a/third_party/boringssl-with-bazel/src/include/openssl/target.h ++++ b/third_party/boringssl-with-bazel/src/include/openssl/target.h +@@ -54,6 +54,10 @@ + #define OPENSSL_32_BIT + #elif defined(__myriad2__) + #define OPENSSL_32_BIT ++#elif defined(__PPC64__) ++#define OPENSSL_64_BIT ++#elif defined(__PPC__) ++#define OPENSSL_32_BIT + #else + // The list above enumerates the platforms that BoringSSL supports. For these + // platforms we keep a reasonable bar of not breaking them: automated test +-- +2.25.1 + diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb index 3148f63761..47f3b2ea25 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.62.2.bb @@ -9,6 +9,8 @@ DEPENDS += "python3-protobuf" SRC_URI += "file://0001-Include-missing-cstdint-header.patch \ file://abseil-ppc-fixes.patch \ file://0001-zlib-Include-unistd.h-for-open-close-C-APIs.patch \ + file://0001-crypto-use-_Generic-only-if-defined-__cplusplus.patch;patchdir=third_party/boringssl-with-bazel/src/ \ + file://0001-target.h-define-proper-macro-for-ppc-ppc64.patch \ " SRC_URI[sha256sum] = "c77618071d96b7a8be2c10701a98537823b9c65ba256c0b9067e0594cdbd954d" diff --git a/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch b/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch deleted file mode 100644 index aba62ddf14..0000000000 --- a/meta-python/recipes-devtools/python/python3-h5py/0001-Fix-Cython-3-compatibility.patch +++ /dev/null @@ -1,796 +0,0 @@ -From 1e02dbe5533d679b9ef064078a303607a7d0542a Mon Sep 17 00:00:00 2001 -From: Alexander Kanavin <alex@linutronix.de> -Date: Fri, 29 Dec 2023 14:33:38 +0100 -Subject: [PATCH] Fix Cython 3 compatibility - -Upstream-Status: Backport [https://github.com/h5py/h5py/pull/2345/commits] -Signed-off-by: Alexander Kanavin <alex@linutronix.de> ---- - benchmarks/benchmark_slicing.py | 12 ++++---- - docs/conf.py | 2 +- - docs/high/dataset.rst | 4 +-- - docs/high/file.rst | 6 ++-- - docs/requirements-rtd.txt | 5 ++-- - docs/vds.rst | 2 +- - docs/whatsnew/3.0.rst | 2 +- - docs/whatsnew/3.7.rst | 4 +-- - h5py/_errors.pxd | 10 +++---- - h5py/_errors.pyx | 4 +-- - h5py/_hl/base.py | 4 +-- - h5py/_hl/dataset.py | 8 ++--- - h5py/_hl/dims.py | 3 +- - h5py/_hl/files.py | 2 +- - h5py/_locks.pxi | 6 ++-- - h5py/_proxy.pyx | 4 +-- - h5py/_selector.pyx | 2 +- - h5py/api_compat.h | 13 ++++---- - h5py/api_types_hdf5.pxd | 48 +++++++++++++++--------------- - h5py/h5fd.pyx | 38 ++++++++++++++++------- - h5py/h5p.pyx | 4 +-- - h5py/h5t.pyx | 2 +- - h5py/tests/test_attrs_data.py | 2 +- - h5py/tests/test_big_endian_file.py | 4 +-- - h5py/tests/test_dataset.py | 4 +-- - h5py/tests/test_file.py | 6 ++-- - h5py/tests/test_file_alignment.py | 4 +-- - h5py/tests/test_group.py | 4 +-- - h5py/tests/test_selections.py | 2 +- - pylintrc | 2 +- - pyproject.toml | 2 +- - setup_configure.py | 2 +- - tox.ini | 2 +- - 33 files changed, 116 insertions(+), 103 deletions(-) - -diff --git a/benchmarks/benchmark_slicing.py b/benchmarks/benchmark_slicing.py -index e9a34dad..b833f012 100644 ---- a/benchmarks/benchmark_slicing.py -+++ b/benchmarks/benchmark_slicing.py -@@ -7,7 +7,7 @@ import logging - logger = logging.getLogger(__name__) - import h5py - --#Needed for mutithreading: -+#Needed for multithreading: - from queue import Queue - from threading import Thread, Event - import multiprocessing -@@ -173,8 +173,8 @@ class SlicingBenchmark: - - if __name__ == "__main__": - logging.basicConfig(level=logging.INFO) -- benckmark = SlicingBenchmark() -- benckmark.setup() -- benckmark.time_sequential_reads() -- benckmark.time_threaded_reads() -- benckmark.teardown() -+ benchmark = SlicingBenchmark() -+ benchmark.setup() -+ benchmark.time_sequential_reads() -+ benchmark.time_threaded_reads() -+ benchmark.teardown() -diff --git a/docs/conf.py b/docs/conf.py -index 93b23939..a0f6c1ac 100644 ---- a/docs/conf.py -+++ b/docs/conf.py -@@ -109,7 +109,7 @@ pygments_style = 'sphinx' - - # The theme to use for HTML and HTML Help pages. See the documentation for - # a list of builtin themes. --html_theme = 'default' -+html_theme = 'sphinx_rtd_theme' - - # Theme options are theme-specific and customize the look and feel of a theme - # further. For a list of options available for each theme, see the -diff --git a/docs/high/dataset.rst b/docs/high/dataset.rst -index 0f27284f..cb75fffe 100644 ---- a/docs/high/dataset.rst -+++ b/docs/high/dataset.rst -@@ -58,7 +58,7 @@ the requested ``dtype``. - Reading & writing data - ---------------------- - --HDF5 datasets re-use the NumPy slicing syntax to read and write to the file. -+HDF5 datasets reuse the NumPy slicing syntax to read and write to the file. - Slice specifications are translated directly to HDF5 "hyperslab" - selections, and are a fast and efficient way to access data in the file. The - following slicing arguments are recognized: -@@ -464,7 +464,7 @@ Reference - >>> dset = f["MyDS"] - >>> f.close() - >>> if dset: -- ... print("datset accessible") -+ ... print("dataset accessible") - ... else: - ... print("dataset inaccessible") - dataset inaccessible -diff --git a/docs/high/file.rst b/docs/high/file.rst -index 484498ce..e757fe1a 100644 ---- a/docs/high/file.rst -+++ b/docs/high/file.rst -@@ -392,7 +392,7 @@ Data alignment - When creating datasets within files, it may be advantageous to align the offset - within the file itself. This can help optimize read and write times if the data - become aligned with the underlying hardware, or may help with parallelism with --MPI. Unfortunately, aligning small variables to large blocks can leave alot of -+MPI. Unfortunately, aligning small variables to large blocks can leave a lot of - empty space in a file. To this effect, application developers are left with two - options to tune the alignment of data within their file. The two variables - ``alignment_threshold`` and ``alignment_interval`` in the :class:`File` -@@ -415,7 +415,7 @@ number of regions. Setting a small value can reduce the overall file size, - especially in combination with the ``libver`` option. This controls how the - overall data and metadata are laid out within the file. - --For more information, see the offical HDF5 documentation `H5P_SET_META_BLOCK_SIZE -+For more information, see the official HDF5 documentation `H5P_SET_META_BLOCK_SIZE - <https://portal.hdfgroup.org/display/HDF5/H5P_SET_META_BLOCK_SIZE>`_. - - Reference -@@ -497,7 +497,7 @@ Reference - Only available with HDF5 >= 1.12.1 or 1.10.x >= 1.10.7. - :param alignment_threshold: Together with ``alignment_interval``, this - property ensures that any file object greater than or equal -- in size to the alignement threshold (in bytes) will be -+ in size to the alignment threshold (in bytes) will be - aligned on an address which is a multiple of alignment interval. - :param alignment_interval: This property should be used in conjunction with - ``alignment_threshold``. See the description above. For more -diff --git a/docs/requirements-rtd.txt b/docs/requirements-rtd.txt -index e67a3eee..52096927 100644 ---- a/docs/requirements-rtd.txt -+++ b/docs/requirements-rtd.txt -@@ -1,3 +1,2 @@ --sphinx==4.3.0 --sphinx_rtd_theme==1.0.0 --readthedocs-sphinx-search==0.1.1 -+sphinx==7.2.6 -+sphinx_rtd_theme==1.3.0 -diff --git a/docs/vds.rst b/docs/vds.rst -index a9a7c7f6..bd47ad1c 100644 ---- a/docs/vds.rst -+++ b/docs/vds.rst -@@ -124,7 +124,7 @@ Reference - slice it to indicate which regions should be used in the virtual dataset. - - When `creating a virtual dataset <creating_vds_>`_, paths to sources present -- in the same file are changed to a ".", refering to the current file (see -+ in the same file are changed to a ".", referring to the current file (see - `H5Pset_virtual <https://portal.hdfgroup.org/display/HDF5/H5P_SET_VIRTUAL>`_). - This will keep such sources valid in case the file is renamed. - -diff --git a/docs/whatsnew/3.0.rst b/docs/whatsnew/3.0.rst -index db30ad66..ff3c2bef 100644 ---- a/docs/whatsnew/3.0.rst -+++ b/docs/whatsnew/3.0.rst -@@ -44,7 +44,7 @@ New features - See also the deprecation related to the ``external`` argument. - * Support for setting file space strategy at file creation. Includes option to - persist empty space tracking between sessions. See :class:`.File` for details. --* More efficient writing when assiging a scalar to a chunked dataset, when the -+* More efficient writing when assigning a scalar to a chunked dataset, when the - number of elements to write is no more than the size of one chunk. - * Introduced support for the split :ref:`file driver <file_driver>` - (:pr:`1468`). -diff --git a/docs/whatsnew/3.7.rst b/docs/whatsnew/3.7.rst -index 27790254..2e822d68 100644 ---- a/docs/whatsnew/3.7.rst -+++ b/docs/whatsnew/3.7.rst -@@ -19,7 +19,7 @@ New features - include it. Alternatively, you can :ref:`build h5py from source <source_install>` - against an HDF5 build with the direct driver enabled. - * The :class:`.File` constructor contains two new parameters ``alignment_threshold``, -- and ``alignment_interval`` controling the data alignment within the HDF5 -+ and ``alignment_interval`` controlling the data alignment within the HDF5 - file (:pr:`2040`). - * :meth:`~.Group.create_dataset` and :meth:`~.Group.require_dataset` now accept - parameters ``efile_prefix`` and ``virtual_prefix`` to set a filesystem path -@@ -40,7 +40,7 @@ Bug fixes - attributes with ``track_order=True``. - * Fix for building with mpi4py on Python 3.10 (:pr:`2101`). - * Fixed fancy indexing with a boolean array for a single dimension (:pr:`2079`). --* Avoid returning unitialised memory when reading from a chunked dataset with -+* Avoid returning uninitialised memory when reading from a chunked dataset with - missing chunks and no fill value (:pr:`2076`). - * Enable setting of fillvalue for datasets with variable length string dtype - (:pr:`2044`). -diff --git a/h5py/_errors.pxd b/h5py/_errors.pxd -index df9c1bbe..3cba6307 100644 ---- a/h5py/_errors.pxd -+++ b/h5py/_errors.pxd -@@ -23,7 +23,7 @@ cdef extern from "hdf5.h": - H5E_ARGS, # invalid arguments to routine - H5E_RESOURCE, # resource unavailable - H5E_INTERNAL, # Internal error (too specific to document) -- H5E_FILE, # file Accessability -+ H5E_FILE, # file Accessibility - H5E_IO, # Low-level I/O - H5E_FUNC, # function Entry/Exit - H5E_ATOM, # object Atom -@@ -121,7 +121,7 @@ cdef extern from "hdf5.h": - # No error - H5E_NONE_MINOR # No error - -- # File accessability errors -+ # File accessibility errors - H5E_FILEEXISTS # File already exists - H5E_FILEOPEN # File already open - H5E_CANTCREATE # Unable to create file -@@ -207,7 +207,7 @@ cdef extern from "hdf5.h": - H5E_ARGS, # invalid arguments to routine - H5E_RESOURCE, # resource unavailable - H5E_INTERNAL, # Internal error (too specific to document) -- H5E_FILE, # file Accessability -+ H5E_FILE, # file Accessibility - H5E_IO, # Low-level I/O - H5E_FUNC, # function Entry/Exit - H5E_ID, # object ID -@@ -305,7 +305,7 @@ cdef extern from "hdf5.h": - # No error - H5E_NONE_MINOR # No error - -- # File accessability errors -+ # File accessibility errors - H5E_FILEEXISTS # File already exists - H5E_FILEOPEN # File already open - H5E_CANTCREATE # Unable to create file -@@ -425,4 +425,4 @@ ctypedef struct err_cookie: - cdef err_cookie set_error_handler(err_cookie handler) - - # Set the default error handler set by silence_errors/unsilence_errors --cdef void set_default_error_handler() nogil -+cdef void set_default_error_handler() noexcept nogil -diff --git a/h5py/_errors.pyx b/h5py/_errors.pyx -index c3bd184e..2a7524b2 100644 ---- a/h5py/_errors.pyx -+++ b/h5py/_errors.pyx -@@ -94,7 +94,7 @@ cdef struct err_data_t: - H5E_error_t err - int n - --cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) nogil noexcept: -+cdef herr_t walk_cb(unsigned int n, const H5E_error_t *desc, void *e) noexcept nogil: - - cdef err_data_t *ee = <err_data_t*>e - -@@ -168,7 +168,7 @@ cdef err_cookie _error_handler # Store error handler used by h5py - _error_handler.func = NULL - _error_handler.data = NULL - --cdef void set_default_error_handler() nogil: -+cdef void set_default_error_handler() noexcept nogil: - """Set h5py's current default error handler""" - H5Eset_auto(<hid_t>H5E_DEFAULT, _error_handler.func, _error_handler.data) - -diff --git a/h5py/_hl/base.py b/h5py/_hl/base.py -index cad37053..9d261c90 100644 ---- a/h5py/_hl/base.py -+++ b/h5py/_hl/base.py -@@ -20,7 +20,7 @@ import posixpath - import numpy as np - - # The high-level interface is serialized; every public API function & method --# is wrapped in a lock. We re-use the low-level lock because (1) it's fast, -+# is wrapped in a lock. We reuse the low-level lock because (1) it's fast, - # and (2) it eliminates the possibility of deadlocks due to out-of-order - # lock acquisition. - from .._objects import phil, with_phil -@@ -524,7 +524,7 @@ def product(nums): - # Daniel Greenfeld, BSD license), where it is attributed to bottle (Copyright - # (c) 2009-2022, Marcel Hellkamp, MIT license). - --class cached_property(object): -+class cached_property: - def __init__(self, func): - self.__doc__ = getattr(func, "__doc__") - self.func = func -diff --git a/h5py/_hl/dataset.py b/h5py/_hl/dataset.py -index b69aba48..77b202d2 100644 ---- a/h5py/_hl/dataset.py -+++ b/h5py/_hl/dataset.py -@@ -334,10 +334,10 @@ class ChunkIterator: - self._layout = dset.chunks - if source_sel is None: - # select over entire dataset -- slices = [] -- for dim in range(rank): -- slices.append(slice(0, self._shape[dim])) -- self._sel = tuple(slices) -+ self._sel = tuple( -+ slice(0, self._shape[dim]) -+ for dim in range(rank) -+ ) - else: - if isinstance(source_sel, slice): - self._sel = (source_sel,) -diff --git a/h5py/_hl/dims.py b/h5py/_hl/dims.py -index d3c9206b..0cf4c9f3 100644 ---- a/h5py/_hl/dims.py -+++ b/h5py/_hl/dims.py -@@ -53,8 +53,7 @@ class DimensionProxy(base.CommonStateObject): - - @with_phil - def __iter__(self): -- for k in self.keys(): -- yield k -+ yield from self.keys() - - @with_phil - def __len__(self): -diff --git a/h5py/_hl/files.py b/h5py/_hl/files.py -index aa4fb78d..bfcf3098 100644 ---- a/h5py/_hl/files.py -+++ b/h5py/_hl/files.py -@@ -480,7 +480,7 @@ class File(Group): - - alignment_threshold - Together with ``alignment_interval``, this property ensures that -- any file object greater than or equal in size to the alignement -+ any file object greater than or equal in size to the alignment - threshold (in bytes) will be aligned on an address which is a - multiple of alignment interval. - -diff --git a/h5py/_locks.pxi b/h5py/_locks.pxi -index bc8b2dd9..1ec4e2fc 100644 ---- a/h5py/_locks.pxi -+++ b/h5py/_locks.pxi -@@ -63,7 +63,7 @@ cdef class FastRLock: - return self._owner == pythread.PyThread_get_thread_ident() - - --cdef inline bint lock_lock(FastRLock lock, long current_thread, bint blocking) nogil: -+cdef inline bint lock_lock(FastRLock lock, long current_thread, bint blocking) noexcept nogil: - # Note that this function *must* hold the GIL when being called. - # We just use 'nogil' in the signature to make sure that no Python - # code execution slips in that might free the GIL -@@ -83,7 +83,7 @@ cdef inline bint lock_lock(FastRLock lock, long current_thread, bint blocking) n - lock, current_thread, - pythread.WAIT_LOCK if blocking else pythread.NOWAIT_LOCK) - --cdef bint _acquire_lock(FastRLock lock, long current_thread, int wait) nogil: -+cdef bint _acquire_lock(FastRLock lock, long current_thread, int wait) noexcept nogil: - # Note that this function *must* hold the GIL when being called. - # We just use 'nogil' in the signature to make sure that no Python - # code execution slips in that might free the GIL -@@ -111,7 +111,7 @@ cdef bint _acquire_lock(FastRLock lock, long current_thread, int wait) nogil: - lock._count = 1 - return 1 - --cdef inline void unlock_lock(FastRLock lock) nogil: -+cdef inline void unlock_lock(FastRLock lock) noexcept nogil: - # Note that this function *must* hold the GIL when being called. - # We just use 'nogil' in the signature to make sure that no Python - # code execution slips in that might free the GIL -diff --git a/h5py/_proxy.pyx b/h5py/_proxy.pyx -index 46b4fe0d..e40504f5 100644 ---- a/h5py/_proxy.pyx -+++ b/h5py/_proxy.pyx -@@ -241,7 +241,7 @@ ctypedef struct h5py_scatter_t: - void* buf - - cdef herr_t h5py_scatter_cb(void* elem, hid_t type_id, unsigned ndim, -- const hsize_t *point, void *operator_data) nogil except -1: -+ const hsize_t *point, void *operator_data) except -1 nogil: - cdef h5py_scatter_t* info = <h5py_scatter_t*>operator_data - - memcpy(elem, (<char*>info[0].buf)+((info[0].i)*(info[0].elsize)), -@@ -252,7 +252,7 @@ cdef herr_t h5py_scatter_cb(void* elem, hid_t type_id, unsigned ndim, - return 0 - - cdef herr_t h5py_gather_cb(void* elem, hid_t type_id, unsigned ndim, -- const hsize_t *point, void *operator_data) nogil except -1: -+ const hsize_t *point, void *operator_data) except -1 nogil: - cdef h5py_scatter_t* info = <h5py_scatter_t*>operator_data - - memcpy((<char*>info[0].buf)+((info[0].i)*(info[0].elsize)), elem, -diff --git a/h5py/_selector.pyx b/h5py/_selector.pyx -index 8b858c82..69970176 100644 ---- a/h5py/_selector.pyx -+++ b/h5py/_selector.pyx -@@ -341,7 +341,7 @@ cdef class Reader: - - arr = PyArray_ZEROS(arr_rank, arr_shape, self.np_typenum, 0) - if not self.native_byteorder: -- arr = arr.newbyteorder() -+ arr = arr.view(arr.dtype.newbyteorder()) - finally: - efree(arr_shape) - -diff --git a/h5py/api_compat.h b/h5py/api_compat.h -index 52917f4d..a359e827 100644 ---- a/h5py/api_compat.h -+++ b/h5py/api_compat.h -@@ -24,7 +24,6 @@ typedef void *PyMPI_MPI_Message; - #include <stddef.h> - #include "Python.h" - #include "numpy/arrayobject.h" --#include "hdf5.h" - - /* The HOFFSET macro can't be used from Cython. */ - -@@ -35,14 +34,14 @@ typedef void *PyMPI_MPI_Message; - #define h5py_size_n256 (sizeof(npy_complex256)) - #endif - --#define h5py_offset_n64_real (HOFFSET(npy_complex64, real)) --#define h5py_offset_n64_imag (HOFFSET(npy_complex64, imag)) --#define h5py_offset_n128_real (HOFFSET(npy_complex128, real)) --#define h5py_offset_n128_imag (HOFFSET(npy_complex128, imag)) -+#define h5py_offset_n64_real (0) -+#define h5py_offset_n64_imag (sizeof(float)) -+#define h5py_offset_n128_real (0) -+#define h5py_offset_n128_imag (sizeof(double)) - - #ifdef NPY_COMPLEX256 --#define h5py_offset_n256_real (HOFFSET(npy_complex256, real)) --#define h5py_offset_n256_imag (HOFFSET(npy_complex256, imag)) -+#define h5py_offset_n256_real (0) -+#define h5py_offset_n256_imag (sizeof(long double)) - #endif - - #endif -diff --git a/h5py/api_types_hdf5.pxd b/h5py/api_types_hdf5.pxd -index a198f105..099e0f58 100644 ---- a/h5py/api_types_hdf5.pxd -+++ b/h5py/api_types_hdf5.pxd -@@ -257,27 +257,27 @@ cdef extern from "hdf5.h": - herr_t (*sb_encode)(H5FD_t *file, char *name, unsigned char *p) - herr_t (*sb_decode)(H5FD_t *f, const char *name, const unsigned char *p) - size_t fapl_size -- void * (*fapl_get)(H5FD_t *file) -- void * (*fapl_copy)(const void *fapl) -- herr_t (*fapl_free)(void *fapl) -+ void * (*fapl_get)(H5FD_t *file) except * -+ void * (*fapl_copy)(const void *fapl) except * -+ herr_t (*fapl_free)(void *fapl) except -1 - size_t dxpl_size - void * (*dxpl_copy)(const void *dxpl) - herr_t (*dxpl_free)(void *dxpl) -- H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) -- herr_t (*close)(H5FD_t *file) -+ H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) except * -+ herr_t (*close)(H5FD_t *file) except -1 - int (*cmp)(const H5FD_t *f1, const H5FD_t *f2) - herr_t (*query)(const H5FD_t *f1, unsigned long *flags) - herr_t (*get_type_map)(const H5FD_t *file, H5FD_mem_t *type_map) - haddr_t (*alloc)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size) - herr_t (*free)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size) -- haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) -- herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) -- haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) -+ haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) noexcept -+ herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) noexcept -+ haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) except -1 - herr_t (*get_handle)(H5FD_t *file, hid_t fapl, void**file_handle) -- herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) -- herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) -- herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) -- herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) -+ herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) except * -+ herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) except * -+ herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 -+ herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 - herr_t (*lock)(H5FD_t *file, hbool_t rw) - herr_t (*unlock)(H5FD_t *file) - H5FD_mem_t fl_map[<int>H5FD_MEM_NTYPES] -@@ -295,27 +295,27 @@ cdef extern from "hdf5.h": - herr_t (*sb_encode)(H5FD_t *file, char *name, unsigned char *p) - herr_t (*sb_decode)(H5FD_t *f, const char *name, const unsigned char *p) - size_t fapl_size -- void * (*fapl_get)(H5FD_t *file) -- void * (*fapl_copy)(const void *fapl) -- herr_t (*fapl_free)(void *fapl) -+ void * (*fapl_get)(H5FD_t *file) except * -+ void * (*fapl_copy)(const void *fapl) except * -+ herr_t (*fapl_free)(void *fapl) except -1 - size_t dxpl_size - void * (*dxpl_copy)(const void *dxpl) - herr_t (*dxpl_free)(void *dxpl) -- H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) -- herr_t (*close)(H5FD_t *file) -+ H5FD_t *(*open)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr) except * -+ herr_t (*close)(H5FD_t *file) except -1 - int (*cmp)(const H5FD_t *f1, const H5FD_t *f2) - herr_t (*query)(const H5FD_t *f1, unsigned long *flags) - herr_t (*get_type_map)(const H5FD_t *file, H5FD_mem_t *type_map) - haddr_t (*alloc)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, hsize_t size) - herr_t (*free)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, hsize_t size) -- haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) -- herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) -- haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) -+ haddr_t (*get_eoa)(const H5FD_t *file, H5FD_mem_t type) noexcept -+ herr_t (*set_eoa)(H5FD_t *file, H5FD_mem_t type, haddr_t addr) noexcept -+ haddr_t (*get_eof)(const H5FD_t *file, H5FD_mem_t type) except -1 - herr_t (*get_handle)(H5FD_t *file, hid_t fapl, void**file_handle) -- herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) -- herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) -- herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) -- herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) -+ herr_t (*read)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, void *buffer) except * -+ herr_t (*write)(H5FD_t *file, H5FD_mem_t type, hid_t dxpl, haddr_t addr, size_t size, const void *buffer) except * -+ herr_t (*flush)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 -+ herr_t (*truncate)(H5FD_t *file, hid_t dxpl_id, hbool_t closing) except -1 - herr_t (*lock)(H5FD_t *file, hbool_t rw) - herr_t (*unlock)(H5FD_t *file) - H5FD_mem_t fl_map[<int>H5FD_MEM_NTYPES] -diff --git a/h5py/h5fd.pyx b/h5py/h5fd.pyx -index e9746057..d39cf68f 100644 ---- a/h5py/h5fd.pyx -+++ b/h5py/h5fd.pyx -@@ -144,10 +144,10 @@ cdef herr_t H5FD_fileobj_close(H5FD_fileobj_t *f) except -1 with gil: - stdlib_free(f) - return 0 - --cdef haddr_t H5FD_fileobj_get_eoa(const H5FD_fileobj_t *f, H5FD_mem_t type): -+cdef haddr_t H5FD_fileobj_get_eoa(const H5FD_fileobj_t *f, H5FD_mem_t type) noexcept nogil: - return f.eoa - --cdef herr_t H5FD_fileobj_set_eoa(H5FD_fileobj_t *f, H5FD_mem_t type, haddr_t addr): -+cdef herr_t H5FD_fileobj_set_eoa(H5FD_fileobj_t *f, H5FD_mem_t type, haddr_t addr) noexcept nogil: - f.eoa = addr - return 0 - -@@ -191,22 +191,38 @@ cdef herr_t H5FD_fileobj_flush(H5FD_fileobj_t *f, hid_t dxpl, hbool_t closing) e - cdef H5FD_class_t info - memset(&info, 0, sizeof(info)) - -+# Cython doesn't support "except X" in casting definition currently -+ctypedef herr_t (*file_free_func_ptr)(void *) except -1 -+ -+ctypedef herr_t (*file_close_func_ptr)(H5FD_t *) except -1 -+ctypedef haddr_t (*file_get_eoa_func_ptr)(const H5FD_t *, H5FD_mem_t) noexcept -+ctypedef herr_t (*file_set_eof_func_ptr)(H5FD_t *, H5FD_mem_t, haddr_t) noexcept -+ctypedef haddr_t (*file_get_eof_func_ptr)(const H5FD_t *, H5FD_mem_t) except -1 -+ctypedef herr_t (*file_read_func_ptr)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, void*) except -1 -+ctypedef herr_t (*file_write_func_ptr)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, const void*) except -1 -+ctypedef herr_t (*file_truncate_func_ptr)(H5FD_t *, hid_t, hbool_t) except -1 -+ctypedef herr_t (*file_flush_func_ptr)(H5FD_t *, hid_t, hbool_t) except -1 -+ -+ - info.name = 'fileobj' - info.maxaddr = libc.stdint.SIZE_MAX - 1 - info.fc_degree = H5F_CLOSE_WEAK - info.fapl_size = sizeof(PyObject *) - info.fapl_get = <void *(*)(H5FD_t *)>H5FD_fileobj_fapl_get - info.fapl_copy = <void *(*)(const void *)>H5FD_fileobj_fapl_copy --info.fapl_free = <herr_t (*)(void *)>H5FD_fileobj_fapl_free -+ -+info.fapl_free = <file_free_func_ptr>H5FD_fileobj_fapl_free -+ - info.open = <H5FD_t *(*)(const char *name, unsigned flags, hid_t fapl, haddr_t maxaddr)>H5FD_fileobj_open --info.close = <herr_t (*)(H5FD_t *)>H5FD_fileobj_close --info.get_eoa = <haddr_t (*)(const H5FD_t *, H5FD_mem_t)>H5FD_fileobj_get_eoa --info.set_eoa = <herr_t (*)(H5FD_t *, H5FD_mem_t, haddr_t)>H5FD_fileobj_set_eoa --info.get_eof = <haddr_t (*)(const H5FD_t *, H5FD_mem_t)>H5FD_fileobj_get_eof --info.read = <herr_t (*)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, void *)>H5FD_fileobj_read --info.write = <herr_t (*)(H5FD_t *, H5FD_mem_t, hid_t, haddr_t, size_t, const void *)>H5FD_fileobj_write --info.truncate = <herr_t (*)(H5FD_t *, hid_t, hbool_t)>H5FD_fileobj_truncate --info.flush = <herr_t (*)(H5FD_t *, hid_t, hbool_t)>H5FD_fileobj_flush -+ -+info.close = <file_close_func_ptr>H5FD_fileobj_close -+info.get_eoa = <file_get_eoa_func_ptr>H5FD_fileobj_get_eoa -+info.set_eoa = <file_set_eof_func_ptr>H5FD_fileobj_set_eoa -+info.get_eof = <file_get_eof_func_ptr>H5FD_fileobj_get_eof -+info.read = <file_read_func_ptr>H5FD_fileobj_read -+info.write = <file_write_func_ptr>H5FD_fileobj_write -+info.truncate = <file_truncate_func_ptr>H5FD_fileobj_truncate -+info.flush = <file_flush_func_ptr>H5FD_fileobj_flush - # H5FD_FLMAP_DICHOTOMY - info.fl_map = [H5FD_MEM_SUPER, # default - H5FD_MEM_SUPER, # super -diff --git a/h5py/h5p.pyx b/h5py/h5p.pyx -index 779ea1b5..dc8bf65a 100644 ---- a/h5py/h5p.pyx -+++ b/h5py/h5p.pyx -@@ -1177,7 +1177,7 @@ cdef class PropFAID(PropInstanceID): - size_t block_size IN: File system block size - size_t cbuf_size IN: Copy buffer size - -- Properites with value of 0 indicate that the HDF5 library should -+ Properties with value of 0 indicate that the HDF5 library should - choose the value. - """ - H5Pset_fapl_direct(self.id, alignment, block_size, cbuf_size) -@@ -1761,7 +1761,7 @@ cdef class PropOCID(PropCreateID): - - max_compact -- maximum number of attributes to be stored in compact storage(default:8) - must be greater than or equal to min_dense -- min_dense -- minmum number of attributes to be stored in dense storage(default:6) -+ min_dense -- minimum number of attributes to be stored in dense storage(default:6) - - """ - H5Pset_attr_phase_change(self.id, max_compact, min_dense) -diff --git a/h5py/h5t.pyx b/h5py/h5t.pyx -index e7aae14f..b9d7e74d 100644 ---- a/h5py/h5t.pyx -+++ b/h5py/h5t.pyx -@@ -1938,7 +1938,7 @@ def check_dtype(**kwds): - - vlen = dtype - If the dtype represents an HDF5 vlen, returns the Python base class. -- Currently only builting string vlens (str) are supported. Returns -+ Currently only built-in string vlens (str) are supported. Returns - None if the dtype does not represent an HDF5 vlen. - - enum = dtype -diff --git a/h5py/tests/test_attrs_data.py b/h5py/tests/test_attrs_data.py -index 56481ca0..5083a1aa 100644 ---- a/h5py/tests/test_attrs_data.py -+++ b/h5py/tests/test_attrs_data.py -@@ -262,7 +262,7 @@ class TestEmpty(BaseAttrs): - self.assertTrue(is_empty_dataspace(h5a.open(self.f.id, b'y'))) - - def test_modify(self): -- with self.assertRaises(IOError): -+ with self.assertRaises(OSError): - self.f.attrs.modify('x', 1) - - def test_values(self): -diff --git a/h5py/tests/test_big_endian_file.py b/h5py/tests/test_big_endian_file.py -index 4d81de01..170b5bcc 100644 ---- a/h5py/tests/test_big_endian_file.py -+++ b/h5py/tests/test_big_endian_file.py -@@ -24,14 +24,14 @@ def test_vlen_big_endian(): - assert dset[4] == 1.2 - assert dset.dtype == "<f8" - -- # Same float values with big endianess -+ # Same float values with big endianness - assert f["DSBEfloat"][0] == 3.14 - assert f["DSBEfloat"].dtype == ">f8" - - assert f["DSLEint"][0] == 1 - assert f["DSLEint"].dtype == "<u8" - -- # Same int values with big endianess -+ # Same int values with big endianness - assert f["DSBEint"][0] == 1 - assert f["DSBEint"].dtype == ">i8" - -diff --git a/h5py/tests/test_dataset.py b/h5py/tests/test_dataset.py -index e104dd53..0ffa5c80 100644 ---- a/h5py/tests/test_dataset.py -+++ b/h5py/tests/test_dataset.py -@@ -1939,9 +1939,9 @@ class TestCommutative(BaseDataset): - dset = self.f.create_dataset("test", shape, dtype=float, - data=np.random.rand(*shape)) - -- # grab a value from the elements, ie dset[0] -+ # grab a value from the elements, ie dset[0, 0] - # check that mask arrays are commutative wrt ==, != -- val = np.float64(dset[0]) -+ val = np.float64(dset[0, 0]) - - assert np.all((val == dset) == (dset == val)) - assert np.all((val != dset) == (dset != val)) -diff --git a/h5py/tests/test_file.py b/h5py/tests/test_file.py -index b47d408e..1aa38731 100644 ---- a/h5py/tests/test_file.py -+++ b/h5py/tests/test_file.py -@@ -326,7 +326,7 @@ class TestDrivers(TestCase): - # could be an integer multiple of 512 - # - # To allow HDF5 to do the heavy lifting for different platform, -- # We didn't provide any argumnets to the first call -+ # We didn't provide any arguments to the first call - # and obtained HDF5's default values there. - - # Testing creation with a few different property lists -@@ -639,9 +639,9 @@ class TestUnicode(TestCase): - Modes 'r' and 'r+' do not create files even when given unicode names - """ - fname = self.mktemp(prefix=chr(0x201a)) -- with self.assertRaises(IOError): -+ with self.assertRaises(OSError): - File(fname, 'r') -- with self.assertRaises(IOError): -+ with self.assertRaises(OSError): - File(fname, 'r+') - - -diff --git a/h5py/tests/test_file_alignment.py b/h5py/tests/test_file_alignment.py -index c280bb76..da13ee04 100644 ---- a/h5py/tests/test_file_alignment.py -+++ b/h5py/tests/test_file_alignment.py -@@ -50,7 +50,7 @@ class TestFileAlignment(TestCase): - alignment_interval = 4096 - - for shape in [ -- (1033,), # A prime number above the thresold -+ (1033,), # A prime number above the threshold - (1000,), # Exactly equal to the threshold - (1001,), # one above the threshold - ]: -@@ -75,7 +75,7 @@ class TestFileAlignment(TestCase): - alignment_interval = 1024 - - for shape in [ -- (881,), # A prime number below the thresold -+ (881,), # A prime number below the threshold - (999,), # Exactly one below the threshold - ]: - fname = self.mktemp() -diff --git a/h5py/tests/test_group.py b/h5py/tests/test_group.py -index 328c352a..4af1fb1f 100644 ---- a/h5py/tests/test_group.py -+++ b/h5py/tests/test_group.py -@@ -771,7 +771,7 @@ class TestExternalLinks(TestCase): - with self.assertRaises(KeyError): - self.f['ext'] - -- # I would prefer IOError but there's no way to fix this as the exception -+ # I would prefer OSError but there's no way to fix this as the exception - # class is determined by HDF5. - def test_exc_missingfile(self): - """ KeyError raised when attempting to open missing file """ -@@ -844,7 +844,7 @@ class TestExtLinkBugs(TestCase): - try: - if x: - x.close() -- except IOError: -+ except OSError: - pass - return w - orig_name = self.mktemp() -diff --git a/h5py/tests/test_selections.py b/h5py/tests/test_selections.py -index 0b1722d7..01f6dcb7 100644 ---- a/h5py/tests/test_selections.py -+++ b/h5py/tests/test_selections.py -@@ -65,7 +65,7 @@ class TestTypeGeneration(BaseSelection): - self.assertEqual(out, np.dtype('i')) - self.assertEqual(format, np.dtype( [('a','i')] )) - -- # Field does not apear in named typed -+ # Field does not appear in named typed - with self.assertRaises(ValueError): - out, format = sel2.read_dtypes(dt, ('j', 'k')) - -diff --git a/pylintrc b/pylintrc -index 045df2f7..2401d3b0 100644 ---- a/pylintrc -+++ b/pylintrc -@@ -44,7 +44,7 @@ confidence= - # can either give multiple identifiers separated by comma (,) or put this - # option multiple times (only on the command line, not in the configuration - # file where it should appear only once).You can also use "--disable=all" to --# disable everything first and then reenable specific checks. For example, if -+# disable everything first and then re-enable specific checks. For example, if - # you want to run only the similarities checker, you can use "--disable=all - # --enable=similarities". If you want to run only the classes checker, but have - # no Warning level messages displayed, use"--disable=all --enable=classes -diff --git a/pyproject.toml b/pyproject.toml -index ee573d2f..717200ef 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,6 +1,6 @@ - [build-system] - requires = [ -- "Cython >=0.29.31,<1", -+ "Cython >=0.29.31,<4", - "oldest-supported-numpy", - "pkgconfig", - "setuptools >=61", -diff --git a/setup_configure.py b/setup_configure.py -index 0fba53ba..c3b86a64 100644 ---- a/setup_configure.py -+++ b/setup_configure.py -@@ -165,7 +165,7 @@ class BuildConfig: - try: - if pkgconfig.exists(pc_name): - pc = pkgconfig.parse(pc_name) -- except EnvironmentError: -+ except OSError: - if os.name != 'nt': - print( - "Building h5py requires pkg-config unless the HDF5 path " -diff --git a/tox.ini b/tox.ini -index 0efb88a6..86a176dd 100644 ---- a/tox.ini -+++ b/tox.ini -@@ -65,7 +65,7 @@ skip_install=True - package_env = DUMMY NON-EXISTENT ENV NAME - changedir=docs - deps= -- sphinx -+ -r docs/requirements-rtd.txt - commands= - sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html - diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb b/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb index 8a9158525e..e0ceafca1e 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.10.0.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.11.0.bb @@ -4,10 +4,9 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=113251d71fb0384712c719b567261c5c" -SRC_URI[sha256sum] = "d93adc48ceeb33347eb24a634fb787efc7ae4644e6ea4ba733d099605045c049" +SRC_URI[sha256sum] = "7b7e8f78072a2edec87c9836f25f34203fd492a4475709a18b417a33cfb21fa9" -SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch \ - file://0001-Fix-Cython-3-compatibility.patch" +SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" inherit pkgconfig pypi setuptools3 @@ -38,3 +37,8 @@ RDEPENDS:${PN} = "python3-numpy \ " export HDF5_VERSION="1.14.0" + +# http://errors.yoctoproject.org/Errors/Details/766919/ +# h5py/h5l.c:8163:107: error: passing argument 4 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] +# h5py/h5l.c:8163:133: error: passing argument 5 of '__pyx_f_4h5py_4defs_H5Lunpack_elink_val' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta-python/recipes-devtools/python/python3-icu_2.12.bb b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb index 6394db4e9e..6a590de5fd 100644 --- a/meta-python/recipes-devtools/python/python3-icu_2.12.bb +++ b/meta-python/recipes-devtools/python/python3-icu_2.13.1.bb @@ -8,8 +8,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f" DEPENDS += "icu" PYPI_PACKAGE = "PyICU" -SRC_URI[sha256sum] = "bd7ab5efa93ad692e6daa29cd249364e521218329221726a113ca3cb281c8611" + +SRC_URI[sha256sum] = "d4919085eaa07da12bade8ee721e7bbf7ade0151ca0f82946a26c8f4b98cdceb" SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" inherit pkgconfig pypi python_setuptools_build_meta + +# it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version +S = "${WORKDIR}/pyicu-${PV}" diff --git a/meta-python/recipes-devtools/python/python3-imgtool_2.0.0.bb b/meta-python/recipes-devtools/python/python3-imgtool_2.1.0.bb index a25e6a61a8..aafcf38272 100644 --- a/meta-python/recipes-devtools/python/python3-imgtool_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-imgtool_2.1.0.bb @@ -3,7 +3,7 @@ SUMMARY = "MCUboot's image signing and key management tool" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=0645fb61e2f961a110302fbfdb227446" -SRC_URI[sha256sum] = "7a541255e69eec1f12aa38dce1f1d4fe20d8212677c68a9b6ec634ca91a06612" +SRC_URI[sha256sum] = "4f7fbcdf53c44eaaa6226504510ccb52f7ef00c997503cf94934b330c9607b60" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-joblib_1.4.0.bb b/meta-python/recipes-devtools/python/python3-joblib_1.4.2.bb index 868e3f2114..13d2a448db 100644 --- a/meta-python/recipes-devtools/python/python3-joblib_1.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-joblib_1.4.2.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" inherit setuptools3 pypi -SRC_URI[sha256sum] = "1eb0dc091919cd384490de890cb5dfd538410a6d4b3b54eef09fb8c50b409b1c" +SRC_URI[sha256sum] = "2382c5816b2636fbd20a09e0f4e9dad4736765fdfb7dca582943b9c1366b3f0e" RDEPENDS:${PN} += " \ python3-asyncio \ diff --git a/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb index 237713bf12..ff9d7dd552 100644 --- a/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-jstyleson_0.0.2.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/linjackson78/jstyleson" SRC_URI += " file://LICENSE " LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=d97b96c7337934ee448ffd4392f32079" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=d97b96c7337934ee448ffd4392f32079" PYPI_PACKAGE_EXT = "tar.gz" diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb index 991aa0f7d8..6bd7ce8ba3 100644 --- a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb @@ -70,3 +70,8 @@ RDEPENDS:${PN} = " \ python3-pillow \ python3-pygments \ " + +# http://errors.yoctoproject.org/Errors/Details/766917/ +# python3-kivy/2.3.0/git/kivy/graphics/cgl_backend/cgl_gl.c:4568:52: error: assignment to 'void (*)(GLuint, GLsizei, const GLchar **, const GLint *)' {aka 'void (*)(unsigned int, int, const char **, const int *)'} from incompatible pointer type 'void (*)(GLuint, GLsizei, const GLchar * const*, const GLint *)' {aka 'void (*)(unsigned int, int, const char * const*, const int *)'} [-Wincompatible-pointer-types] +# python3-kivy/2.3.0/git/kivy/core/window/_window_sdl2.c:8781:23: error: passing argument 1 of 'SDL_SetEventFilter' from incompatible pointer type [-Wincompatible-pointer-types] +CFLAGS += "-Wno-error=incompatible-pointer-types" diff --git a/meta-python/recipes-devtools/python/python3-langtable_0.0.65.bb b/meta-python/recipes-devtools/python/python3-langtable_0.0.66.bb index fa9edc67d4..26a4f19215 100644 --- a/meta-python/recipes-devtools/python/python3-langtable_0.0.65.bb +++ b/meta-python/recipes-devtools/python/python3-langtable_0.0.66.bb @@ -6,7 +6,7 @@ SECTION = "devel/python" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -SRC_URI[sha256sum] = "791ec5403859704e1dee4d2a056a30ec21d1e7bc040658ce62c40e0427ba4333" +SRC_URI[sha256sum] = "0679e9014aa25916a8184c7bb5082fe983a661ab958d37f5fb75461abf5fb342" inherit pypi setuptools3 python3native diff --git a/meta-python/recipes-devtools/python/python3-marshmallow_3.21.1.bb b/meta-python/recipes-devtools/python/python3-marshmallow_3.21.2.bb index bf1d8dd290..11351230c2 100644 --- a/meta-python/recipes-devtools/python/python3-marshmallow_3.21.1.bb +++ b/meta-python/recipes-devtools/python/python3-marshmallow_3.21.2.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "\ file://LICENSE;md5=27586b20700d7544c06933afe56f7df4 \ file://docs/license.rst;md5=13da439ad060419fb7cf364523017cfb" -SRC_URI[sha256sum] = "4e65e9e0d80fc9e609574b9983cf32579f305c718afb30d7233ab818571768c3" +SRC_URI[sha256sum] = "82408deadd8b33d56338d2182d455db632c6313aa2af61916672146bb32edc56" inherit python_flit_core pypi ptest diff --git a/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch b/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch deleted file mode 100644 index 10acd7b8c1..0000000000 --- a/meta-python/recipes-devtools/python/python3-moteus/0001-lib-python-remove-self-import-from-setup.py.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 7490ac4629c7fe0dc329647e6e000d4bc13c610d Mon Sep 17 00:00:00 2001 -From: Richard Leitner <dev@g0hl1n.net> -Date: Wed, 24 Jan 2024 00:49:45 +0100 -Subject: [PATCH] lib: python: remove self-import from setup.py - -Importing moteus itself within the setup.py creates some kind of a -chicken-and-egg problem. Furthermore it isn't used anywhere within -setup.py. Therefore remove the corresponding import. - -Signed-off-by: Richard Leitner <dev@g0hl1n.net> - -Upstream-Status: Backport [https://github.com/mjbots/moteus/commit/7490ac4629c7fe0dc329647e6e000d4bc13c610d] ---- - setup.py | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/setup.py b/setup.py -index 2731685..6c6064d 100644 ---- a/setup.py -+++ b/setup.py -@@ -17,8 +17,6 @@ - import setuptools - import pathlib - --import moteus -- - here = pathlib.Path(__file__).parent.resolve() - - # Get the long description from the README file --- -2.40.1 - diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.70.bb index 3c93ee44ff..7e77d8f7ae 100644 --- a/meta-python/recipes-devtools/python/python3-moteus_0.3.67.bb +++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.70.bb @@ -5,9 +5,7 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a inherit pypi setuptools3 -SRC_URI += "file://0001-lib-python-remove-self-import-from-setup.py.patch" - -SRC_URI[sha256sum] = "a2122f20f59b8962057cf8d3fb583e0aa19006eaf2cde49e30027a4d1b8bf925" +SRC_URI[sha256sum] = "39e6e2689511c601dff62e502ca6c6ab91100f34b2ebbf52fcee241bf8bfed31" S = "${WORKDIR}/moteus-${PV}" diff --git a/meta-python/recipes-devtools/python/python3-nocasedict_2.0.1.bb b/meta-python/recipes-devtools/python/python3-nocasedict_2.0.3.bb index 5a29858177..105c20b5a8 100644 --- a/meta-python/recipes-devtools/python/python3-nocasedict_2.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-nocasedict_2.0.3.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/pywbem/nocasedict" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" -SRC_URI[sha256sum] = "960cb699f1209da80ac39e3ab50aa7342fe8ca9f70606c23447a510550435e50" +SRC_URI[sha256sum] = "1c9226c7f5a8a97ad51dcb0ae3157a720e3f7cb9c4568d22ea3a05e3f85658a9" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-nocaselist_2.0.0.bb b/meta-python/recipes-devtools/python/python3-nocaselist_2.0.2.bb index 2ad42247d9..913b8ac5ed 100644 --- a/meta-python/recipes-devtools/python/python3-nocaselist_2.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-nocaselist_2.0.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://nocaselist.readthedocs.io/en/latest/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[sha256sum] = "456aa000c6777c5d21b029c52e532f94328d4fb4f15ad2a4dd3dd62db30b3892" +SRC_URI[sha256sum] = "32708b700a1a53133e6bb5cc53332c9775b0c7c959a5f9725793171fd2f4c8a5" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-pdm_2.15.1.bb b/meta-python/recipes-devtools/python/python3-pdm_2.15.3.bb index 270850061b..7551de866a 100644 --- a/meta-python/recipes-devtools/python/python3-pdm_2.15.1.bb +++ b/meta-python/recipes-devtools/python/python3-pdm_2.15.3.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" -SRC_URI[sha256sum] = "1c9cd049c1016633a23ef92ec1fc782da8ae0743142ef33faf7d48872f874b39" +SRC_URI[sha256sum] = "c227d81f6bf109626a5643a7bb531c5f5b777a850c4eac8d08b472c1146beee5" inherit pypi python_setuptools_build_meta diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.1.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.2.bb index 5f0aafc936..5821aedd4f 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.2.2.bb @@ -7,7 +7,7 @@ SRC_URI += " \ file://run-ptest \ " -SRC_URI[sha256sum] = "031cd18d4ec63ec53e82dceaac0417d218a6863f7745dfcc9efe7793b7039bdf" +SRC_URI[sha256sum] = "38b7b51f512eed9e84a22788b4bce1de17c0adb134d6becb09836e37d8654cd3" inherit pypi python_hatchling ptest diff --git a/meta-python/recipes-devtools/python/python3-pycurl_7.45.2.bb b/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb index a6863e21ff..774c1343c2 100644 --- a/meta-python/recipes-devtools/python/python3-pycurl_7.45.2.bb +++ b/meta-python/recipes-devtools/python/python3-pycurl_7.45.3.bb @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ " -SRC_URI[sha256sum] = "5730590be0271364a5bddd9e245c9cc0fb710c4cbacbdd95264a3122d23224ca" +SRC_URI[sha256sum] = "8c2471af9079ad798e1645ec0b0d3d4223db687379d17dd36a70637449f81d6b" DEPENDS = "curl" diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb index faa291ea6d..f510645222 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb @@ -35,17 +35,6 @@ RDEPENDS:${PN}-ptest += "\ python3-unittest-automake-output \ " -do_install:append() { - for f in ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/_pydantic_core.*.so - do - fname=`basename $f` - lname=`echo $fname | sed 's/musl/gnu/'` - if [ "$fname" != "$lname" ]; then - mv $f ${D}/${PYTHON_SITEPACKAGES_DIR}/pydantic_core/$lname - fi - done -} - do_install_ptest() { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.7.1.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb index 3c11144472..423fe76733 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.7.1.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.7.3.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" inherit pypi python_hatchling -SRC_URI[sha256sum] = "e9dbb5eada8abe4d9ae5f46b9939aead650cd2b68f249bb3a8139dbe125803cc" +SRC_URI[sha256sum] = "c46c76a40bb1296728d7a8b99aa73dd70a48c3510111ff290034f860c99c419e" DEPENDS += "python3-hatch-fancy-pypi-readme-native" diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb b/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb index 12f4f908af..0de1576af4 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.2.2.bb @@ -3,11 +3,11 @@ HOMEPAGE= "http://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.1.x;protocol=https \ +SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ file://0001-Adjust-test-expectations-for-ptest.patch \ file://run-ptest \ " -SRCREV = "053c2c3a25f97f043e10cdd41d2609e495a68f57" +SRCREV = "769ffd20bbf321a6cf23f5e7221a0b8221f51482" inherit python_setuptools_build_meta ptest diff --git a/meta-python/recipes-devtools/python/python3-pyperf_2.6.3.bb b/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb index 6b37e1864a..f3ebfe2d9b 100644 --- a/meta-python/recipes-devtools/python/python3-pyperf_2.6.3.bb +++ b/meta-python/recipes-devtools/python/python3-pyperf_2.7.0.bb @@ -13,7 +13,7 @@ Features: \ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" -SRC_URI[sha256sum] = "9752fe749c21e460a564bb3f52fc319b892c62ee61c5138b4a9bbf94ad2755e6" +SRC_URI[sha256sum] = "4201c6601032f374e9c900c6d2544a2f5891abedc1a96eec0e7b2338a6247589" DEPENDS += "python3-six-native" diff --git a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb index 2807c054d9..297eecad0e 100644 --- a/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyruvate_1.2.1.bb @@ -9,16 +9,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" SRC_URI += "\ git://gitlab.com/tschorr/pyruvate.git;protocol=https;branch=main \ - file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=../cargo_home/bitbake/nix-0.23.2/ \ - file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ - file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=../cargo_home/bitbake/libc-0.2.138/ \ + file://0001-linux.rs-Define-consts-for-rv32-architecture.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/nix-0.23.2/ \ + file://0001-musl-Define-SOCK_NONBLOCK-with-O_NONBLOCK.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-riscv32-Define-F_SETLK-F_SETLKW-and-fix-F_GETLK.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-Move-F_OFD_GETLK-F_OFD_SETLK-and-F_OFD_SETLKW-t.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-Define-O_LARGEFILE-for-riscv32.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ + file://0001-musl-Define-SOCK_SEQPACKET-in-common-place.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.138/ \ " SRCREV = "57db64c9f65ced05c71b8d786c1cedfaa2991597" -SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=../cargo_home/bitbake/libsystemd-0.5.0/" +SRC_URI:append:mips = " file://0001-check-for-mips-targets-for-stat.st_dev-definitions.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libsystemd-0.5.0/" S = "${WORKDIR}/git" diff --git a/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb new file mode 100644 index 0000000000..6ff69a3964 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.8.bb @@ -0,0 +1,15 @@ +SUMMARY = "Pytest plugin providing a fixture interface for spulec/freezegun" +HOMEPAGE = "https://github.com/pytest-dev/pytest-freezer" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1661a0f2b9b83ed73b8e05b5683b10d0" + +SRC_URI[sha256sum] = "8ee2f724b3ff3540523fa355958a22e6f4c1c819928b78a7a183ae4248ce6ee6" + +inherit pypi python_flit_core + +RDEPENDS:${PN} = "\ + python3-freezegun (>=1.0) \ + python3-pytest (>=3.6) \ +" + +PYPI_PACKAGE = "pytest_freezer" diff --git a/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb b/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb index 37478ee0ae..154ec255cb 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-html_4.1.1.bb @@ -15,7 +15,9 @@ DEPENDS += "\ " RDEPENDS:${PN} += " \ + python3-jinja2 \ python3-pytest \ + python3-pytest-metadata \ " BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb new file mode 100644 index 0000000000..86b03724a0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Pytest Plugin to disable socket calls during tests" +HOMEPAGE = "https://github.com/miketheman/pytest-socket" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1752f63a3a8a02fed42e580e9b94a081" + +SRC_URI[sha256sum] = "71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3" + +inherit pypi python_poetry_core + +RDEPENDS:${PN} = "python3-pytest" + +BBCLASSEXTEND = "native nativesdk" + +PYPI_PACKAGE = "pytest_socket" diff --git a/meta-python/recipes-devtools/python/python3-pytest-unordered_0.6.0.bb b/meta-python/recipes-devtools/python/python3-pytest-unordered_0.6.0.bb new file mode 100644 index 0000000000..bf1420cf93 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pytest-unordered_0.6.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "Test equality of unordered collections in pytest" +HOMEPAGE = "https://github.com/utapyngo/pytest-unordered" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fcd3af2d38a4d4dfd5138c6f163dbe2e" + +SRC_URI[sha256sum] = "f61b4f6e06a60a92db50968954efac93e2f584290a49f53ad135e3f32f57e02a" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-pytest" + +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb b/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb index ed5175fcf7..0911b63ed9 100644 --- a/meta-python/recipes-devtools/python/python3-pyudev_0.24.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyudev_0.24.3.bb @@ -3,7 +3,7 @@ SUMMARY = "A libudev binding" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" -SRC_URI[sha256sum] = "75e54d37218f5ac45b0da1f0fd9cc5e526a3cac3ef1cfad410cf7ab338b01471" +SRC_URI[sha256sum] = "2e945427a21674893bb97632401db62139d91cea1ee96137cc7b07ad22198fc7" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-pyzstd_0.15.10.bb b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.0.bb index c094a8d6f0..77459c1c57 100644 --- a/meta-python/recipes-devtools/python/python3-pyzstd_0.15.10.bb +++ b/meta-python/recipes-devtools/python/python3-pyzstd_0.16.0.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aedb5a2679cd1552fb61c181ef974b9e" PYPI_PACKAGE = "pyzstd" -SRC_URI[sha256sum] = "83603a97fdbcf2139f475c940789f09e32703f931f29f4a8ddf3551e6700108b" +SRC_URI[sha256sum] = "fd43a0ae38ae15223fb1057729001829c3336e90f4acf04cf12ebdec33346658" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb index 22868d8df0..d7a56b0519 100644 --- a/meta-python/recipes-devtools/python/python3-rapidjson_1.14.bb +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.17.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/python-rapidjson/python-rapidjson" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4daf3929156304df67003c33274a98bd" -SRC_URI[sha256sum] = "26806f0a658c34b48d2951d8d3f846ca9deb93a34e664ef436db632a188b6779" +SRC_URI[sha256sum] = "95a111da29d996af8549f8b32ec701dab3af2ab7c6cd9c79540391ecb05f20c8" # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe inherit setuptools3 pypi ptest diff --git a/meta-python/recipes-devtools/python/python3-regex_2024.4.28.bb b/meta-python/recipes-devtools/python/python3-regex_2024.5.15.bb index 62c850dcdb..9d356553b9 100644 --- a/meta-python/recipes-devtools/python/python3-regex_2024.4.28.bb +++ b/meta-python/recipes-devtools/python/python3-regex_2024.5.15.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069" inherit pypi setuptools3 -SRC_URI[sha256sum] = "83ab366777ea45d58f72593adf35d36ca911ea8bd838483c1823b883a121b0e4" +SRC_URI[sha256sum] = "d3ee02d9e5f482cc8309134a91eeaacbdd2261ba111b0fef3748eeb4913e6a2c" RDEPENDS:${PN} += " \ python3-stringold \ diff --git a/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb b/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb new file mode 100644 index 0000000000..248526b00b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb @@ -0,0 +1,9 @@ +SUMMARY = "Mocked responses for the requests library" +HOMEPAGE = "https://github.com/jamielennox/requests-mock" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b2eea41aec0f2973a45e1e45f28aa32" + +DEPENDS = "python3-setuptools-scm-native" +SRC_URI[sha256sum] = "e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401" + +inherit pypi python_setuptools_build_meta diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.29.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.30.bb index e646bd0d9c..1a42aa1b45 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.29.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.30.bb @@ -4,7 +4,7 @@ HOMEPAGE = "http://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" -SRC_URI[sha256sum] = "bd9566b8e58cabd700bc367b60e90d9349cd16f0984973f98a9a09f9c64e86f0" +SRC_URI[sha256sum] = "2b1708916730f4830bc69d6f49d37f7698b5bd7530aca7f04f785f8849e95255" PYPI_PACKAGE = "SQLAlchemy" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb index e119a0f11a..a952722619 100644 --- a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" SRC_URI += " file://LICENSE " LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" +LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e766996d" @@ -14,4 +14,4 @@ RDEPENDS:${PN} += "\ python3-setuptools \ " -BBCLASSEXTEND = "native nativesdk"
\ No newline at end of file +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb index 06b08e78a3..e104e1c0ce 100644 --- a/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb +++ b/meta-python/recipes-devtools/python/python3-supervisor_4.2.5.bb @@ -28,6 +28,6 @@ do_install:append() { install -d ${D}${sysconfdir}/supervisor install -d ${D}${systemd_system_unitdir} - install -m 0644 ${WORKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor - install -m 0644 ${WORKDIR}/supervisor.service ${D}${systemd_system_unitdir} + install -m 0644 ${UNPACKDIR}/supervisord.conf ${D}${sysconfdir}/supervisor + install -m 0644 ${UNPACKDIR}/supervisor.service ${D}${systemd_system_unitdir} } diff --git a/meta-python/recipes-devtools/python/python3-tqdm_4.66.2.bb b/meta-python/recipes-devtools/python/python3-tqdm_4.66.4.bb index 77d26f54b2..485d24f523 100644 --- a/meta-python/recipes-devtools/python/python3-tqdm_4.66.2.bb +++ b/meta-python/recipes-devtools/python/python3-tqdm_4.66.4.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT & MPL-2.0" LIC_FILES_CHKSUM = "file://LICENCE;md5=42dfa9e8c616dbc295df3f58d756b2a1" -SRC_URI[sha256sum] = "6cd52cdf0fef0e0f543299cfc96fec90d7b8a7e88745f411ec33eb44d5ed3531" +SRC_URI[sha256sum] = "e4d936c9de8727928f3be6079590e97d9abfe8d39a590be678eb5919ffc186bb" inherit pypi python_setuptools_build_meta diff --git a/meta-python/recipes-devtools/python/python3-transitions_0.9.0.bb b/meta-python/recipes-devtools/python/python3-transitions_0.9.1.bb index 980351bf14..5f1e3d9e26 100644 --- a/meta-python/recipes-devtools/python/python3-transitions_0.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-transitions_0.9.1.bb @@ -4,6 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=de0a0876a688a4483bfafa764773ab39" inherit pypi setuptools3 -SRC_URI[sha256sum] = "2f54d11bdb225779d7e729011e93a9fb717668ce3dc65f8d4f5a5d7ba2f48e10" +SRC_URI[sha256sum] = "3542c37108e93e2ae5f215208ec5732c94a772937854a102cd7345b967fee61b" RDEPENDS:${PN} += "python3-six python3-logging" diff --git a/meta-python/recipes-devtools/python/python3-twine_5.0.0.bb b/meta-python/recipes-devtools/python/python3-twine_5.1.0.bb index cb45074811..6a79d45d43 100644 --- a/meta-python/recipes-devtools/python/python3-twine_5.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-twine_5.1.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://twine.readthedocs.io/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c" -SRC_URI[sha256sum] = "89b0cc7d370a4b66421cc6102f269aa910fe0f1861c124f573cf2ddedbc10cf4" +SRC_URI[sha256sum] = "4d74770c88c4fcaf8134d2a6a9d863e40f08255ff7d8e2acb3cbbd57d25f6e9d" inherit pypi python_setuptools_build_meta diff --git a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb index ba5bb04db0..336c173893 100644 --- a/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-twisted_24.3.0.bb @@ -15,7 +15,7 @@ do_install:append() { find ${D} \( -name "*.bat" -o -name "*.c" -o -name "*.h" \) -exec rm -f {} \; } -PACKAGES += "\ +PACKAGES =+ "\ ${PN}-zsh \ ${PN}-test \ ${PN}-protocols \ diff --git a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240423.bb b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb index 876f93a0f7..d0684ba933 100644 --- a/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240423.bb +++ b/meta-python/recipes-devtools/python/python3-types-psutil_5.9.5.20240516.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1 inherit pypi setuptools3 -SRC_URI[sha256sum] = "1b976cf86308316c5ac22cec688015b04273c84f8e691c3dfb0c12318f32a6f3" +SRC_URI[sha256sum] = "bb296f59fc56458891d0feb1994717e548a1bcf89936a2877df8792b822b4696" BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-types-setuptools_69.0.0.20240125.bb b/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb index 7e15dcb13a..781d3b5bbc 100644 --- a/meta-python/recipes-devtools/python/python3-types-setuptools_69.0.0.20240125.bb +++ b/meta-python/recipes-devtools/python/python3-types-setuptools_70.0.0.20240524.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=ef4dc1e740f5c928f1 inherit pypi setuptools3 -SRC_URI[sha256sum] = "22ad498cb585b22ce8c97ada1fccdf294a2e0dd7dc984a28535a84ea82f45b3f" +SRC_URI[sha256sum] = "e31fee7b9d15ef53980526579ac6089b3ae51a005a281acf97178e90ac71aff6" BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb index b5f6be9f27..c64c800626 100644 --- a/meta-python/recipes-devtools/python/python3-ujson_5.9.0.bb +++ b/meta-python/recipes-devtools/python/python3-ujson_5.10.0.bb @@ -4,7 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e0039a83d8a99726b5418f0b03302d0a" -SRC_URI[sha256sum] = "89cc92e73d5501b8a7f48575eeb14ad27156ad092c2e9fc7e3cf949f07e75532" +SRC_URI[sha256sum] = "b3cd8f3c5d8c7738257f1018880444f7b7d9b66232c64649f562d7ba86ad4bc1" inherit pypi ptest setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-uswid_0.4.7.bb b/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb index 4499edb216..1381d7e880 100644 --- a/meta-python/recipes-devtools/python/python3-uswid_0.4.7.bb +++ b/meta-python/recipes-devtools/python/python3-uswid_0.5.0.bb @@ -1,10 +1,10 @@ SUMMARY = "A pure-python library for embedding CoSWID data" HOMEPAGE = "https://github.com/hughsie/python-uswid" SECTION = "devel/python" -LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://LICENSE;md5=40d2542b8c43a3ec2b7f5da31a697b88" +LICENSE = "BSD-2-Clause-Patent" +LIC_FILES_CHKSUM = "file://LICENSE;md5=f3636dfe71e94cc72918423cec0d1971" -SRC_URI[sha256sum] = "de15c2421bedaa5f54606558700c1f628f07d73da49ec69d1888214ac52c49e6" +SRC_URI[sha256sum] = "bdcd7ee5afac1da60ee688c357aa12f5f8d74bc28012446b10e2b4a9cf52fc6d" inherit setuptools3 python3native pypi diff --git a/meta-python/recipes-devtools/python/python3-validators_0.28.1.bb b/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb index 7666ae7d46..a132d74ebd 100644 --- a/meta-python/recipes-devtools/python/python3-validators_0.28.1.bb +++ b/meta-python/recipes-devtools/python/python3-validators_0.28.3.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://python-validators.github.io/validators" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3fb4b9e6db86c69a33d5e3ee013ab59" -SRC_URI[sha256sum] = "5ac88e7916c3405f0ce38ac2ac82a477fcf4d90dbbeddd04c8193171fc17f7dc" +SRC_URI[sha256sum] = "c6c79840bcde9ba77b19f6218f7738188115e27830cbaff43264bc4ed24c429d" inherit pypi python_setuptools_build_meta ptest diff --git a/meta-python/recipes-devtools/python/python3-virtualenv_20.26.0.bb b/meta-python/recipes-devtools/python/python3-virtualenv_20.26.2.bb index 55f7f46112..c7c7d48980 100644 --- a/meta-python/recipes-devtools/python/python3-virtualenv_20.26.0.bb +++ b/meta-python/recipes-devtools/python/python3-virtualenv_20.26.2.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/virtualenv" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" -SRC_URI[sha256sum] = "ec25a9671a5102c8d2657f62792a27b48f016664c6873f6beed3800008577210" +SRC_URI[sha256sum] = "82bf0f4eebbb78d36ddaee0283d43fe5736b53880b8a8cdcd37390a07ac3741c" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb b/meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb index 9e36264d62..4d0a626c47 100644 --- a/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-watchdog_4.0.1.bb @@ -4,7 +4,7 @@ DEPENDS = "python3-argh" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "e3e7065cbdabe6183ab82199d7a4f6b3ba0a438c5a512a68559846ccb76a78ec" +SRC_URI[sha256sum] = "eebaacf674fa25511e8867028d281e602ee6500045b57f43b08778082f7f8b44" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-web3_6.17.2.bb b/meta-python/recipes-devtools/python/python3-web3_6.19.0.bb index e695bc27a0..7f06ca5006 100644 --- a/meta-python/recipes-devtools/python/python3-web3_6.17.2.bb +++ b/meta-python/recipes-devtools/python/python3-web3_6.19.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=373fede350846fdffd23648fba504635" -SRC_URI[sha256sum] = "8ed8b7184eba5b00d0849efb95c8ec6f3220aa8886e740182bb1e4f1247cca3e" +SRC_URI[sha256sum] = "d27fbd4ac5aa70d0e0c516bd3e3b802fbe74bc159b407c34052d9301b400f757" inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb b/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb index f8d2769b41..448abe1897 100644 --- a/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-werkzeug_3.0.1.bb @@ -20,4 +20,5 @@ RDEPENDS:${PN} += " \ python3-profile \ python3-compression \ python3-json \ + python3-difflib \ " diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.132.0.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb index ea8ef1cb92..421bd3b6c8 100644 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.132.0.bb +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.132.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=6517bdc8f2416f27ab725d4702f7aac3" -SRC_URI[sha256sum] = "e2dddb9b8e6a9de3c43f943d8547300e6bd49b2043fd719ae830cfe0f2908a5c" +SRC_URI[sha256sum] = "9ad8bc6e3f168fe8c164634c762d3265c775643defff10e26273623a12d73ae1" DEPENDS += "python3-cython-native" |