diff options
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python')
479 files changed, 5335 insertions, 1885 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python-six.inc b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python-six.inc new file mode 100644 index 0000000000..f7a62b6068 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python-six.inc @@ -0,0 +1,11 @@ +SUMMARY = "Python 2 and 3 compatibility library" +HOMEPAGE = "https://pypi.org/project/six/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e50fab7e9501f3dfc920eafeb24b46ea" + +inherit pypi + +RDEPENDS:${PN} = "python3-io" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb index 5bdb83175d..96bd8d37fc 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-absl_2.1.0.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI[sha256sum] = "7820790efbb316739cde8b4e19357243fc3608a152024288513dd968d7d959ff" PYPI_PACKAGE = "absl-py" +PYPI_PACKAGE_SDIST = "absl-py" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp-jinja2_1.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp-jinja2_1.6.bb index df4a0adcaf..b91ba60409 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp-jinja2_1.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp-jinja2_1.6.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "a3a7ff5264e5bca52e8ae547bbfd0761b72495230d438d05b6c0915be6 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "aiohttp-jinja2" + RDEPENDS:${PN} += " \ python3-jinja2 \ python3-aiohttp \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.14.5.bb index b862076869..8bcf22b9ee 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.14.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohttp_3.14.5.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/aio-libs/aiohttp" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b5e9e27554f71f0f132919037cb967b2" -SRC_URI[sha256sum] = "9491196535a88924a60afd5b5f434b5b203b6cc616250878dbdb223a8f7844bc" +SRC_URI[sha256sum] = "5558a7f5a05af9ecf744af91e5baefc436f93c9333e656c27ec253f9a6bbe178" CVE_PRODUCT = "aiohttp:aiohttp" CVE_STATUS_GROUPS = "CVE_AIOHTTP_FIX_3_13_4" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohue_4.9.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohue_4.9.1.bb index 19612797a5..ac4892e120 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohue_4.9.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-aiohue_4.9.1.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f" -SRC_URI[sha256sum] = "c1c5edf114266f6b5878ffccf82db8b326141cc3d8c3697f5fc3aa87a4d3747e" +SRC_URI[sha256sum] = "c56c22e046e3055e9e71b45db82692c1b8676ab561d4f8f82b8df0771fa744d5" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.19.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.20.1.bb index ae0ee99743..2359734e5c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.19.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-alembic_1.20.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ff111c41e8748bbfa45e8ba92347b681" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "e0fca0518118c78acc493e31bcb5402f190057aaf6df8b5b95ce94c4789cf648" +SRC_URI[sha256sum] = "83490def1f723413db5096591f7609ac52544805be93849170088ed04f5a2e0b" RDEPENDS:${PN} += "\ python3-dateutil \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-doc_0.0.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-doc_0.0.5.bb index 1f9164323f..da5fe0944a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-doc_0.0.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-doc_0.0.5.bb @@ -7,6 +7,4 @@ SRC_URI[sha256sum] = "c7e58ce09192557605d8bbd92836d7e1d520ac9580096042c0bfd197ef inherit pypi python_pdm -PYPI_PACKAGE = "annotated_doc" - RDEPENDS:${PN} += "python3-compression" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.8.0.bb index 28941262b1..cf71e67632 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-annotated-types_0.8.0.bb @@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c6afb13fdc220497ee5cded1e717ed67" SRC_URI[sha256sum] = "13b2beaad985e05e2d6407ee4c4f35590b11f8d693a258a561055cac8f64cab7" S = "${UNPACKDIR}/annotated_types-${PV}" -PYPI_PACKAGE = "annotated_types" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.9.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.9.5.bb index 25d95905e9..554564ca2f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.9.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ansi2html_1.9.5.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3000208d539ec061b899bce1d9ce9404" LICENSE = "LGPL-3.0-or-later" -SRC_URI[sha256sum] = "190b3fc65f0545fec6442527f8f55131949410fe97c15ac42a441f1e96726f57" +SRC_URI[sha256sum] = "ae17e92f1d6cac0e67d367e07fb0ba8a23dac8f193fc5d7a8c8a50fe5ddd95a4" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.13.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.13.1.bb index 431d37c7d7..068be92ddd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.13.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-antlr4-runtime_4.13.1.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=4b18e4a9f93178eaa50a9a37f26da7f7" SRC_URI[sha256sum] = "3cd282f5ea7cfb841537fe01f143350fdb1c0b1ce7981443a2fa8513fddb6d1a" PYPI_PACKAGE = "antlr4-python3-runtime" +PYPI_PACKAGE_SDIST = "antlr4-python3-runtime" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.14.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.16.0.bb index f817610a1c..4d09c1ca78 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.14.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-anyio_4.16.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c0a769411d2af7894099e8ff75058c9f" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "cfa139f3ed1a23ee8f88a145ddb5ac7605b8bbfd8592baacd7ce3d8bb4313c7f" +SRC_URI[sha256sum] = "59bb03251907983d1603d27c3087ddb1e93299ea2163adcdba37899a4fb12ffb" DEPENDS += " \ python3-setuptools-scm-native \ @@ -24,4 +24,5 @@ RDEPENDS:${PN} += "\ python3-numbers \ python3-io \ python3-asyncio \ + python3-typing-extensions \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_3.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_3.1.2.bb index 45bed8a746..e480172d1a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_3.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apiflask_3.1.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5f89d1b0dec37448d4f4163dc3c40e64" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "f3b367d4174d8ad1df9ac3a48a63002276e9f82f7debda91314cca7a20924ada" +SRC_URI[sha256sum] = "9e19b554631a518a637c8a77887be37f37d46aeeee3d4a863bc4f6f0128bde23" RDEPENDS:${PN} += "\ python3-apispec \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.10.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.10.1.bb index 52ebc43c6e..be4b658dbc 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.10.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apispec_6.10.1.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a75956865b40c80a37c1e864716592b4" inherit pypi python_flit_core -SRC_URI[sha256sum] = "0a888555cd4aa5fb7176041be15684154fd8961055e1672e703abf737e8761bf" +SRC_URI[sha256sum] = "46896cb0cab23b4e853e528528937719739f836358832bb8610edd14db1d9c01" RDEPENDS:${PN} += "python3-packaging" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb index 6bf61cfcd3..d17ee3153e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-apply-defaults_0.1.6.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://github.com/bcb/apply_defaults" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=c89120516900f96f4c60d35fdc4c3f15" -PYPI_PACKAGE = "apply_defaults" - SRC_URI[sha256sum] = "3773de3491b94c0fe44310f1a85888389cdc71e1544b343bce0d2bd6991acea5" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.3.bb index 906fbfdc0b..d2240f95fb 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arpeggio_2.0.3.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=33b8d1ba459a2fa4d801acfd1d1b7ceb" SRC_URI[sha256sum] = "9e85ad35cfc6c938676817c7ae9a1000a7c72a34c71db0c687136c460d12b85e" -PYPI_PACKAGE = "Arpeggio" +PYPI_PACKAGE_SDIST = "Arpeggio" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb index a967f9e429..ea3c976170 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-arrow_1.4.0.bb @@ -25,4 +25,5 @@ RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN} += " \ python3-dateutil \ python3-tzdata \ + python3-zoneinfo \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb deleted file mode 100644 index a3185a9c66..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asciitree_0.3.3.bb +++ /dev/null @@ -1,8 +0,0 @@ -SUMMARY = "Draws ASCII trees." -HOMEPAGE = "https://github.com/mbr/asciitree" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=a985ccb0df374f2a8cab75010bf8db73" - -SRC_URI[sha256sum] = "4aa4b9b649f85e3fcb343363d97564aa1fb62e249677f2e18a96765145cc0f6e" - -inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asciitree_1.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asciitree_1.0.0.bb new file mode 100644 index 0000000000..086fc07392 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asciitree_1.0.0.bb @@ -0,0 +1,9 @@ +SUMMARY = "ASCII trees" +DESCRIPTION = "Draws ASCII trees" +HOMEPAGE = "https://github.com/mbr/asciitree" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a533ab417405f77f9a3d236d35cd7069" + +SRC_URI[sha256sum] = "0c396808c13cab27b60cbe402b99ef37fa681c6b59d337a008719efa201cdd07" + +inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.12.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.13.0.bb index 01c5568dd4..bbc2a1739d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.12.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asgiref_3.13.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" -SRC_URI[sha256sum] = "59dcb51c272ad209d59bed5708a64a333083e86017d7fcdd67498eeab7784340" +SRC_URI[sha256sum] = "034cc8cbf72d00553b4be256703ac545120b4e50af13b49dec99da899aeeecb4" export BUILD_SYS export HOST_SYS diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_4.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_4.3.4.bb index f0a74e79b1..fd4c3e40e4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_4.3.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-astroid_4.3.4.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" -SRC_URI[sha256sum] = "bb359253d8ced6635a3881c17ebcbbc0e0b65ca23b555a9bd03c92a3cbf4caa7" +SRC_URI[sha256sum] = "d515a105722b72098bbe82d430d65e635f742b6cbac3bdfaf8b7c188b87c5e39" inherit pypi python_setuptools_build_meta @@ -18,7 +18,6 @@ FILES:${PN}-tests += " \ RDEPENDS:${PN}:append:class-target = " \ python3-lazy-object-proxy \ python3-logging \ - python3-six \ python3-wrapt \ python3-setuptools \ python3-typing-extensions \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asttokens_3.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asttokens_3.0.2.bb index 1c753d6bd3..4bb165b5fe 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asttokens_3.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asttokens_3.0.2.bb @@ -12,8 +12,4 @@ SRC_URI[sha256sum] = "3ecdbd8f2cc195f53ccada3a613538bb5f9ef6f6869129f13e03c30a67 DEPENDS += "python3-setuptools-scm-native" -RDEPENDS:${PN} += " \ - python3-six \ -" - BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_4.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_4.0.3.bb index 2c05f25956..33a8bc7896 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_4.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-async-timeout_4.0.3.bb @@ -12,6 +12,8 @@ SRC_URI[sha256sum] = "4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c4 inherit pypi python_setuptools_build_meta +PYPI_PACKAGE_SDIST = "async-timeout" + DEPENDS += "python3-wheel-native" RDEPENDS:${PN} = "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb index d73e83de54..db0c556744 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-glib_0.1.bb @@ -4,6 +4,8 @@ LIC_FILES_CHKSUM = "file://COPYING.LGPL;md5=4fbd65380cdd255951079008b364516c" inherit setuptools3 pypi features_check +PYPI_PACKAGE_SDIST = "asyncio-glib" + REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" SRC_URI[sha256sum] = "fe3ceb2ba5f541330c07ca1bd7ae792468d625bad1acf5354a3a7a0b9fd87521" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-throttle_1.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-throttle_1.0.2.bb index 040e70940b..dcda99c0be 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-throttle_1.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncio-throttle_1.0.2.bb @@ -8,4 +8,6 @@ SRC_URI[sha256sum] = "2675282e99d9129ecc446f917e174bc205c65e36c602aa18603b494856 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "asyncio-throttle" + RDEPENDS:${PN} += "python3-asyncio" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.3.bb new file mode 100644 index 0000000000..8872cf67a8 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-asyncvarlink_0.3.3.bb @@ -0,0 +1,23 @@ +SUMMARY = "asyncio-compatible, type-driven Varlink implementation" +DESCRIPTION = "An asyncio Varlink binding supporting file-descriptor passing, \ +with interfaces derived from annotated Python classes." +HOMEPAGE = "https://github.com/helmutg/asyncvarlink" +SECTION = "devel/python" + +LICENSE = "LGPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9ec28527f3d544b51ceb0e1907d0bf3f" + +SRC_URI[sha256sum] = "0270e352d5c8d5348b90f547a4215bfb37a6b829b84341822f80273e830dadd4" + +inherit pypi python_flit_core ptest-python-pytest + +RDEPENDS:${PN} = "\ + python3-asyncio \ + python3-core \ + python3-io \ + python3-json \ + python3-logging \ +" + +# tests/test_conversion.py:ConversionTests.test_invalid fails with less than ~2GB of RAM +RDEPENDS:${PN}-ptest += "python3-hypothesis python3-netclient python3-unittest" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn/0001-Skip-march-guessing-for-external-cross-toolchains.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn/0001-Skip-march-guessing-for-external-cross-toolchains.patch index 8f2e8f0d01..a5e1b0928b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn/0001-Skip-march-guessing-for-external-cross-toolchains.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn/0001-Skip-march-guessing-for-external-cross-toolchains.patch @@ -1,4 +1,4 @@ -From c677aa7a80fd551abb391a8f6abd28dc9f5c43a2 Mon Sep 17 00:00:00 2001 +From 77c79aa0e048e4bea40eb794a623c36ff1ec3fbc Mon Sep 17 00:00:00 2001 From: Leon Anavi <leon.anavi@konsulko.com> Date: Mon, 20 Jul 2026 15:52:32 +0300 Subject: [PATCH] Skip -march guessing for external cross toolchains @@ -16,7 +16,7 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/src/autobahn/nvx/_compile_args.py b/src/autobahn/nvx/_compile_args.py -index 2a35ab31..173e5fd4 100644 +index 2a35ab3..173e5fd 100644 --- a/src/autobahn/nvx/_compile_args.py +++ b/src/autobahn/nvx/_compile_args.py @@ -81,6 +81,10 @@ CIBUILDWHEEL : str, optional @@ -83,6 +83,3 @@ index 2a35ab31..173e5fd4 100644 def _get_target_machine(): """ Return the *target* machine architecture for the build. --- -2.43.0 - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn_26.7.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn_26.11.1.bb index 2274abcff2..681f46e5b2 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn_26.7.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-autobahn_26.11.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=49165a577911c4178e915dc26e2802a3" SRC_URI += "file://0001-Skip-march-guessing-for-external-cross-toolchains.patch" -SRC_URI[sha256sum] = "c6949a2c6eb95fb1c218837dbda0a59abbbebafb8b11098551c01a7061dfd245" +SRC_URI[sha256sum] = "1a081ca27ad5a0a04d3c7ca07b2caa6d324b8004383e36ae6eede1d5053e23b0" CVE_PRODUCT = "autobahn" @@ -25,5 +25,4 @@ RDEPENDS:${PN} += " \ python3-snappy \ python3-pyopenssl \ python3-txaio \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.3.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.4.0.bb index 9be8f25b44..c514fe7792 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.3.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-behave_1.4.0.bb @@ -4,8 +4,8 @@ LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=1fca0a9c7e4e4148d675b4dafd5c1e80" PV .= "+git${SRCREV}" -SRCREV = "7673da8324be5588642b23511ca4d7a134a0b0c1" -SRC_URI += "git://github.com/behave/behave;branch=release/v1.3.x;protocol=https" +SRCREV = "aca602b4410163fe4be045ce86c9d76ec34a717a" +SRC_URI += "git://github.com/behave/behave;branch=main;protocol=https" inherit python_setuptools_build_meta @@ -13,8 +13,9 @@ inherit python_setuptools_build_meta DEPENDS += "python3-wheel-native" RDEPENDS:${PN} += " \ + python3-cucumber-expressions \ + python3-cucumber-tag-expressions \ + python3-parse \ python3-parse-type \ python3-setuptools \ - python3-six \ - python3-cucumber-tag-expressions \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-betamax/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-betamax/run-ptest index 531af4d015..0acad79f97 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-betamax/run-ptest +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-betamax/run-ptest @@ -8,4 +8,7 @@ if ! nslookup httpbin.org >/dev/null 2>&1 ; then echo "nameserver 8.8.8.8" > /etc/resolv.conf fi -pytest --automake +# tests/integration/test_hooks.py records live https://httpbin.org requests +# (no cassettes are shipped for it) and fails whenever the service resets +# the connection, so leave it out. +pytest --automake --ignore=tests/integration/test_hooks.py diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.10.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.12.3.bb index f6516b1833..dff01f0aa9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.10.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitarray_3.12.3.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/ilanschnell/bitarray" LICENSE = "PSF-2.0" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=6abe80c028e4ee53045a33ae807c64fd" -SRC_URI[sha256sum] = "c33e48906407ab3d0edb96cc5ab2a599bda5dd04704ebcd9b3e0eedce7310e0a" +SRC_URI[sha256sum] = "919e35a951c0a551631b94bf568f3f5e38d004e0c60866cb2ca51bd8c4778fec" inherit python_setuptools_build_meta pypi diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.23.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.24.0.bb index 72b1a672f9..d6896163bb 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.23.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bitstruct_8.24.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/bitstruct" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" -SRC_URI[sha256sum] = "3d20a8d748add9b1c68efc6c592a99b4b0937c9dcddd140fdae352bf2513aea5" +SRC_URI[sha256sum] = "c72d8bd3b1762a5bcc9fde16bfa4d52800a4bc8d79f81bc7ee0e0bca5b5e901e" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-black_26.5.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-black_26.10.1.bb index 22f6deaac9..631429d67d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-black_26.5.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-black_26.10.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d3465a2a183908c9cb95bf490bd1e7ab \ file://docs/license.md;md5=d826b3c5269f21a8a0272af3f00d15c0 \ file://src/blib2to3/LICENSE;md5=bbbad7490e921f9a73c0e891305cb4b3" -SRC_URI[sha256sum] = "dd321f668053961824bcc1be1cc1df748b2d7e4fa28086b08331e577b0100a73" +SRC_URI[sha256sum] = "5f9f83beae62437e060dafd53d7f1fc327e3d3494f74d72ee5c2b73eb90fc4e7" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.2.1.bb index 8e493fd0a0..2c1bf23f64 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-brotli_1.2.1.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=941ee9cd1609382f946352712a319b4b" CVE_PRODUCT = "brotli" -SRC_URI[sha256sum] = "e310f77e41941c13340a95976fe66a8a95b01e783d430eeaf7a2f87e0a57dd0a" +SRC_URI[sha256sum] = "02b2f7b5a83485efe448a44ddf7983def05c3bb1dcf917d4f7154070260e13de" inherit pypi pkgconfig python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bumble_0.0.233.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bumble_0.0.236.bb index 32a1a15986..fb3af67025 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bumble_0.0.233.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-bumble_0.0.236.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/google/bumble" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=7a775f1b11285b6abedd76748d176125" -SRC_URI[sha256sum] = "0883e2dc744f0b8228f5095f54bdf8df7f74e47d92bc5fd97ebfc2ee48630f54" +SRC_URI[sha256sum] = "cea9fbd8b8a9ff78567bc4a97b35d54c72fcf10109476a24518d01394fbbd982" inherit pypi python_setuptools_build_meta ptest-python-pytest @@ -37,3 +37,9 @@ RDEPENDS:${PN}-ptest += "\ # runtime dependencies to the bitbake packages which include them: # libusb-package # pyee + +do_install_ptest:append() { + ln -sf ${PYTHON_SITEPACKAGES_DIR}/bumble/apps ${D}${PTEST_PATH}/apps + ln -sf ${PYTHON_SITEPACKAGES_DIR}/bumble/tools ${D}${PTEST_PATH}/tools + printf '[pytest]\nasyncio_mode = auto\npythonpath = .\n' > ${D}${PTEST_PATH}/pytest.ini +} diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb index e1ead95cf1..6a632a704f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cached-property_2.0.1.bb @@ -5,8 +5,6 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=db7ff60c4e14f58534201242803d8abc" -PYPI_PACKAGE = "cached_property" - SRC_URI[sha256sum] = "484d617105e3ee0e4f1f58725e72a8ef9e93deee462222dbd51cd91230897641" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_7.1.7.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_7.2.8.bb index e55fa6d0e9..f5136743b9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_7.1.7.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cachetools_7.2.8.bb @@ -18,6 +18,6 @@ RDEPENDS:${PN} += " \ python3-math \ " -SRC_URI[sha256sum] = "a3e2a00b14d8f8a6b70c1dae7b4685e7ad3bc965c5b42124a2d6ce895da6cf50" +SRC_URI[sha256sum] = "3f9b146b2160975da273e7c23ec882f3996b65df608150d52083c07de0682075" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.6.1.bb index 4f7a8e9b0a..a45b3968c0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-can_4.6.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" SRC_URI[sha256sum] = "290fea135d04b8504ebff33889cc6d301e2181a54099116609f940825ffe5005" -PYPI_PACKAGE = "python_can" +PYPI_PACKAGE = "python-can" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canmatrix_1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canmatrix_1.3.3.bb index a02674dd21..6e1bc7a5e0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canmatrix_1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canmatrix_1.3.3.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/ebroecker/canmatrix" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=bb3bdbe015537f08812c87d93670ea1b" -SRC_URI[sha256sum] = "19d5ba3fd69974bd41985b90198503bfde6ae3639dfc8ce6a2f7a0338787dbf7" +SRC_URI[sha256sum] = "9af8f0a655277402c1fe2a5e2a8e8d5021e5c19e86f647f47b0c2aa209597ebb" -inherit setuptools3 pypi +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-attrs \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_41.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_45.1.2.bb index 8ca363a044..1ec1866f3e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_41.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cantools_45.1.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/eerimoq/cantools" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d9aa4ec07de78abae21c490c9ffe61bd" -SRC_URI[sha256sum] = "5c91a66e5e03a4ac5727f20207df1da5681748a154c2bc85ef532fef9e0109d1" +SRC_URI[sha256sum] = "c9f9059ae9028902065d5fc4478728749e27815f5548e6b249f963350d812e8e" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.3.bb index 6ab86300f5..5c15769e74 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cassandra-driver_3.29.3.bb @@ -11,8 +11,6 @@ SRCNAME = "cassandra-driver" SRC_URI += "file://0001-skip-verifying-the-availability-of-setuptools.patch" SRC_URI[sha256sum] = "ff6b82ee4533f6fd4474d833e693b44b984f58337173ee98ed76bce08721a636" -PYPI_PACKAGE = "cassandra_driver" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ @@ -22,7 +20,6 @@ RDEPENDS:${PN} += "\ python3-misc \ python3-multiprocessing \ python3-numbers \ - python3-six \ libevent \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2-crates.inc b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2-crates.inc index 759cf1a928..f78df6d9d4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2-crates.inc +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2-crates.inc @@ -2,57 +2,57 @@ # from rust/Cargo.lock SRC_URI += " \ - crate://crates.io/autocfg/1.5.0 \ - crate://crates.io/bigdecimal/0.4.10 \ - crate://crates.io/cfg-if/1.0.4 \ + crate://crates.io/autocfg/1.5.1 \ + crate://crates.io/bigdecimal/0.4.11 \ + crate://crates.io/cfg-if/1.0.5 \ crate://crates.io/crunchy/0.2.4 \ crate://crates.io/half/2.7.1 \ crate://crates.io/heck/0.5.0 \ - crate://crates.io/libc/0.2.182 \ + crate://crates.io/libc/0.2.191 \ crate://crates.io/libm/0.2.16 \ - crate://crates.io/num-bigint/0.4.6 \ - crate://crates.io/num-integer/0.1.46 \ + crate://crates.io/num-bigint/0.4.8 \ + crate://crates.io/num-integer/0.1.47 \ crate://crates.io/num-traits/0.2.19 \ - crate://crates.io/once_cell/1.21.3 \ - crate://crates.io/portable-atomic/1.13.1 \ - crate://crates.io/proc-macro2/1.0.106 \ - crate://crates.io/pyo3/0.29.0 \ - crate://crates.io/pyo3-build-config/0.28.2 \ - crate://crates.io/pyo3-build-config/0.29.0 \ - crate://crates.io/pyo3-ffi/0.29.0 \ - crate://crates.io/pyo3-macros/0.29.0 \ - crate://crates.io/pyo3-macros-backend/0.29.0 \ - crate://crates.io/quote/1.0.44 \ - crate://crates.io/syn/2.0.117 \ + crate://crates.io/once_cell/1.21.4 \ + crate://crates.io/portable-atomic/1.15.0 \ + crate://crates.io/proc-macro2/1.0.107 \ + crate://crates.io/pyo3/0.30.1 \ + crate://crates.io/pyo3-build-config/0.30.1 \ + crate://crates.io/pyo3-ffi/0.30.1 \ + crate://crates.io/pyo3-macros/0.30.1 \ + crate://crates.io/pyo3-macros-backend/0.30.1 \ + crate://crates.io/quote/1.0.47 \ + crate://crates.io/syn/2.0.119 \ + crate://crates.io/syn/3.0.9 \ crate://crates.io/target-lexicon/0.13.5 \ - crate://crates.io/unicode-ident/1.0.24 \ - crate://crates.io/zerocopy/0.8.40 \ - crate://crates.io/zerocopy-derive/0.8.40 \ + crate://crates.io/unicode-ident/1.0.27 \ + crate://crates.io/zerocopy/0.8.63 \ + crate://crates.io/zerocopy-derive/0.8.63 \ " -SRC_URI[autocfg-1.5.0.sha256sum] = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" -SRC_URI[bigdecimal-0.4.10.sha256sum] = "4d6867f1565b3aad85681f1015055b087fcfd840d6aeee6eee7f2da317603695" -SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +SRC_URI[autocfg-1.5.1.sha256sum] = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" +SRC_URI[bigdecimal-0.4.11.sha256sum] = "8fa3f3d8cbf4dffcfe4991de61d012bef509a409ecbe9dd41049bfe32b4d4653" +SRC_URI[cfg-if-1.0.5.sha256sum] = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" SRC_URI[crunchy-0.2.4.sha256sum] = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" SRC_URI[half-2.7.1.sha256sum] = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" -SRC_URI[libc-0.2.182.sha256sum] = "6800badb6cb2082ffd7b6a67e6125bb39f18782f793520caee8cb8846be06112" +SRC_URI[libc-0.2.191.sha256sum] = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" SRC_URI[libm-0.2.16.sha256sum] = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" -SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" -SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" +SRC_URI[num-bigint-0.4.8.sha256sum] = "c89e69e7e0f03bea5ef08013795c25018e101932225a656383bd384495ecc367" +SRC_URI[num-integer-0.1.47.sha256sum] = "7ce2d95d4b3734dc35aa2f45e1aa22cd416814592a4f9d9205e11affd5b8e10b" SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" -SRC_URI[portable-atomic-1.13.1.sha256sum] = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" -SRC_URI[proc-macro2-1.0.106.sha256sum] = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" -SRC_URI[pyo3-0.29.0.sha256sum] = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c" -SRC_URI[pyo3-build-config-0.28.2.sha256sum] = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7" -SRC_URI[pyo3-build-config-0.29.0.sha256sum] = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078" -SRC_URI[pyo3-ffi-0.29.0.sha256sum] = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b" -SRC_URI[pyo3-macros-0.29.0.sha256sum] = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771" -SRC_URI[pyo3-macros-backend-0.29.0.sha256sum] = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362" -SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" -SRC_URI[syn-2.0.117.sha256sum] = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99" +SRC_URI[once_cell-1.21.4.sha256sum] = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +SRC_URI[portable-atomic-1.15.0.sha256sum] = "05c8b63e8d9609db387f0324918f81d68fe27748f084ef092fb35954d0539a85" +SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +SRC_URI[pyo3-0.30.1.sha256sum] = "229ca13b8a15bb0d1487b81ab975bfcd97513416499a8312011b6036e42e0de4" +SRC_URI[pyo3-build-config-0.30.1.sha256sum] = "70130e2b6dd1ee589a8788026a429561ca5c40fa7a2fa7914c2282eddae24700" +SRC_URI[pyo3-ffi-0.30.1.sha256sum] = "5e7ff73c555c286d212d4ce7e5fbda845a973c4f61bd5f160f5f2c3c2a04d1c4" +SRC_URI[pyo3-macros-0.30.1.sha256sum] = "c46d2e5862c7bb8207e3b639f713dda3c499933444784154c11d013c5a691b60" +SRC_URI[pyo3-macros-backend-0.30.1.sha256sum] = "38b89f066f2ae72a2aef52d1537ca2fcd104440ebfadee06e97aa90738a25b9b" +SRC_URI[quote-1.0.47.sha256sum] = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" +SRC_URI[syn-2.0.119.sha256sum] = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" +SRC_URI[syn-3.0.9.sha256sum] = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b" SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" -SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" -SRC_URI[zerocopy-0.8.40.sha256sum] = "a789c6e490b576db9f7e6b6d661bcc9799f7c0ac8352f56ea20193b2681532e5" -SRC_URI[zerocopy-derive-0.8.40.sha256sum] = "f65c489a7071a749c849713807783f70672b28094011623e200cb86dcb835953" +SRC_URI[unicode-ident-1.0.27.sha256sum] = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" +SRC_URI[zerocopy-0.8.63.sha256sum] = "e5fe1f8f1b06191a00962174c61aa5005e0bb391a6d80d07e24d115c01a92ed8" +SRC_URI[zerocopy-derive-0.8.63.sha256sum] = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_6.1.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_6.2.0.post2.bb index 6a894848d6..cda44d3864 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_6.1.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cbor2_6.2.0.post2.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a79e64179819c7ce293372c059f1dbd8" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "01ecc79a28f33d17331943ce508fc1e21f4b06553c73f874f4c77120d72b2ef9" +SRC_URI[sha256sum] = "3b08ba9f3a556186515000949d478e47e6d55322f9d86bdaef5b4e3d27d48298" inherit pypi python_setuptools3_rust cargo-update-recipe-crates ptest-python-pytest @@ -11,6 +11,10 @@ CARGO_SRC_DIR = "rust" require ${BPN}-crates.inc +do_install_ptest:append() { + install -Dm 0644 ${S}/docs/usage.rst ${D}${PTEST_PATH}/docs/usage.rst +} + RDEPENDS:${PN}-ptest += " \ python3-hypothesis \ python3-tzdata \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cchardet_2.4.0.bb index b59c289c51..6143a477eb 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cchardet_2.4.0.bb @@ -3,8 +3,8 @@ HOMEPAGE = "https://github.com/PyYoshi/cChardet" LICENSE = "MPL-1.1" LIC_FILES_CHKSUM = "file://COPYING;md5=6ecda54f6f525388d71d6b3cd92f7474" -SRC_URI[sha256sum] = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf" +SRC_URI[sha256sum] = "7b062e7e92e5ab1a00aaf5c164d5f056daae648ba1f144082baf5b4c229b794e" -inherit pypi setuptools3 cython +inherit pypi python_setuptools_build_meta cython BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb index a34cbebe91..43e04888f6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-changelog-chug_0.0.3.bb @@ -7,8 +7,6 @@ SRC_URI[sha256sum] = "98ee1e8be75b6e9d512c35292c3c293a124541a4ec2014a6ec3cf33a3d inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "changelog_chug" - DEPENDS += " \ python3-semver-native \ python3-docutils-native \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.2.bb index c440329065..1d02fd7fca 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.2.bb @@ -4,14 +4,12 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05" SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch" -SRC_URI[sha256sum] = "6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3" +SRC_URI[sha256sum] = "39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef" DEPENDS += "python3-setuptools-scm-native python3-mypy-native" inherit pypi python_setuptools_build_meta ptest-python-pytest -PYPI_PACKAGE = "charset_normalizer" - RDEPENDS:${PN} += " \ python3-core \ python3-logging \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb index 8d8e54e227..eabaa4bbdc 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-checksec-py_0.7.5.bb @@ -6,7 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" PR = "r0" inherit pypi python_poetry_core -PYPI_PACKAGE = "checksec_py" SRC_URI[sha256sum] = "892854f95d17a76d8f45a5c0cc597b9f1bebced3fffb9c7205d0baaf5eace886" SRC_URI += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb deleted file mode 100644 index 252ec4cd89..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.2.6.post1.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "Python template engine and code generation tool" -HOMEPAGE = "https://cheetahtemplate.org/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=15e13a4ed0e5880e3e55ec88b0921181" - -PYPI_PACKAGE = "Cheetah3" - -inherit pypi setuptools3 - -RDEPENDS:${PN} = "python3-pickle python3-pprint" -RDEPENDS:${PN}:class-native = "python3-legacy-cgi-native" - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI[sha256sum] = "58b5d84e5fbff6cf8e117414b3ea49ef51654c02ee887d155113c5b91d761967" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.4.0.post5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.4.0.post5.bb new file mode 100644 index 0000000000..0a990624c4 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cheetah_3.4.0.post5.bb @@ -0,0 +1,14 @@ +SUMMARY = "Python template engine and code generation tool" +HOMEPAGE = "https://cheetahtemplate.org/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=6c8d05debf9d3d283931051ce5232fe7" + +PYPI_PACKAGE = "ct3" + +inherit pypi setuptools3 + +RDEPENDS:${PN} = "python3-pickle python3-pprint" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI[sha256sum] = "1c5f2000d52d591703c74f6f5f7ef427ed1b6501be28e3f1634f62c3a5d792e1" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb index b0844ed5a2..cb5827fc30 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-repl_0.3.0.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "17849c23dba3d667247dc4defe1757fff98694e90fe37474f3feebb69c inherit pypi python_setuptools_build_meta +PYPI_PACKAGE_SDIST = "click-repl" + DEPENDS += "python3-wheel-native" RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb index 7f19cc3458..89c89ed8fd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-click-spinner_0.1.10.bb @@ -8,4 +8,6 @@ SRC_URI[sha256sum] = "87eacf9d7298973a25d7615ef57d4782aebf913a532bba4b28a37e366e inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "click-spinner" + RDEPENDS:${PN} += "python3-json" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_4.4.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_4.4.4.bb index 54abefa8ed..4aa0b8b208 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_4.4.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmake_4.4.4.bb @@ -10,7 +10,7 @@ DEPENDS = "ninja-native cmake-native python3-scikit-build-native python3-scikit- PYPI_ARCHIVE_NAME_PREFIX = "pypi-" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "b0c2703ec0a624649dd184c0ac5ee4c7f5fe5ef35eb82f9da44f5a0903adb2b6" +SRC_URI[sha256sum] = "f337d18e33b116cabae9a7a8ff423fc0bc3f389da0acefeb724e1397128dcc34" SRC_URI += " \ file://CMakeLists.txt \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_4.2.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_4.4.1.bb index b1de6df644..e3e8d075e6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_4.2.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cmd2_4.4.1.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f2a861642858e0858af9dd4e4716bae0" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "b5543c81e01eea9445f1248879855b727c949d5af27c0390fbb8796f782783e9" +SRC_URI[sha256sum] = "e8ef3f9bf2fb8f72acddaf934b97c49d14c6ae2be7271c547b97593abdea6c1e" inherit pypi python_setuptools_build_meta python3native diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.7.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.9.0.bb index 5bd3b185a4..3d9b635f8a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.7.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configargparse_1.9.0.bb @@ -3,15 +3,16 @@ HOMEPAGE = "https://github.com/bw2/ConfigArgParse" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=da746463714cc35999ed9a42339f2943" -SRC_URI[sha256sum] = "e3f9a7bb6be34d66b2e3c4a2f58e3045f8dfae47b0dc039f87bcfaa0f193fb0f" +SRC_URI[sha256sum] = "48d9c22affe4ac419b4dd0691fa929d759e1f99574be41826785f2dbf3da63a5" inherit pypi python_setuptools_build_meta DEPENDS += "python3-setuptools-scm-native" -PACKAGECONFIG ?= "yaml" +PACKAGECONFIG ?= "yaml toml" PACKAGECONFIG[yaml] = ",,,python3-pyyaml" +PACKAGECONFIG[toml] = ",,,python3-toml" RDEPENDS:${PN} += "\ python3-core \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb index 1381ded697..865b7b5a3c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configobj_5.0.9.bb @@ -13,7 +13,6 @@ PTEST_PYTEST_DIR = "src/tests" RDEPENDS:${PN} += " \ python3-pprint \ - python3-six \ " CVE_STATUS[CVE-2023-26112] = "fixed-version: the current version (5.0.9) is already fixed" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.30.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.30.bb deleted file mode 100644 index aa14c99e8b..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_1.1.30.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "A Python library for building configuration shells" -DESCRIPTION = "configshell-fb is a Python library that provides a framework for \ -building simple but nice CLI-based applications. This runs with Python 2 and \ -2to3 is run by setup.py to run on Python 3." - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://COPYING;md5=1dece7821bf3fd70fe1309eaa37d52a2" - -SRC_URI[sha256sum] = "41f6b7eaa7c9ff422acdc910762fd39ef3333a365918463fef8b398d857170fe" - -inherit pypi python_poetry_core - -RDEPENDS:${PN} += " \ - python3-fcntl \ - python3-modules \ - python3-pyparsing \ - python3-six \ -" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_2.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_2.0.3.bb new file mode 100644 index 0000000000..f963446caa --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-configshell-fb_2.0.3.bb @@ -0,0 +1,18 @@ +SUMMARY = "A Python library for building configuration shells" +DESCRIPTION = "configshell-fb is a Python library that provides a framework for \ +building simple but nice CLI-based applications." + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=34400b68072d710fecd0a2940a0d1658" + +SRC_URI[sha256sum] = "dbb086c16c1603a230f9017ef85baccabfd5d87439a01e963377e50f10220f53" + +inherit pypi python_hatchling + +DEPENDS += "python3-hatch-vcs-native" + +RDEPENDS:${PN} += " \ + python3-fcntl \ + python3-modules \ + python3-pyparsing \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.16.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.17.1.bb index 8a9d1cefe0..cfa7fe8fa6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.16.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-coverage_7.17.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93" -SRC_URI[sha256sum] = "077f0964087883176ff6ab9b074694cae29f8c708273b13ca62c183c6ed716cd" +SRC_URI[sha256sum] = "5c5c77f95a0e83e6b79eff948d251c9911cfd61d67f5059159fc25b7bc4aec27" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-crc_7.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-crc_8.0.0.bb index d0bd3972b6..ca3f708e81 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-crc_7.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-crc_8.0.0.bb @@ -8,6 +8,6 @@ SECTION = "devel/python" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f94c07350a9f2e0ce3a246fed3b32353" -SRC_URI[sha256sum] = "99dd540909a37ae4f62c65441df8ecb4e7f9af014fecaf4f331052a41d66c07d" +SRC_URI[sha256sum] = "e1ef893b042c26c9f47fd32f3c17507b7d1bd81169acebaef908774856fdaa3e" -inherit pypi python_poetry_core +inherit pypi python_uv_build python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cssselect2_0.9.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cssselect2_0.10.1.bb index 4459e05da5..56ec192e89 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cssselect2_0.9.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cssselect2_0.10.1.bb @@ -6,10 +6,13 @@ DESCRIPTION = "cssselect2 is a straightforward implementation of CSS4 Selectors LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=aa7228954285c7398bb6711fee73b4ac" -SRC_URI[sha256sum] = "759aa22c216326356f65e62e791d66160a0f9c91d1424e8d8adc5e74dddfc6fb" +SRC_URI[sha256sum] = "83b0d820ef589dabaf693289b647c2f5b410f76d285f56deba911ffa75a7b9d1" inherit pypi python_flit_core BBCLASSEXTEND = "native nativesdk" -RDEPENDS:${PN} = "python3-tinycss2" +RDEPENDS:${PN} = " \ + python3-tinycss2 \ + python3-webencodings \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-expressions/0001-chore-deps-update-dependency-uv_build-to-0.13.0-0.14.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-expressions/0001-chore-deps-update-dependency-uv_build-to-0.13.0-0.14.patch new file mode 100644 index 0000000000..5a9796a8b3 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-expressions/0001-chore-deps-update-dependency-uv_build-to-0.13.0-0.14.patch @@ -0,0 +1,23 @@ +From f643f89f9150dcea8c97c8eda989baeef8a2b24d Mon Sep 17 00:00:00 2001 +From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> +Date: Sat, 10 Oct 2026 12:26:36 +0000 +Subject: [PATCH] chore(deps): update dependency uv_build to >=0.13.0,<0.14.0 + +Upstream-Status: Backport [https://github.com/cucumber/cucumber-expressions/commit/b6e45a7ee46490996bf4a150832b0a4f0b75bad1] +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 2fb5f57..e8fc3a5 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,6 +1,6 @@ + [build-system] + build-backend = "uv_build" +-requires = ["uv_build>=0.12.0,<0.13.0"] ++requires = ["uv_build>=0.13.0,<0.14.0"] + + [project] + name = "cucumber-expressions" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-expressions_20.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-expressions_20.1.0.bb new file mode 100644 index 0000000000..8f397e6c69 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-expressions_20.1.0.bb @@ -0,0 +1,17 @@ +SUMMARY = "Cucumber Expressions - a simpler alternative to Regular Expressions" +DESCRIPTION = "Provides the cucumber-expression parser and matcher used by cucumber/behave" +HOMEPAGE = "https://github.com/cucumber/cucumber-expressions" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2b2bb1048cefa23c375b8ce5f13313ea" + +SRC_URI += "file://0001-chore-deps-update-dependency-uv_build-to-0.13.0-0.14.patch" +SRC_URI[sha256sum] = "0d216ec26e36c71b3e5643f2e72c41f9b266ef04eaa0c7e47a6e3b2caf523b1a" + +inherit pypi python_uv_build + +RDEPENDS:${PN} += " \ + python3-core \ + python3-numbers \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb index fea5a6d6b1..1efe5f4d70 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cucumber-tag-expressions_9.1.0.bb @@ -8,5 +8,3 @@ SRC_URI += "file://0001-pyprojects-Relax-required-version-of-uv-to-be-0.12.patch SRC_URI[sha256sum] = "d960383d5885300ebcbcb14e41657946fde2a59d5c0f485eb291bc6a0e228acc" inherit pypi python_uv_build - -PYPI_PACKAGE = "cucumber_tag_expressions" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb index e7409f77e6..f4033ed0fb 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-custom-inherit_2.4.1.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://github.com/rsokl/custom_inherit" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f910a85a4c3da51edf780f17a7608434" -PYPI_PACKAGE = "custom_inherit" - SRC_URI += "file://0001-versioneer.py-do-not-use-SafeConfigParser.patch" SRC_URI[sha256sum] = "7052eb337bcce83551815264391cc4efc2bf70b295a3c52aba64f1ab57c3a8a2" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb index fd7507193e..69e054279e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb @@ -9,7 +9,6 @@ inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ python3-core \ - python3-six \ " BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.12.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.12.0.bb index f7a6706e7c..f11f9ab026 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.12.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cyclonedx-python-lib_11.12.0.bb @@ -7,8 +7,6 @@ SRC_URI[sha256sum] = "16767c4039de90c04e9f03348f8f0ed4b8ff842eaa7eefcad3a95685f9 inherit pypi python_poetry_core -PYPI_PACKAGE = "cyclonedx_python_lib" - BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} = "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.2.0.bb index a75948a006..0bfa72327c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-cytoolz_1.2.0.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" -SRC_URI[sha256sum] = "13a7bf254c3c0d28b12e2290b82aed0f0977a4c2a2bf84854fcdc7796a29f3b0" +SRC_URI[sha256sum] = "fdd8ded8a93e1be009577fccddaacf78aa21cbe7dc6ec53c229def0198a1ffa5" inherit pypi python_setuptools_build_meta cython diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-daemon_3.1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-daemon_3.1.2.bb index 761c746a24..ab4a1ab9d4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-daemon_3.1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-daemon_3.1.2.bb @@ -17,4 +17,4 @@ DEPENDS += "python3-wheel-native" SRC_URI[sha256sum] = "f7b04335adc473de877f5117e26d5f1142f4c9f7cd765408f0877757be5afbf4" -PYPI_PACKAGE = "python_daemon" +PYPI_PACKAGE = "python-daemon" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_1.4.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_1.5.0.bb index 6b52cec67c..a4db2d495a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_1.4.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateparser_1.5.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/scrapinghub/dateparser" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=3d3ed25571191e7aa3f55d0a6efe0051" -SRC_URI[sha256sum] = "bed2a3fd9bad8f2fb2d72b57748bada260b3a9349a264c22ffc23c3249d7049a" +SRC_URI[sha256sum] = "08d62f2c00d3a1e806fc59d40c79e7554e31d84d3b8c6145820af051c92e7292" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..94ada60075 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil/0001-drop-the-six-dependency.patch @@ -0,0 +1,751 @@ +From 81e23b3bffdb1ec451b2ed02bc377b1be53b2b5f Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 12:30:09 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and dateutil no longer needs it on +Python 3: the metaclass decorators, the string and integer type aliases, +raise_from and the six.moves imports of _thread, range and winreg all +have direct equivalents in the standard library. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + pyproject.toml | 1 - + setup.cfg | 1 - + src/dateutil/parser/_parser.py | 14 ++++++-------- + src/dateutil/parser/isoparser.py | 5 ++--- + src/dateutil/relativedelta.py | 3 +-- + src/dateutil/rrule.py | 41 ++++++++++++++++++++--------------------- + src/dateutil/tz/_common.py | 15 +-------------- + src/dateutil/tz/_factories.py | 2 +- + src/dateutil/tz/tz.py | 19 +++++++------------ + src/dateutil/tz/win.py | 7 +++---- + tests/property/test_tz_prop.py | 6 +----- + tests/test_imports.py | 9 ++------- + tests/test_isoparser.py | 16 +++++----------- + tests/test_parser.py | 13 +++---------- + tests/test_rrule.py | 38 -------------------------------------- + tests/test_tz.py | 6 ------ + updatezinfo.py | 4 ++-- + 17 files changed, 54 insertions(+), 146 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 67ad619..12da1f4 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -57,7 +57,6 @@ known_first_party = ["dateutil"] + known_third_party=[ + "pytest", + "hypothesis", +- "six", + "freezegun", + "mock", + ] +diff --git a/setup.cfg b/setup.cfg +index 4f91e34..84f19f3 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -39,7 +39,6 @@ classifiers = + [options] + zip_safe = True + setup_requires = setuptools_scm +-install_requires = six >= 1.5 + package_dir = + =src + python_requires = >=2.7, !=3.0.*, !=3.1.*, !=3.2.* +diff --git a/src/dateutil/parser/_parser.py b/src/dateutil/parser/_parser.py +index 37d1663..41d3d9f 100644 +--- a/src/dateutil/parser/_parser.py ++++ b/src/dateutil/parser/_parser.py +@@ -39,8 +39,6 @@ import warnings + from calendar import monthrange + from io import StringIO + +-import six +-from six import integer_types, text_type + + from decimal import Decimal + +@@ -63,7 +61,7 @@ class _timelex(object): + if isinstance(instream, (bytes, bytearray)): + instream = instream.decode() + +- if isinstance(instream, text_type): ++ if isinstance(instream, str): + instream = StringIO(instream) + elif getattr(instream, 'read', None) is None: + raise TypeError('Parser must be a string or character stream, not ' +@@ -648,7 +646,7 @@ class parser(object): + try: + ret = self._build_naive(res, default) + except ValueError as e: +- six.raise_from(ParserError(str(e) + ": %s", timestr), e) ++ raise ParserError(str(e) + ": %s", timestr) from e + + if not ignoretz: + ret = self._build_tzaware(ret, res, tzinfos) +@@ -878,7 +876,7 @@ class parser(object): + try: + value = self._to_decimal(value_repr) + except Exception as e: +- six.raise_from(ValueError('Unknown numeric token'), e) ++ raise ValueError('Unknown numeric token') from e + + len_li = len(value_repr) + +@@ -1147,7 +1145,7 @@ class parser(object): + raise ValueError("Converted decimal value is infinite or NaN") + except Exception as e: + msg = "Could not convert %s to decimal" % val +- six.raise_from(ValueError(msg), e) ++ raise ValueError(msg) from e + else: + return decimal_value + +@@ -1165,9 +1163,9 @@ class parser(object): + # eg tzinfos = {'BRST' : None} + if isinstance(tzdata, datetime.tzinfo) or tzdata is None: + tzinfo = tzdata +- elif isinstance(tzdata, text_type): ++ elif isinstance(tzdata, str): + tzinfo = tz.tzstr(tzdata) +- elif isinstance(tzdata, integer_types): ++ elif isinstance(tzdata, int): + tzinfo = tz.tzoffset(tzname, tzdata) + else: + raise TypeError("Offset must be tzinfo subclass, tz string, " +diff --git a/src/dateutil/parser/isoparser.py b/src/dateutil/parser/isoparser.py +index 7060087..d296948 100644 +--- a/src/dateutil/parser/isoparser.py ++++ b/src/dateutil/parser/isoparser.py +@@ -14,7 +14,6 @@ from dateutil import tz + from functools import wraps + + import re +-import six + + __all__ = ["isoparse", "isoparser"] + +@@ -26,13 +25,13 @@ def _takes_ascii(f): + str_in = getattr(str_in, 'read', lambda: str_in)() + + # If it's unicode, turn it into bytes, since ISO-8601 only covers ASCII +- if isinstance(str_in, six.text_type): ++ if isinstance(str_in, str): + # ASCII is the same in UTF-8 + try: + str_in = str_in.encode('ascii') + except UnicodeEncodeError as e: + msg = 'ISO-8601 strings should contain only ASCII characters' +- six.raise_from(ValueError(msg), e) ++ raise ValueError(msg) from e + + return f(self, str_in, *args, **kwargs) + +diff --git a/src/dateutil/relativedelta.py b/src/dateutil/relativedelta.py +index cd323a5..8283d7e 100644 +--- a/src/dateutil/relativedelta.py ++++ b/src/dateutil/relativedelta.py +@@ -5,7 +5,6 @@ import calendar + import operator + from math import copysign + +-from six import integer_types + from warnings import warn + + from ._common import weekday +@@ -200,7 +199,7 @@ class relativedelta(object): + "This is not a well-defined condition and will raise " + + "errors in future versions.", DeprecationWarning) + +- if isinstance(weekday, integer_types): ++ if isinstance(weekday, int): + self.weekday = weekdays[weekday] + else: + self.weekday = weekday +diff --git a/src/dateutil/rrule.py b/src/dateutil/rrule.py +index 571a0d2..d4ebac8 100644 +--- a/src/dateutil/rrule.py ++++ b/src/dateutil/rrule.py +@@ -15,9 +15,8 @@ from functools import wraps + # For warning about deprecation of until and count + from warnings import warn + +-from six import advance_iterator, integer_types + +-from six.moves import _thread, range ++import _thread + + from ._common import weekday as weekdaybase + +@@ -134,7 +133,7 @@ class rrulebase(object): + break + try: + for j in range(10): +- cache.append(advance_iterator(gen)) ++ cache.append(next(gen)) + except StopIteration: + self._cache_gen = gen = None + self._cache_complete = True +@@ -161,7 +160,7 @@ class rrulebase(object): + gen = iter(self) + try: + for i in range(item+1): +- res = advance_iterator(gen) ++ res = next(gen) + except StopIteration: + raise IndexError + return res +@@ -479,14 +478,14 @@ class rrule(rrulebase): + + if wkst is None: + self._wkst = calendar.firstweekday() +- elif isinstance(wkst, integer_types): ++ elif isinstance(wkst, int): + self._wkst = wkst + else: + self._wkst = wkst.weekday + + if bysetpos is None: + self._bysetpos = None +- elif isinstance(bysetpos, integer_types): ++ elif isinstance(bysetpos, int): + if bysetpos == 0 or not (-366 <= bysetpos <= 366): + raise ValueError("bysetpos must be between 1 and 366, " + "or between -366 and -1") +@@ -520,7 +519,7 @@ class rrule(rrulebase): + if bymonth is None: + self._bymonth = None + else: +- if isinstance(bymonth, integer_types): ++ if isinstance(bymonth, int): + bymonth = (bymonth,) + + self._bymonth = tuple(sorted(set(bymonth))) +@@ -532,7 +531,7 @@ class rrule(rrulebase): + if byyearday is None: + self._byyearday = None + else: +- if isinstance(byyearday, integer_types): ++ if isinstance(byyearday, int): + byyearday = (byyearday,) + + self._byyearday = tuple(sorted(set(byyearday))) +@@ -542,7 +541,7 @@ class rrule(rrulebase): + if byeaster is not None: + if not easter: + from dateutil import easter +- if isinstance(byeaster, integer_types): ++ if isinstance(byeaster, int): + self._byeaster = (byeaster,) + else: + self._byeaster = tuple(sorted(byeaster)) +@@ -556,7 +555,7 @@ class rrule(rrulebase): + self._bymonthday = () + self._bynmonthday = () + else: +- if isinstance(bymonthday, integer_types): ++ if isinstance(bymonthday, int): + bymonthday = (bymonthday,) + + bymonthday = set(bymonthday) # Ensure it's unique +@@ -573,7 +572,7 @@ class rrule(rrulebase): + if byweekno is None: + self._byweekno = None + else: +- if isinstance(byweekno, integer_types): ++ if isinstance(byweekno, int): + byweekno = (byweekno,) + + self._byweekno = tuple(sorted(set(byweekno))) +@@ -588,13 +587,13 @@ class rrule(rrulebase): + # If it's one of the valid non-sequence types, convert to a + # single-element sequence before the iterator that builds the + # byweekday set. +- if isinstance(byweekday, integer_types) or hasattr(byweekday, "n"): ++ if isinstance(byweekday, int) or hasattr(byweekday, "n"): + byweekday = (byweekday,) + + self._byweekday = set() + self._bynweekday = set() + for wday in byweekday: +- if isinstance(wday, integer_types): ++ if isinstance(wday, int): + self._byweekday.add(wday) + elif not wday.n or freq > MONTHLY: + self._byweekday.add(wday.weekday) +@@ -629,7 +628,7 @@ class rrule(rrulebase): + else: + self._byhour = None + else: +- if isinstance(byhour, integer_types): ++ if isinstance(byhour, int): + byhour = (byhour,) + + if freq == HOURLY: +@@ -649,7 +648,7 @@ class rrule(rrulebase): + else: + self._byminute = None + else: +- if isinstance(byminute, integer_types): ++ if isinstance(byminute, int): + byminute = (byminute,) + + if freq == MINUTELY: +@@ -669,7 +668,7 @@ class rrule(rrulebase): + else: + self._bysecond = None + else: +- if isinstance(bysecond, integer_types): ++ if isinstance(bysecond, int): + bysecond = (bysecond,) + + self._bysecond = set(bysecond) +@@ -1062,7 +1061,7 @@ class rrule(rrulebase): + cset = set() + + # Support a single byxxx value. +- if isinstance(byxxx, integer_types): ++ if isinstance(byxxx, int): + byxxx = (byxxx, ) + + for num in byxxx: +@@ -1315,7 +1314,7 @@ class rruleset(rrulebase): + class _genitem(object): + def __init__(self, genlist, gen): + try: +- self.dt = advance_iterator(gen) ++ self.dt = next(gen) + genlist.append(self) + except StopIteration: + pass +@@ -1324,7 +1323,7 @@ class rruleset(rrulebase): + + def __next__(self): + try: +- self.dt = advance_iterator(self.gen) ++ self.dt = next(self.gen) + except StopIteration: + if self.genlist[0] is self: + heapq.heappop(self.genlist) +@@ -1400,14 +1399,14 @@ class rruleset(rrulebase): + if not lastdt or lastdt != ritem.dt: + while exlist and exlist[0] < ritem: + exitem = exlist[0] +- advance_iterator(exitem) ++ next(exitem) + if exlist and exlist[0] is exitem: + heapq.heapreplace(exlist, exitem) + if not exlist or ritem != exlist[0]: + total += 1 + yield ritem.dt + lastdt = ritem.dt +- advance_iterator(ritem) ++ next(ritem) + if rlist and rlist[0] is ritem: + heapq.heapreplace(rlist, ritem) + self._len = total +diff --git a/src/dateutil/tz/_common.py b/src/dateutil/tz/_common.py +index e6ac118..d70f8a4 100644 +--- a/src/dateutil/tz/_common.py ++++ b/src/dateutil/tz/_common.py +@@ -1,5 +1,3 @@ +-from six import PY2 +- + from functools import wraps + + from datetime import datetime, timedelta, tzinfo +@@ -16,18 +14,7 @@ def tzname_in_python2(namefunc): + tzname() API changed in Python 3. It used to return bytes, but was changed + to unicode strings + """ +- if PY2: +- @wraps(namefunc) +- def adjust_encoding(*args, **kwargs): +- name = namefunc(*args, **kwargs) +- if name is not None: +- name = name.encode() +- +- return name +- +- return adjust_encoding +- else: +- return namefunc ++ return namefunc + + + # The following is adapted from Alexander Belopolsky's tz library +diff --git a/src/dateutil/tz/_factories.py b/src/dateutil/tz/_factories.py +index f8a6589..97a28d2 100644 +--- a/src/dateutil/tz/_factories.py ++++ b/src/dateutil/tz/_factories.py +@@ -2,7 +2,7 @@ from datetime import timedelta + import weakref + from collections import OrderedDict + +-from six.moves import _thread ++import _thread + + + class _TzSingleton(type): +diff --git a/src/dateutil/tz/tz.py b/src/dateutil/tz/tz.py +index 6175914..69b8763 100644 +--- a/src/dateutil/tz/tz.py ++++ b/src/dateutil/tz/tz.py +@@ -16,9 +16,7 @@ import bisect + import weakref + from collections import OrderedDict + +-import six +-from six import string_types +-from six.moves import _thread ++import _thread + from ._common import tzname_in_python2, _tzinfo + from ._common import tzrangebase, enfold + from ._common import _validate_fromutc_inputs +@@ -38,8 +36,7 @@ EPOCH = datetime.datetime(1970, 1, 1, 0, 0) + EPOCHORDINAL = EPOCH.toordinal() + + +-@six.add_metaclass(_TzSingleton) +-class tzutc(datetime.tzinfo): ++class tzutc(datetime.tzinfo, metaclass=_TzSingleton): + """ + This is a tzinfo object that represents the UTC time zone. + +@@ -129,8 +126,7 @@ class tzutc(datetime.tzinfo): + UTC = tzutc() + + +-@six.add_metaclass(_TzOffsetFactory) +-class tzoffset(datetime.tzinfo): ++class tzoffset(datetime.tzinfo, metaclass=_TzOffsetFactory): + """ + A simple class for representing a fixed offset from UTC. + +@@ -459,7 +455,7 @@ class tzfile(_tzinfo): + super(tzfile, self).__init__() + + file_opened_here = False +- if isinstance(fileobj, string_types): ++ if isinstance(fileobj, str): + self._filename = fileobj + fileobj = open(fileobj, 'rb') + file_opened_here = True +@@ -1033,8 +1029,7 @@ class tzrange(tzrangebase): + return self._dst_base_offset_ + + +-@six.add_metaclass(_TzStrFactory) +-class tzstr(tzrange): ++class tzstr(tzrange, metaclass=_TzStrFactory): + """ + ``tzstr`` objects are time zone objects specified by a time-zone string as + it would be passed to a ``TZ`` variable on POSIX-style systems (see +@@ -1265,7 +1260,7 @@ class tzical(object): + global rrule + from dateutil import rrule + +- if isinstance(fileobj, string_types): ++ if isinstance(fileobj, str): + self._s = fileobj + # ical should be encoded in UTF-8 with CRLF + fileobj = open(fileobj, 'r') +@@ -1621,7 +1616,7 @@ def __get_gettz(): + except TypeError as e: + if isinstance(name, bytes): + new_msg = "gettz argument should be str, not bytes" +- six.raise_from(TypeError(new_msg), e) ++ raise TypeError(new_msg) from e + else: + raise + if os.path.isabs(name): +diff --git a/src/dateutil/tz/win.py b/src/dateutil/tz/win.py +index cde07ba..7fdd15d 100644 +--- a/src/dateutil/tz/win.py ++++ b/src/dateutil/tz/win.py +@@ -10,8 +10,7 @@ Attempting to import this module on a non-Windows platform will raise an + import datetime + import struct + +-from six.moves import winreg +-from six import text_type ++import winreg + + try: + import ctypes +@@ -216,7 +215,7 @@ class tzwin(tzwinbase): + self._name = name + + with winreg.ConnectRegistry(None, winreg.HKEY_LOCAL_MACHINE) as handle: +- tzkeyname = text_type("{kn}\\{name}").format(kn=TZKEYNAME, name=name) ++ tzkeyname = str("{kn}\\{name}").format(kn=TZKEYNAME, name=name) + with winreg.OpenKey(handle, tzkeyname) as tzkey: + keydict = valuestodict(tzkey) + +@@ -282,7 +281,7 @@ class tzwinlocal(tzwinbase): + self._dst_abbr = keydict["DaylightName"] + + try: +- tzkeyname = text_type('{kn}\\{sn}').format(kn=TZKEYNAME, ++ tzkeyname = str('{kn}\\{sn}').format(kn=TZKEYNAME, + sn=self._std_abbr) + with winreg.OpenKey(handle, tzkeyname) as tzkey: + _keydict = valuestodict(tzkey) +diff --git a/tests/property/test_tz_prop.py b/tests/property/test_tz_prop.py +index ec6d271..d5806b6 100644 +--- a/tests/property/test_tz_prop.py ++++ b/tests/property/test_tz_prop.py +@@ -1,7 +1,6 @@ + from datetime import datetime, timedelta + + import pytest +-import six + from hypothesis import assume, given + from hypothesis import strategies as st + +@@ -25,10 +24,7 @@ def test_gettz_returns_local(gettz_arg, dt): + return + + dt_act = dt.astimezone(tz.gettz(gettz_arg)) +- if six.PY2: +- dt_exp = dt.astimezone(tz.tzlocal()) +- else: +- dt_exp = dt.astimezone() ++ dt_exp = dt.astimezone() + + assert dt_act == dt_exp + assert dt_act.tzname() == dt_exp.tzname() +diff --git a/tests/test_imports.py b/tests/test_imports.py +index 7d0749e..caad793 100644 +--- a/tests/test_imports.py ++++ b/tests/test_imports.py +@@ -1,7 +1,6 @@ + import sys + import unittest + import pytest +-import six + + MODULE_TYPE = type(sys) + +@@ -10,12 +9,8 @@ MODULE_TYPE = type(sys) + # But since we expect lazy imports tests to fail for Python < 3.7 we'll ignore those + # warnings with this filter. + +-if six.PY2: +- filter_import_warning = pytest.mark.filterwarnings("ignore::RuntimeWarning") +-else: +- +- def filter_import_warning(f): +- return f ++def filter_import_warning(f): ++ return f + + + @pytest.fixture(scope="function") +diff --git a/tests/test_isoparser.py b/tests/test_isoparser.py +index c33881f..874070c 100644 +--- a/tests/test_isoparser.py ++++ b/tests/test_isoparser.py +@@ -9,7 +9,6 @@ from dateutil.tz import UTC + from dateutil.parser import isoparser, isoparse + + import pytest +-import six + + + def _generate_tzoffsets(limited): +@@ -297,7 +296,7 @@ def test_isoparser_invalid_sep(sep): + + + # This only fails on Python 3 +-@pytest.mark.xfail(not six.PY2, reason="Fails on Python 3 only") ++@pytest.mark.xfail(reason="Fails on Python 3 only") + def test_isoparser_byte_sep(): + dt = datetime(2017, 12, 6, 12, 30, 45) + dt_str = dt.isoformat(sep=str('T')) +@@ -347,9 +346,7 @@ def __make_date_examples(): + date(2016, 2, 1) + ] + +- if not six.PY2: +- # strftime does not support dates before 1900 in Python 2 +- dates_no_day.append(date(1000, 11, 1)) ++ dates_no_day.append(date(1000, 11, 1)) + + # Only one supported format for dates with no day + o = zip(dates_no_day, it.repeat('%Y-%m')) +@@ -371,7 +368,7 @@ def __make_date_examples(): + @pytest.mark.parametrize('as_bytes', [True, False]) + def test_parse_isodate(d, dt_fmt, as_bytes): + d_str = d.strftime(dt_fmt) +- if isinstance(d_str, six.text_type) and as_bytes: ++ if isinstance(d_str, str) and as_bytes: + d_str = d_str.encode('ascii') + elif isinstance(d_str, bytes) and not as_bytes: + d_str = d_str.decode('ascii') +@@ -400,10 +397,7 @@ def test_parse_isodate_error_text(): + isoparser().parse_isodate('2014-0423') + + # ensure the error message does not contain b' prefixes +- if six.PY2: +- expected_error = "String contains unknown ISO components: u'2014-0423'" +- else: +- expected_error = "String contains unknown ISO components: '2014-0423'" ++ expected_error = "String contains unknown ISO components: '2014-0423'" + assert expected_error == str(excinfo.value) + + +@@ -458,7 +452,7 @@ def __make_time_examples(): + @pytest.mark.parametrize('as_bytes', [True, False]) + def test_isotime(time_val, time_fmt, as_bytes): + tstr = time_val.strftime(time_fmt) +- if isinstance(tstr, six.text_type) and as_bytes: ++ if isinstance(tstr, str) and as_bytes: + tstr = tstr.encode('ascii') + elif isinstance(tstr, bytes) and not as_bytes: + tstr = tstr.decode('ascii') +diff --git a/tests/test_parser.py b/tests/test_parser.py +index 08a34da..c66850e 100644 +--- a/tests/test_parser.py ++++ b/tests/test_parser.py +@@ -14,7 +14,6 @@ from dateutil.parser import UnknownTimezoneWarning + + from ._common import TZEnvContext + +-from six import assertRaisesRegex, PY2 + from io import StringIO + + import pytest +@@ -462,12 +461,6 @@ class ParserTest(unittest.TestCase): + datetime(2003, 9, 25, 10, 36, 28, + tzinfo=self.brsttz)) + +- def testDateCommandFormatWithLong(self): +- if PY2: +- self.assertEqual(parse("Thu Sep 25 10:36:28 BRST 2003", +- tzinfos={"BRST": long(-10800)}), +- datetime(2003, 9, 25, 10, 36, 28, +- tzinfo=self.brsttz)) + + def testISOFormatStrip2(self): + self.assertEqual(parse("2003-09-25T10:49:41+03:00"), +@@ -570,11 +563,11 @@ class ParserTest(unittest.TestCase): + parse('shouldfail') + + def testCorrectErrorOnFuzzyWithTokens(self): +- assertRaisesRegex(self, ParserError, 'Unknown string format', ++ self.assertRaisesRegex(ParserError, 'Unknown string format', + parse, '04/04/32/423', fuzzy_with_tokens=True) +- assertRaisesRegex(self, ParserError, 'Unknown string format', ++ self.assertRaisesRegex(ParserError, 'Unknown string format', + parse, '04/04/04 +32423', fuzzy_with_tokens=True) +- assertRaisesRegex(self, ParserError, 'Unknown string format', ++ self.assertRaisesRegex(ParserError, 'Unknown string format', + parse, '04/04/0d4', fuzzy_with_tokens=True) + + def testIncreasingCTime(self): +diff --git a/tests/test_rrule.py b/tests/test_rrule.py +index 52673ec..f50b24e 100644 +--- a/tests/test_rrule.py ++++ b/tests/test_rrule.py +@@ -3,7 +3,6 @@ from __future__ import unicode_literals + + from datetime import datetime, date + import unittest +-from six import PY2 + + from dateutil import tz + from dateutil.rrule import ( +@@ -2282,26 +2281,6 @@ class RRuleTest(unittest.TestCase): + datetime(2010, 3, 22, 13, 1), + datetime(2010, 3, 22, 14, 1)]) + +- def testLongIntegers(self): +- if PY2: # There are no longs in python3 +- self.assertEqual(list(rrule(MINUTELY, +- count=long(2), +- interval=long(2), +- bymonth=long(2), +- byweekday=long(3), +- byhour=long(6), +- byminute=long(6), +- bysecond=long(6), +- dtstart=datetime(1997, 9, 2, 9, 0))), +- [datetime(1998, 2, 5, 6, 6, 6), +- datetime(1998, 2, 12, 6, 6, 6)]) +- self.assertEqual(list(rrule(YEARLY, +- count=long(2), +- bymonthday=long(5), +- byweekno=long(2), +- dtstart=datetime(1997, 9, 2, 9, 0))), +- [datetime(1998, 1, 5, 9, 0), +- datetime(2004, 1, 5, 9, 0)]) + + def testHourlyBadRRule(self): + """ +@@ -4577,23 +4556,6 @@ class RRuleTest(unittest.TestCase): + wkst=SU, + dtstart=datetime(1997, 9, 2, 9, 0))) + +- def testToStrLongIntegers(self): +- if PY2: # There are no longs in python3 +- self._rrulestr_reverse_test(rrule(MINUTELY, +- count=long(2), +- interval=long(2), +- bymonth=long(2), +- byweekday=long(3), +- byhour=long(6), +- byminute=long(6), +- bysecond=long(6), +- dtstart=datetime(1997, 9, 2, 9, 0))) +- +- self._rrulestr_reverse_test(rrule(YEARLY, +- count=long(2), +- bymonthday=long(5), +- byweekno=long(2), +- dtstart=datetime(1997, 9, 2, 9, 0))) + + def testReplaceIfSet(self): + rr = rrule(YEARLY, +diff --git a/tests/test_tz.py b/tests/test_tz.py +index e5e4772..41c17ff 100644 +--- a/tests/test_tz.py ++++ b/tests/test_tz.py +@@ -7,7 +7,6 @@ from ._common import ComparesEqual + from datetime import datetime, timedelta + from datetime import time as dt_time + from datetime import tzinfo +-from six import PY2 + from io import BytesIO, StringIO + import unittest + +@@ -1114,11 +1113,6 @@ def test_gettz_badzone_unicode(): + b"America/New_York", + ".*should be str, not bytes.*", + id="bytes on Python 3", +- marks=[ +- pytest.mark.skipif( +- PY2, reason="bytes arguments accepted in Python 2" +- ) +- ], + ), + pytest.param( + object(), +diff --git a/updatezinfo.py b/updatezinfo.py +index bba53d5..f77dfa1 100644 +--- a/updatezinfo.py ++++ b/updatezinfo.py +@@ -4,8 +4,8 @@ import hashlib + import json + import io + +-from six.moves.urllib import request +-from six.moves.urllib import error as urllib_error ++from urllib import request ++from urllib import error as urllib_error + + try: + import dateutil diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb index 2999606e06..3b9460c843 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dateutil_2.9.0.bb @@ -4,9 +4,12 @@ HOMEPAGE = "https://dateutil.readthedocs.org" LICENSE = "Apache-2.0 AND BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3155c7bdc71f66e02678411d2abf996" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "78e73e19c63f5b20ffa567001531680d939dc042bf7850431877645523c66709" PYPI_PACKAGE = "python-dateutil" +PYPI_PACKAGE_SDIST = "python-dateutil" + inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" @@ -19,7 +22,6 @@ DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} = "\ python3-datetime \ python3-numbers \ - python3-six \ python3-stringold \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb index e969e85465..1bb351c570 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-deviation_0.6.1.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "e06b88efe223885d2725df51cf7c9b7b463d1c6f04ea49d4690874318d inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "dbus-deviation" + SRC_URI += "file://0001-Prevent-trying-to-donwload-requierment-which-will-ca.patch" DEPENDS += "python3-sphinx-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch deleted file mode 100644 index e5b53340a8..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast/0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch +++ /dev/null @@ -1,34 +0,0 @@ -From bca444d7069afab9e1ac84f765e744d308d39e57 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Sun, 18 May 2025 10:24:19 -0700 -Subject: [PATCH] pyproject.toml: Remove upper version constraint for Cython - -Upstream-Status: Pending -Signed-off-by: Khem Raj <raj.khem@gmail.com> -Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> ---- - pyproject.toml | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 6604cb8..40bd8c3 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -50,7 +50,7 @@ pytest-cov = ">=3,<8" - pytest-asyncio = ">=0.19,<1.4" - pycairo = "^1.21.0" - PyGObject = {version = ">=3.50,<3.51", python = "<4"} --Cython = ">=3,<3.3.0" -+Cython = ">=3" - setuptools = ">=65.4.1,<81.0.0" - pytest-timeout = "^2.1.0" - pytest-codspeed = ">=3.1.1,<5.0.0" -@@ -108,7 +108,7 @@ module = "docs.*" - ignore_errors = true - - [build-system] --requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3,<3.3.0', "poetry-core>=1.0.0"] -+requires = ['setuptools>=65.4.1', 'wheel', 'Cython>=3', "poetry-core>=1.0.0"] - build-backend = "poetry.core.masonry.api" - - [tool.ruff] diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_4.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_5.2.0.bb index c0c40b6b23..134f60942d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_4.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-fast_5.2.0.bb @@ -3,16 +3,11 @@ HOMEPAGE = "https://github.com/bluetooth-devices/dbus-fast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=729e372b5ea0168438e4fd4a00a04947" -SRC_URI += "file://0001-pyproject.toml-Remove-upper-version-constraint-for-C.patch" -SRC_URI[sha256sum] = "e1d3ee49a4a81524d7caaa2d5a31fc71075a1c977b661df958cee24bef86b8fe" - -PYPI_PACKAGE = "dbus_fast" +SRC_URI[sha256sum] = "a4a5dddc04b1ade5eb7650d791e2f6fb7c1334595593473914e78a2526ecddda" inherit pypi python_poetry_core cython +# Remove when https://github.com/Bluetooth-Devices/dbus-fast/issues/825 is closed DEPENDS += "python3-wheel-native" -RDEPENDS:${PN} += " \ - python3-core (>=3.7) \ - python3-async-timeout \ -" +RDEPENDS:${PN} += "python3-core" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb index 9f6aa7ed7f..e2cc154294 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dbus-next_0.2.3.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=94e750c96e56788499b56c81de91431c" SRC_URI[sha256sum] = "f4eae26909332ada528c0a3549dda8d4f088f9b365153952a408e28023a626a5" -PYPI_PACKAGE = "dbus_next" - inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-decouple_3.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-decouple_3.8.bb index 20d614a423..e15b0e0c0c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-decouple_3.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-decouple_3.8.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a46375b26bb7d7603565d829a2a51782" SRC_URI[sha256sum] = "ba6e2657d4f376ecc46f77a3a615e058d93ba5e465c01bbe57289bfb7cce680f" PYPI_PACKAGE = "python-decouple" +PYPI_PACKAGE_SDIST = "python-decouple" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.11.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.11.bb index daf8567f07..3add260a21 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.11.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dirty-equals_0.11.bb @@ -16,8 +16,6 @@ S = "${UNPACKDIR}/dirty_equals-${PV}" inherit pypi python_hatchling -PYPI_PACKAGE = "dirty_equals" - RDEPENDS:${PN} += " \ python3-pytz \ python3-core \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-discovery_1.6.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-discovery_1.6.4.bb index c896f5f96c..d503ea988f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-discovery_1.6.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-discovery_1.6.4.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/tox-dev/python-discovery" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" -PYPI_PACKAGE = "python_discovery" +PYPI_PACKAGE = "python-discovery" -SRC_URI[sha256sum] = "6393b4eae1be8b2182670635e7baff89ac21cb9f8e86fd1ff40c7b1144febb4c" +SRC_URI[sha256sum] = "bc70d31f0ec5de11eda13d4d64c16e24b3506a65984684f2b6c98cb83b2ea9df" inherit pypi python_hatchling ptest-python-pytest @@ -20,6 +20,7 @@ RDEPENDS:${PN} += "\ RDEPENDS:${PN}-ptest += " \ python3-setuptools \ python3-filelock \ + python3-vermin \ " BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-distlib_0.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-distlib_0.4.4.bb index d094186236..0667cdba3e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-distlib_0.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-distlib_0.4.4.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/pypa/distlib" LICENSE = "PSF-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6a11430d5cd6e2cd3832ee94f22ddfc" -SRC_URI[sha256sum] = "feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d" +SRC_URI[sha256sum] = "ca4175b4ac7f71223cc30ed7248c45d2b38c2439d8ee6e498ab67ed63cf3508d" BBCLASSEXTEND = "native nativesdk" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb index 152e57f105..528f760a24 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django-south_1.0.2.bb @@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=17;endline=18;md5=2155d8ae21e7c231 SRC_URI[sha256sum] = "d360bd31898f9df59f6faa786551065bba45b35e7ee3c39b381b4fbfef7392f4" -PYPI_PACKAGE = "South" +PYPI_PACKAGE = "south" +PYPI_PACKAGE_SDIST = "South" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django/0001-fix-test_msgfmt_error_including_non_ascii-test.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django/0001-fix-test_msgfmt_error_including_non_ascii-test.patch deleted file mode 100644 index 6f887b3015..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django/0001-fix-test_msgfmt_error_including_non_ascii-test.patch +++ /dev/null @@ -1,71 +0,0 @@ -From 1960ecd879ce351226b36e7ac0aa25616241b6f6 Mon Sep 17 00:00:00 2001 -From: Jericho Serrano <118679068+jericho1050@users.noreply.github.com> -Date: Fri, 6 Jun 2025 04:58:29 +0800 -Subject: [PATCH] Fixed #36421 -- Made test_msgfmt_error_including_non_ascii - compatible with msgfmt 0.25. - -Upstream-Status: Backport [https://github.com/django/django/commit/1960ecd879ce351226b36e7ac0aa25616241b6f6] -Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> ---- - tests/i18n/test_compilation.py | 25 +++++++++++++++++++++++-- - 1 file changed, 23 insertions(+), 2 deletions(-) - -diff --git a/tests/i18n/test_compilation.py b/tests/i18n/test_compilation.py -index 4b0bb9f6bb16..3a57dbf0765f 100644 ---- a/tests/i18n/test_compilation.py -+++ b/tests/i18n/test_compilation.py -@@ -1,5 +1,6 @@ - import gettext as gettext_module - import os -+import re - import stat - import unittest - from io import StringIO -@@ -8,10 +9,12 @@ - from unittest import mock - - from django.core.management import CommandError, call_command, execute_from_command_line --from django.core.management.utils import find_command -+from django.core.management.utils import find_command, popen_wrapper - from django.test import SimpleTestCase, override_settings - from django.test.utils import captured_stderr, captured_stdout - from django.utils import translation -+from django.utils.encoding import DEFAULT_LOCALE_ENCODING -+from django.utils.functional import cached_property - from django.utils.translation import gettext - - from .utils import RunInTmpDirMixin, copytree -@@ -254,6 +257,17 @@ def test_no_dirs_accidentally_skipped(self): - - - class CompilationErrorHandling(MessageCompilationTests): -+ @cached_property -+ def msgfmt_version(self): -+ # Note that msgfmt is installed via GNU gettext tools, hence the msgfmt -+ # version should align to gettext. -+ out, err, status = popen_wrapper( -+ ["msgfmt", "--version"], -+ stdout_encoding=DEFAULT_LOCALE_ENCODING, -+ ) -+ m = re.search(r"(\d+)\.(\d+)\.?(\d+)?", out) -+ return tuple(int(d) for d in m.groups() if d is not None) -+ - def test_error_reported_by_msgfmt(self): - # po file contains wrong po formatting. - with self.assertRaises(CommandError): -@@ -278,7 +292,14 @@ def test_msgfmt_error_including_non_ascii(self): - call_command( - "compilemessages", locale=["ko"], stdout=StringIO(), stderr=stderr - ) -- self.assertIn("' cannot start a field name", stderr.getvalue()) -+ if self.msgfmt_version < (0, 25): -+ error_msg = "' cannot start a field name" -+ else: -+ error_msg = ( -+ "a field name starts with a character that is not alphanumerical " -+ "or underscore" -+ ) -+ self.assertIn(error_msg, stderr.getvalue()) - - - class ProjectAndAppTests(MessageCompilationTests): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.2.17.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.2.17.bb deleted file mode 100644 index a9009adaf9..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_5.2.17.bb +++ /dev/null @@ -1,5 +0,0 @@ -require python3-django.inc -inherit python_setuptools_build_meta - -SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch" -SRC_URI[sha256sum] = "9d4d93be539a18ab80d058eb515900e10951e04c537c5a6b394fc49528d3251f" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.0.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.0.9.bb index 0c7fb2197d..acdd2c21d0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.0.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.0.9.bb @@ -1,7 +1,7 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "cb0bd962d27fc866f3c514b20aae6a7df56ec80b488f9899da46d675cd051526" +SRC_URI[sha256sum] = "8ce037c971f421cfb47d38c097ca233a8f6dd42d9e9501a37e02dd7d08c5cb3f" # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 6.x branch, diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.1.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.1.3.bb new file mode 100644 index 0000000000..64f6d412ea --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-django_6.1.3.bb @@ -0,0 +1,4 @@ +require python3-django.inc +inherit python_setuptools_build_meta + +SRC_URI[sha256sum] = "b5d2d9e35295065d13b1927b3f19a59bd119f737aa6299def14ccca1ae3c8c0d" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.18.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.18.3.bb index bab9262ac1..98a8eb7c37 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.18.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-djangorestframework_3.18.3.bb @@ -5,7 +5,7 @@ HOMEPAGE = "https://pypi.python.org/pypi/djangorestframework" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=7879a5a716147a784f7e524c9cf103c1" -SRC_URI[sha256sum] = "2323a5111837e0b784dcb8323abc78ecc54fa2a5af7aff2677cf50cdd849477f" +SRC_URI[sha256sum] = "446a9b352e7eff630421ab3f2328bd2401b109a9470afa4a31189994911ed030" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/0001-tests-skip-DDR-tests-when-the-resolvers-do-not-answe.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/0001-tests-skip-DDR-tests-when-the-resolvers-do-not-answe.patch new file mode 100644 index 0000000000..991604682e --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/0001-tests-skip-DDR-tests-when-the-resolvers-do-not-answe.patch @@ -0,0 +1,70 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj <khem.raj@oss.qualcomm.com> +Date: Sat, 12 Sep 2026 00:00:00 -0700 +Subject: [PATCH] tests: skip DDR tests when the resolvers do not answer DDR + +test_basic_ddr_sync and test_basic_ddr_async only check that the +Internet is reachable. On networks that intercept port 53 with a +transparent DNS proxy, 1.1.1.1 and 8.8.8.8 still answer ordinary +queries but return NXDOMAIN for _dns.resolver.arpa SVCB, so try_ddr() +cannot upgrade the nameservers and the tests fail: + + assert isinstance('1.1.1.1', dns.nameserver.Nameserver) + +Skip the tests unless both resolvers return DDR SVCB records. + +Upstream-Status: Pending +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + tests/test_ddr.py | 27 +++++++++++++++++++++++++-- + 1 file changed, 25 insertions(+), 2 deletions(-) + +--- a/tests/test_ddr.py ++++ b/tests/test_ddr.py +@@ -6,13 +6,36 @@ + + import dns.asyncbackend + import dns.asyncresolver ++import dns.message + import dns.nameserver ++import dns.query ++import dns.rdatatype + import dns.resolver + import tests.util + + ++def _ddr_available(): ++ """Check that the public resolvers answer the DDR SVCB query. ++ ++ Networks that intercept port 53 (e.g. a transparent DNS proxy) answer ++ _dns.resolver.arpa with NXDOMAIN, so DDR cannot work there even though ++ the Internet is reachable. ++ """ ++ if not tests.util.is_internet_reachable(): ++ return False ++ for nameserver in ["1.1.1.1", "8.8.8.8"]: ++ q = dns.message.make_query("_dns.resolver.arpa", dns.rdatatype.SVCB) ++ try: ++ r = dns.query.udp(q, nameserver, timeout=5) ++ except Exception: ++ return False ++ if not r.answer: ++ return False ++ return True ++ ++ + @pytest.mark.skipif( +- not tests.util.is_internet_reachable(), reason="Internet not reachable" ++ not _ddr_available(), reason="Internet not reachable or DDR not available" + ) + @tests.util.retry_on_timeout + def test_basic_ddr_sync(): +@@ -26,7 +49,7 @@ + + + @pytest.mark.skipif( +- not tests.util.is_internet_reachable(), reason="Internet not reachable" ++ not _ddr_available(), reason="Internet not reachable or DDR not available" + ) + @tests.util.retry_on_timeout + def test_basic_ddr_async(): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/run-ptest index 8d2017d39c..cb674db8a0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/run-ptest +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython/run-ptest @@ -1,3 +1,12 @@ #!/bin/sh +# The live resolver tests use the system resolver configuration. When the +# network is set up by the kernel's ip= parameter and nothing in userspace +# (e.g. systemd-resolved) writes /etc/resolv.conf from it, the nameserver is +# only available in /proc/net/pnp, so the tests fail with "no nameservers" +# even though the Internet is reachable. Seed resolv.conf from it in that case. +if ! grep -qs '^nameserver' /etc/resolv.conf && grep -qs '^nameserver' /proc/net/pnp; then + grep '^nameserver' /proc/net/pnp >> /etc/resolv.conf +fi + pytest --automake diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb index aa14caed15..859b71bcda 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dnspython_2.8.0.bb @@ -11,6 +11,7 @@ inherit pypi python_hatchling ptest SRC_URI += " \ file://run-ptest \ + file://0001-tests-skip-DDR-tests-when-the-resolvers-do-not-answe.patch \ " RDEPENDS:${PN}-ptest += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dunamai_1.26.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dunamai_1.26.3.bb index 3059f65b8c..00d3198a9b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dunamai_1.26.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dunamai_1.26.3.bb @@ -2,7 +2,7 @@ SUMMARY = "Dynamic version generation" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=059eed55dbfd3fea022510ea62c95dc1" -SRC_URI[sha256sum] = "84ea45eddf9bb4b40df7610b1b22a03137365e6257dbf9d7b72128fdccca564c" +SRC_URI[sha256sum] = "fe2f732186710ee5048044fdbef6c76c6afbb9ee7de4f6d00cf34256e9ec2e7f" inherit pypi python_poetry_core diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb index fa21531487..5259513f29 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-dynamic-dispatch_1.0.3.bb @@ -7,8 +7,6 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "fbc676aaedc8ec542056c21e5e206b8b62b8d11c3f3c5cfb32b273936da89604" -PYPI_PACKAGE = "dynamic_dispatch" - DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += "\ python3-typeguard \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..3104aae6d0 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa/0001-drop-the-six-dependency.patch @@ -0,0 +1,393 @@ +From 53f1f05e81e03b023c08a28d0d2b6d28766cb5cd Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:05:32 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim. On Python 3 int2byte is a one line +struct helper, and PY2, integer_types, text_type, binary_type, +python_2_unicode_compatible and six.moves.reduce all have direct +equivalents, so the module keeps its behaviour without the dependency. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + requirements.txt | 1 - + setup.py | 1 - + src/ecdsa/__init__.py | 5 ----- + src/ecdsa/_compat.py | 6 ++++-- + src/ecdsa/curves.py | 3 +-- + src/ecdsa/der.py | 5 ++--- + src/ecdsa/ecdsa.py | 3 +-- + src/ecdsa/ellipticcurve.py | 2 -- + src/ecdsa/keys.py | 3 +-- + src/ecdsa/numbertheory.py | 11 ++++------- + src/ecdsa/test_pyecdsa.py | 35 +++++++++++++++++------------------ + src/ecdsa/util.py | 8 ++------ + 12 files changed, 32 insertions(+), 51 deletions(-) + +diff --git a/requirements.txt b/requirements.txt +index ffe2fce..e69de29 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1 +0,0 @@ +-six +diff --git a/setup.py b/setup.py +index 618f5e6..8aceb5b 100755 +--- a/setup.py ++++ b/setup.py +@@ -44,6 +44,5 @@ setup( + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + ], +- install_requires=["six>=1.9.0"], + extras_require={"gmpy2": "gmpy2", "gmpy": "gmpy"}, + ) +diff --git a/src/ecdsa/__init__.py b/src/ecdsa/__init__.py +index 342538e..64aaa55 100644 +--- a/src/ecdsa/__init__.py ++++ b/src/ecdsa/__init__.py +@@ -1,6 +1,3 @@ +-# while we don't use six in this file, we did bundle it for a long time, so +-# keep as part of module in a virtual way (through __all__) +-import six + from .keys import ( + SigningKey, + VerifyingKey, +@@ -56,7 +53,6 @@ __all__ = [ + "numbertheory", + "test_pyecdsa", + "util", +- "six", + ] + + _hush_pyflakes = [ +@@ -90,7 +86,6 @@ _hush_pyflakes = [ + SECP160r1, + Ed25519, + Ed448, +- six.b(""), + BRAINPOOLP160t1, + BRAINPOOLP192t1, + BRAINPOOLP224t1, +diff --git a/src/ecdsa/_compat.py b/src/ecdsa/_compat.py +index 4558e33..bd410f9 100644 +--- a/src/ecdsa/_compat.py ++++ b/src/ecdsa/_compat.py +@@ -4,13 +4,15 @@ Common functions for providing cross-python version compatibility. + import sys + import re + import binascii +-from six import integer_types ++import struct ++ ++int2byte = struct.Struct(">B").pack + + + def str_idx_as_int(string, index): + """Take index'th byte from string, return as integer""" + val = string[index] +- if isinstance(val, integer_types): ++ if isinstance(val, int): + return val + return ord(val) + +diff --git a/src/ecdsa/curves.py b/src/ecdsa/curves.py +index 38e3a75..7662185 100644 +--- a/src/ecdsa/curves.py ++++ b/src/ecdsa/curves.py +@@ -1,6 +1,5 @@ + from __future__ import division + +-from six import PY2 + from . import der, ecdsa, ellipticcurve, eddsa + from .util import orderlen, number_to_string, string_to_number + from ._compat import normalise_bytes, bit_length +@@ -269,7 +268,7 @@ class Curve: + and ``explicit`` + :type valid_encodings: :term:`set-like object` + """ +- if not PY2 and isinstance(string, str): # pragma: no branch ++ if isinstance(string, str): # pragma: no branch + string = string.encode() + + ec_param_index = string.find(b"-----BEGIN EC PARAMETERS-----") +diff --git a/src/ecdsa/der.py b/src/ecdsa/der.py +index 5d35d69..42440cc 100644 +--- a/src/ecdsa/der.py ++++ b/src/ecdsa/der.py +@@ -4,8 +4,7 @@ import binascii + import base64 + import warnings + from itertools import chain +-from six import int2byte, text_type +-from ._compat import compat26_str, str_idx_as_int ++from ._compat import compat26_str, int2byte, str_idx_as_int + + + class UnexpectedDER(Exception): +@@ -461,7 +460,7 @@ def remove_bitstring(string, expect_unused=_sentry): + + + def unpem(pem): +- if isinstance(pem, text_type): # pragma: no branch ++ if isinstance(pem, str): # pragma: no branch + pem = pem.encode() + + d = b"".join( +diff --git a/src/ecdsa/ecdsa.py b/src/ecdsa/ecdsa.py +index f710965..6877a2f 100644 +--- a/src/ecdsa/ecdsa.py ++++ b/src/ecdsa/ecdsa.py +@@ -65,11 +65,10 @@ modified as part of the python-ecdsa package. + """ + + import warnings +-from six import int2byte + from . import ellipticcurve + from . import numbertheory + from .util import bit_length +-from ._compat import remove_whitespace ++from ._compat import int2byte, remove_whitespace + + + class RSZeroError(RuntimeError): +diff --git a/src/ecdsa/ellipticcurve.py b/src/ecdsa/ellipticcurve.py +index a982c1e..0e9db2e 100644 +--- a/src/ecdsa/ellipticcurve.py ++++ b/src/ecdsa/ellipticcurve.py +@@ -47,14 +47,12 @@ except ImportError: # pragma: no branch + GMPY = False + + +-from six import python_2_unicode_compatible + from . import numbertheory + from ._compat import normalise_bytes, int_to_bytes, bit_length, bytes_to_int + from .errors import MalformedPointError + from .util import orderlen, string_to_number, number_to_string + + +-@python_2_unicode_compatible + class CurveFp(object): + """ + :term:`Short Weierstrass Elliptic Curve <short Weierstrass curve>` over a +diff --git a/src/ecdsa/keys.py b/src/ecdsa/keys.py +index f74252c..75e059f 100644 +--- a/src/ecdsa/keys.py ++++ b/src/ecdsa/keys.py +@@ -5,7 +5,6 @@ Primary classes for performing signing and verification operations. + import binascii + from hashlib import sha1 + import os +-from six import PY2 + from . import ecdsa, eddsa + from . import der, ssh + from . import rfc6979 +@@ -963,7 +962,7 @@ class SigningKey(object): + :return: Initialised SigningKey object + :rtype: SigningKey + """ +- if not PY2 and isinstance(string, str): # pragma: no branch ++ if isinstance(string, str): # pragma: no branch + string = string.encode() + + # The privkey pem may have multiple sections, commonly it also has +diff --git a/src/ecdsa/numbertheory.py b/src/ecdsa/numbertheory.py +index fe974f8..9d55047 100644 +--- a/src/ecdsa/numbertheory.py ++++ b/src/ecdsa/numbertheory.py +@@ -12,8 +12,9 @@ + from __future__ import division + + import sys +-from six import integer_types, PY2 +-from six.moves import reduce ++from functools import reduce ++ ++integer_types = (int,) + + try: + xrange +@@ -218,11 +219,7 @@ def square_root_mod_prime(a, p): + assert d == p - 1 + return (2 * a * pow(4 * a, (p - 5) // 8, p)) % p + +- if PY2: +- # xrange on python2 can take integers representable as C long only +- range_top = min(0x7FFFFFFF, p) +- else: +- range_top = p ++ range_top = p + for b in xrange(2, range_top): # pragma: no branch + if jacobi(b * b - 4 * a, p) == -1: + f = (a, -b, 1) +diff --git a/src/ecdsa/test_pyecdsa.py b/src/ecdsa/test_pyecdsa.py +index 799e9b7..6d95672 100644 +--- a/src/ecdsa/test_pyecdsa.py ++++ b/src/ecdsa/test_pyecdsa.py +@@ -16,7 +16,6 @@ from functools import partial + from hypothesis import given, settings + import hypothesis.strategies as st + +-from six import binary_type + from .keys import SigningKey, VerifyingKey + from .keys import BadSignatureError, MalformedPointError, BadDigestError + from . import util +@@ -235,47 +234,47 @@ class ECDSA(unittest.TestCase): + def test_privkey_strings(self): + priv1 = SigningKey.generate() + s1 = priv1.to_string() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertEqual(len(s1), NIST192p.baselen) + priv2 = SigningKey.from_string(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + + s1 = priv1.to_pem() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertTrue(s1.startswith(b"-----BEGIN EC PRIVATE KEY-----")) + self.assertTrue(s1.strip().endswith(b"-----END EC PRIVATE KEY-----")) + priv2 = SigningKey.from_pem(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + + s1 = priv1.to_der() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + priv2 = SigningKey.from_der(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + + priv1 = SigningKey.generate(curve=NIST256p) + s1 = priv1.to_pem() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertTrue(s1.startswith(b"-----BEGIN EC PRIVATE KEY-----")) + self.assertTrue(s1.strip().endswith(b"-----END EC PRIVATE KEY-----")) + priv2 = SigningKey.from_pem(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + + s1 = priv1.to_der() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + priv2 = SigningKey.from_der(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + + def test_privkey_strings_brainpool(self): + priv1 = SigningKey.generate(curve=BRAINPOOLP512r1) + s1 = priv1.to_pem() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertTrue(s1.startswith(b"-----BEGIN EC PRIVATE KEY-----")) + self.assertTrue(s1.strip().endswith(b"-----END EC PRIVATE KEY-----")) + priv2 = SigningKey.from_pem(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + + s1 = priv1.to_der() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + priv2 = SigningKey.from_der(s1) + self.assertTruePrivkeysEqual(priv1, priv2) + +@@ -288,7 +287,7 @@ class ECDSA(unittest.TestCase): + priv1 = SigningKey.generate() + pub1 = priv1.get_verifying_key() + s1 = pub1.to_string() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertEqual(len(s1), NIST192p.verifying_key_length) + pub2 = VerifyingKey.from_string(s1) + self.assertTruePubkeysEqual(pub1, pub2) +@@ -296,13 +295,13 @@ class ECDSA(unittest.TestCase): + priv1 = SigningKey.generate(curve=NIST256p) + pub1 = priv1.get_verifying_key() + s1 = pub1.to_string() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertEqual(len(s1), NIST256p.verifying_key_length) + pub2 = VerifyingKey.from_string(s1, curve=NIST256p) + self.assertTruePubkeysEqual(pub1, pub2) + + pub1_der = pub1.to_der() +- self.assertEqual(type(pub1_der), binary_type) ++ self.assertEqual(type(pub1_der), bytes) + pub2 = VerifyingKey.from_der(pub1_der) + self.assertTruePubkeysEqual(pub1, pub2) + +@@ -330,7 +329,7 @@ class ECDSA(unittest.TestCase): + self.assertRaises(UnknownCurveError, VerifyingKey.from_der, badder) + + pem = pub1.to_pem() +- self.assertEqual(type(pem), binary_type) ++ self.assertEqual(type(pem), bytes) + self.assertTrue(pem.startswith(b"-----BEGIN PUBLIC KEY-----"), pem) + self.assertTrue(pem.strip().endswith(b"-----END PUBLIC KEY-----"), pem) + pub2 = VerifyingKey.from_pem(pem) +@@ -340,13 +339,13 @@ class ECDSA(unittest.TestCase): + priv1 = SigningKey.generate(curve=BRAINPOOLP512r1) + pub1 = priv1.get_verifying_key() + s1 = pub1.to_string() +- self.assertEqual(type(s1), binary_type) ++ self.assertEqual(type(s1), bytes) + self.assertEqual(len(s1), BRAINPOOLP512r1.verifying_key_length) + pub2 = VerifyingKey.from_string(s1, curve=BRAINPOOLP512r1) + self.assertTruePubkeysEqual(pub1, pub2) + + pub1_der = pub1.to_der() +- self.assertEqual(type(pub1_der), binary_type) ++ self.assertEqual(type(pub1_der), bytes) + pub2 = VerifyingKey.from_der(pub1_der) + self.assertTruePubkeysEqual(pub1, pub2) + +@@ -431,21 +430,21 @@ class ECDSA(unittest.TestCase): + data = b"data" + + sig = priv1.sign(data) +- self.assertEqual(type(sig), binary_type) ++ self.assertEqual(type(sig), bytes) + self.assertEqual(len(sig), NIST192p.signature_length) + self.assertTrue(pub1.verify(sig, data)) + + sig = priv1.sign(data, sigencode=sigencode_strings) + self.assertEqual(type(sig), tuple) + self.assertEqual(len(sig), 2) +- self.assertEqual(type(sig[0]), binary_type) +- self.assertEqual(type(sig[1]), binary_type) ++ self.assertEqual(type(sig[0]), bytes) ++ self.assertEqual(type(sig[1]), bytes) + self.assertEqual(len(sig[0]), NIST192p.baselen) + self.assertEqual(len(sig[1]), NIST192p.baselen) + self.assertTrue(pub1.verify(sig, data, sigdecode=sigdecode_strings)) + + sig_der = priv1.sign(data, sigencode=sigencode_der) +- self.assertEqual(type(sig_der), binary_type) ++ self.assertEqual(type(sig_der), bytes) + self.assertTrue(pub1.verify(sig_der, data, sigdecode=sigdecode_der)) + + def test_sigencode_string_canonize_no_change(self): +diff --git a/src/ecdsa/util.py b/src/ecdsa/util.py +index 1aff5bf..06b2fdb 100644 +--- a/src/ecdsa/util.py ++++ b/src/ecdsa/util.py +@@ -18,9 +18,8 @@ import math + import binascii + import sys + from hashlib import sha256 +-from six import PY2, int2byte, next + from . import der +-from ._compat import normalise_bytes ++from ._compat import int2byte, normalise_bytes + + + # RFC5480: +@@ -111,10 +110,7 @@ class PRNG: + def __call__(self, numbytes): + a = [next(self.generator) for i in range(numbytes)] + +- if PY2: # pragma: no branch +- return "".join(a) +- else: +- return bytes(a) ++ return bytes(a) + + def block_generator(self, seed): + counter = 0 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb index 5142fff297..15d3682892 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.19.2.bb @@ -3,6 +3,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "62635b0ac1ca2e027f82122b5b81cb706edc38cd91c63dda28e4f3455a2bf930" CVE_PRODUCT = "python-ecdsa_project:python-ecdsa tlsfuzzer:ecdsa" @@ -23,7 +24,6 @@ do_install_ptest:append () { RDEPENDS:${PN} += " \ python3-gmpy2 \ python3-json \ - python3-six \ " do_install:append() { diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb index 6ec72d02aa..99da6d9db7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-editor_1.0.4.bb @@ -5,6 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" SRC_URI[sha256sum] = "51fda6bcc5ddbbb7063b2af7509e43bd84bfc32a4ff71349ec7847713882327b" PYPI_PACKAGE = "python-editor" +PYPI_PACKAGE_SDIST = "python-editor" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.3.0.bb index a9401ccf49..40c727944a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-email-validator_2.3.0.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2890aee62bd2a4c3197e2059016a397e" SRC_URI[sha256sum] = "9fc05c37f2f6cf439ff414f8fc46d917929974a82244c20eb10231ba60c54426" -PYPI_PACKAGE = "email_validator" - inherit pypi setuptools3 RDEPENDS:${PN} += "python3-dnspython python3-idna" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_4.14.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_4.15.1.bb index 25940cea6c..bed536229c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_4.14.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-engineio_4.15.1.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "python_engineio" +PYPI_PACKAGE = "python-engineio" RDEPENDS:${PN} += " \ python3-netclient \ @@ -15,6 +15,9 @@ RDEPENDS:${PN} += " \ python3-logging \ python3-compression \ python3-asyncio \ + python3-io \ + python3-simple-websocket \ + python3-threading \ " -SRC_URI[sha256sum] = "eaa1e386baf9c2c7959eef7f9d9165c5ea910c5b392f5316e78d29ed073cb43d" +SRC_URI[sha256sum] = "1a412e798a90c64fabe7b20798939ae6d4a03f34da8a33d5a21a25a8bbbc3612" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb index 1f119c6bdf..d1b76e7f29 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-et-xmlfile_2.0.0.bb @@ -19,5 +19,3 @@ RDEPENDS:${PN} += " \ " inherit setuptools3 pypi - -PYPI_PACKAGE = "et_xmlfile" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_6.0.0.bb index 340e69ee6b..431b15e382 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_5.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-abi_6.0.0.bb @@ -4,13 +4,16 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b6a85414b7d058ab1c58e11611c21b2" -SRC_URI[sha256sum] = "178703fa98c07d8eecd5ae569e7e8d159e493ebb6eeb534a8fe973fbc4e40ef0" +SRC_URI[sha256sum] = "e83a0ed91f2dadeeb50236d673736fe2edc6fcc0a1c1e13d461192d4b23d5bcc" -PYPI_PACKAGE = "eth_abi" +inherit pypi python_setuptools_build_meta -inherit pypi setuptools3 +DEPENDS += "\ + python3-wheel-native \ + python3-setuptools-scm-native \ +" -RDEPENDS:${PN} += " \ +RDEPENDS:${PN} += "\ python3-eth-typing \ python3-eth-utils \ python3-parsimonious \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.13.7.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.14.0.bb index 00deb53c88..70c56880ec 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.13.7.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-account_0.14.0.bb @@ -4,12 +4,16 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a26e64020156e806cf0054a6d504b301" -SRC_URI[sha256sum] = "5853ecbcbb22e65411176f121f5f24b8afeeaf13492359d254b16d8b18c77a46" +SRC_URI[sha256sum] = "2c8291b1a8fcbd29a55b07f75f0a0aaffd04704d3ec28d1396587f18a5541c6d" -PYPI_PACKAGE = "eth_account" CVE_PRODUCT = "eth-account" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + python3-wheel-native \ + python3-setuptools-scm-native \ +" RDEPENDS:${PN} += " \ python3-bitarray \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-hash_0.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-hash_0.8.0.bb index 04a94d20be..2047526d4c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-hash_0.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-hash_0.8.0.bb @@ -16,5 +16,3 @@ PACKAGECONFIG[pysha3python-version-bigger--equals-3-dot-9] = ",,,python3-safe-py PACKAGECONFIG[test] = ",,,python3-pytest python3-pytest-xdist" RDEPENDS:${PN} += "python3-core python3-logging python3-pycryptodome" - -PYPI_PACKAGE = "eth_hash" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb index 741db5ced0..41ba0321e5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keyfile_0.8.0.bb @@ -8,6 +8,8 @@ SRC_URI[sha256sum] = "02e3c2e564c7403b92db3fef8ecae3d21123b15787daecd5b643a57369 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "eth-keyfile" + RDEPENDS:${PN} += " \ python3-eth-keys \ python3-pycryptodome \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb index aabfff1b1d..d9014daccf 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-keys_0.5.0.bb @@ -8,4 +8,6 @@ SRC_URI[sha256sum] = "a0abccb83f3d84322591a2c047a1e3aa52ea86b185fa3e82ce311d120c inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "eth-keys" + RDEPENDS:${PN} += "python3-eth-utils" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb index 4bdc0c8873..ac70d14439 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-rlp_2.1.0.bb @@ -8,6 +8,8 @@ SRC_URI[sha256sum] = "d5b408a8cd20ed496e8e66d0559560d29bc21cee482f893936a1f05d0d inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "eth-rlp" + RDEPENDS:${PN} = " \ python3-eth-utils \ python3-hexbytes \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-typing_6.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-typing_6.0.0.bb index 51d1abec7b..a5a09694ef 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-typing_6.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-typing_6.0.0.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3ef06eb4d4373222e59a338e2eb9a795" SRC_URI[sha256sum] = "315dd460dc0b71c15a6cd51e3c0b70d237eec8771beb844144f3a1fb4adb2392" -PYPI_PACKAGE = "eth_typing" - inherit pypi setuptools3 RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_6.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_6.0.0.bb index 0618814d52..b7a69be37d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_6.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eth-utils_6.0.0.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d3f53e7cc5bf80b16eff1f4a38c73182" SRC_URI[sha256sum] = "eb54b2f82dd300d3142c49a89da195e823f5e5284d43203593f87c67bad92a96" -PYPI_PACKAGE = "eth_utils" - inherit pypi setuptools3 RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch index fd0fc91d25..5b4b2b9aee 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet/d19ad6cc086684ee74db250f5fd35227c98e678a.patch @@ -1,4 +1,4 @@ -From d19ad6cc086684ee74db250f5fd35227c98e678a Mon Sep 17 00:00:00 2001 +From 5a25c6991b51c58e8cbf54f1b7c1e2fd80e7c39a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz> Date: Thu, 6 Jun 2024 10:29:29 +0200 Subject: [PATCH] Add new thread attributes from Python 3.13 @@ -11,10 +11,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 7 insertions(+) diff --git a/eventlet/green/thread.py b/eventlet/green/thread.py -index 224cd1c..c70c9e8 100644 +index 98baf22..2651710 100644 --- a/eventlet/green/thread.py +++ b/eventlet/green/thread.py -@@ -174,5 +174,12 @@ from eventlet.corolocal import local as _local +@@ -179,5 +179,12 @@ from eventlet.corolocal import local as _local if hasattr(__thread, 'daemon_threads_allowed'): daemon_threads_allowed = __thread.daemon_threads_allowed @@ -27,6 +27,3 @@ index 224cd1c..c70c9e8 100644 + if hasattr(__thread, '_shutdown'): _shutdown = __thread._shutdown --- -2.43.0 - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet_0.41.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet_0.41.3.bb index 864aa20ba8..cc003096d0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet_0.41.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-eventlet_0.41.3.bb @@ -5,7 +5,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=56472ad6de4caf50e05332a34b66e778" SRC_URI += "file://d19ad6cc086684ee74db250f5fd35227c98e678a.patch" -SRC_URI[sha256sum] = "721b86b77fca33a735598292022ac6feef99747bf48f52defdada6b572acd5af" +SRC_URI[sha256sum] = "66d1883f276e94d040d007e99d7085e6aa5f2738c5b8783d165a137050dc8fb6" CVE_PRODUCT = "eventlet" @@ -15,6 +15,7 @@ DEPENDS += "python3-hatch-vcs-native" RDEPENDS:${PN} += " \ python3-dnspython \ - python3-six \ python3-greenlet \ " + +CVE_STATUS[CVE-2023-29483] = "fixed-version: fixed since v0.35.2" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet/0001-testing-Drop-cached-remote-module-in-test_remote_exe.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet/0001-testing-Drop-cached-remote-module-in-test_remote_exe.patch new file mode 100644 index 0000000000..23957588c8 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet/0001-testing-Drop-cached-remote-module-in-test_remote_exe.patch @@ -0,0 +1,38 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 4 Nov 2026 16:22:44 -0800 +Subject: [PATCH] testing: Drop cached remote module in + test_remote_exec_module_is_removed + +test_remote_exec_module_is_removed is parametrized over the gateway +fixtures. The first run imports "remote" from its tmp_path and then +removes that directory, but the module stays in sys.modules. Later +runs then get the stale module back from "import remote", whose source +file is gone, and remote_exec() fails with: + + OSError: could not get source code + +Remove "remote" from sys.modules before importing it, so each run +imports the module it just wrote. + +Upstream-Status: Submitted [https://github.com/pytest-dev/execnet/pull/442] + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + testing/test_gateway.py | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/testing/test_gateway.py b/testing/test_gateway.py +index 634f237..c571bbd 100644 +--- a/testing/test_gateway.py ++++ b/testing/test_gateway.py +@@ -130,6 +130,9 @@ class TestBasicGateway: + ) + + monkeypatch.syspath_prepend(tmp_path) ++ # The test is parametrized; drop the module cached by a previous run, ++ # whose source file has since been removed. ++ monkeypatch.delitem(sys.modules, "remote", raising=False) + import remote # type: ignore[import-not-found] + + ch = gw.remote_exec(remote) diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb index 34f0a1f670..d94ab6375b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-execnet_2.1.2.bb @@ -11,6 +11,8 @@ DEPENDS += "\ python3-hatch-vcs-native \ " +SRC_URI += "file://0001-testing-Drop-cached-remote-module-in-test_remote_exe.patch" + SRC_URI[sha256sum] = "63d83bfdd9a23e35b9c6a3261412324f964c2ec8dcd8d3c6916ee9373e0befcd" inherit ptest-python-pytest pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-executing_2.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-executing_2.3.0.bb index 79c0e922ce..a9b1c36e70 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-executing_2.2.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-executing_2.3.0.bb @@ -8,4 +8,4 @@ inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" -SRC_URI[sha256sum] = "3632cc370565f6648cc328b32435bd120a1e4ebb20c77e3fdde9a13cd1e533c4" +SRC_URI[sha256sum] = "15919cb5d667e5cb4e099511971d00d659573fff2dd5c4e6cd8b71636c7858d2" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-faker_40.37.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-faker_40.44.0.bb index 60c999900b..bb4ab9c64f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-faker_40.37.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-faker_40.44.0.bb @@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/joke2k/faker" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1" -SRC_URI[sha256sum] = "a92dff7f310e61fb544c61720e15edb2e7448bc33d15a321a99e9ab7b94abf54" +SRC_URI[sha256sum] = "97245a3756dcaf35418b89bea9f03ae6881557db0032bf048744c2aaee2a9108" inherit pypi setuptools3 ptest-python-pytest @@ -33,6 +33,7 @@ RDEPENDS:${PN} += "\ python3-unittest \ python3-xml \ python3-zoneinfo \ + python3-stdnum \ " RDEPENDS:${PN}-ptest += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi-cli_0.0.27.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi-cli_0.0.32.bb index 02750e67e1..33a441e1e9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi-cli_0.0.27.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi-cli_0.0.32.bb @@ -3,12 +3,10 @@ HOMEPAGE = "https://fastapi.tiangolo.com/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e0cf8d811ea2046529403707b266fb5a" -SRC_URI[sha256sum] = "1dffb1e40c0c88f2e0171a8a252a2b615c1e63ff8c05626649e4badd6a84336a" +SRC_URI[sha256sum] = "38024d2345275e1b37ce8848727a580d84901b570e96b3256d9d36a9a5039424" inherit pypi python_pdm -PYPI_PACKAGE = "fastapi_cli" - RDEPENDS:${PN} += "\ python3-difflib \ python3-pydantic \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi/run-ptest index b4d99ee36b..4a8a5b7a87 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi/run-ptest +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi/run-ptest @@ -2,4 +2,12 @@ # ignore the test from the tutorial # those depends on python packages that are not part of OE -pytest --automake --ignore tests/test_tutorial +# the ignored telemetry tests need logfire, the opentelemetry otlp exporter +# and the opentelemetry fastapi instrumentation, which are not part of OE +pytest --automake --ignore tests/test_tutorial \ + --ignore tests/test_telemetry/test_background.py \ + --ignore tests/test_telemetry/test_data.py \ + --ignore tests/test_telemetry/test_environment_integrations.py \ + --ignore tests/test_telemetry/test_integrations.py \ + --ignore tests/test_telemetry/test_native_integrations.py \ + --ignore tests/test_telemetry/test_runtime.py diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.141.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.162.0.bb index 38a691953c..4c5a5b5dc8 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.141.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastapi_0.162.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://fastapi.tiangolo.com/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810" -SRC_URI[sha256sum] = "e8822fc40db1e1858054d7a949a888695bc9bdce70139178e33bd2871a453ca1" +SRC_URI[sha256sum] = "6a22c1e2e6e32e0633ee7e170f00009a29b8228b16feb219ee42f32fd8d88a8f" SRC_URI += "file://run-ptest" @@ -22,14 +22,17 @@ RDEPENDS:${PN} += "\ python3-annotated-doc \ python3-fastapi-cli \ python3-json \ + python3-opentelemetry-api \ python3-pydantic \ python3-starlette \ python3-typing-extensions \ " RDEPENDS:${PN}-ptest += "\ + git \ python3-coverage \ python3-httpx \ + python3-opentelemetry-sdk \ python3-orjson \ python3-dirty-equals \ python3-pytest-httpx \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.22.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.22.3.bb index 04e2a3ea49..90f5fedf68 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.22.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastjsonschema_2.22.3.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/seznam/python-fastjsonschema" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" -SRC_URI[sha256sum] = "72064e12356a7d6ef02165be2946b9abadbdf238536e07eb587e3dbaa33099cf" +SRC_URI[sha256sum] = "8330c91b027dcf941efcb7b1f0998515ff95d177ea15bbabdfe8671965620901" inherit ptest-python-pytest pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers/0001-parser-avoid-undefined-double-to-long-conversion-in-.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers/0001-parser-avoid-undefined-double-to-long-conversion-in-.patch new file mode 100644 index 0000000000..52275c1d8e --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers/0001-parser-avoid-undefined-double-to-long-conversion-in-.patch @@ -0,0 +1,46 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj <khem.raj@oss.qualcomm.com> +Date: Sat, 12 Sep 2026 00:00:00 -0700 +Subject: [PATCH] parser: avoid undefined double to long conversion in + float_as_int_without_noise + +float_as_int_without_noise() returns early when the floored value fits +in a long: + + if (floor_val == static_cast<long>(floor_val)) + +For values outside the range of long (e.g. 3.453e21) the conversion is +undefined behavior. clang (-O2) takes advantage of that and folds the +round trip into "floor_val is integral", which is always true, so the +denoising is skipped and try_real(3.453e21, denoise=True) returns +3452999999999999737856 instead of 3453000000000000000000: + + tests/test_fastnumbers_examples.py::test_try_real FAILED + tests/test_fastnumbers_examples.py::test_try_forceint FAILED + +Only do the conversion when the value is within the range of long. + +Upstream-Status: Pending +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + src/cpp/parser.cpp | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +--- a/src/cpp/parser.cpp ++++ b/src/cpp/parser.cpp +@@ -92,8 +92,14 @@ + + // If the given float can fit a C long without loss then no need + // to go through the below rounding steps. ++ // Converting a double that is outside the range of long is undefined ++ // behavior, and clang uses that to fold this check into "floor_val is ++ // integral", which is always true and skips the denoising below for large ++ // values. Make sure the value is in range before converting. + const double floor_val = std::floor(val); +- if (floor_val == static_cast<long>(floor_val)) { ++ constexpr double long_limit = -static_cast<double>(std::numeric_limits<long>::min()); ++ if (floor_val >= -long_limit && floor_val < long_limit ++ && floor_val == static_cast<long>(floor_val)) { + return val_int; + } + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.2.0.bb index 65d7fcea3f..d067e44938 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fastnumbers_5.2.0.bb @@ -4,6 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d32431d1b650010945da4e078011c8fa" +SRC_URI += "file://0001-parser-avoid-undefined-double-to-long-conversion-in-.patch" SRC_URI[sha256sum] = "07266a2fca9e08eeb5a6c70be4c8db3637db9b930ea5198facbbb9b0b31d4d03" inherit pypi python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb index cf0296b018..c0f992298d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb @@ -9,6 +9,8 @@ SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e8 inherit pypi python_setuptools_build_meta +PYPI_PACKAGE_SDIST = "file-magic" + DEPENDS += "python3-wheel-native" RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_3.32.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_4.2.9.bb index e3642b2087..442ac4ae82 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_3.32.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-filelock_4.2.9.bb @@ -9,18 +9,20 @@ CVE_PRODUCT = "tox-dev:filelock" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "2bde2e4cf732e0153406d8a7bc80620ecf5e621fe0d25e41143c4e3b4733ff30" +SRC_URI[sha256sum] = "96530b7c538d4ea08493ab067247aab7948c54d8cd622cce711c97cccc5d9896" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling ptest-python-pytest DEPENDS += "\ + python3-hatch-fancy-pypi-readme-native \ python3-hatch-vcs-native \ " RDEPENDS:${PN} += " \ python3-core \ + python3-crypt \ python3-logging \ python3-asyncio \ " @@ -39,4 +41,6 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest:append() { cp -rf ${S}/tasks ${D}${PTEST_PATH}/ cp -f ${S}/pyproject.toml ${D}${PTEST_PATH}/ + # test_documented_cache_lock_name checks snippets in docs/how-to.rst + install -Dm 0644 ${S}/docs/how-to.rst ${D}${PTEST_PATH}/docs/how-to.rst } diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb index b445ec0e1c..1348d4ccf5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-babel_4.0.0.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=51917f3e8e858f5ae295a7d0e2eb3cc9" SRC_URI[sha256sum] = "dbeab4027a3f4a87678a11686496e98e1492eb793cbdd77ab50f4e9a2602a593" -PYPI_PACKAGE = "flask_babel" - inherit pypi python_poetry_core RDEPENDS:${PN} += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb index e28e41c124..0019b1bc26 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-bootstrap_3.3.7.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=a03749709f06118a17349deb5a210619" SRC_URI[sha256sum] = "cb08ed940183f6343a64e465e83b3a3f13c53e1baabb8d72b5da4545ef123ac8" -PYPI_PACKAGE = "Flask-Bootstrap" +PYPI_PACKAGE_SDIST = "Flask-Bootstrap" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_6.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_6.0.2.bb index b5a32faa6e..89c844cff4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_6.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-cors_6.0.2.bb @@ -7,8 +7,6 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=134f1026f0de92fd30e71976590a2868" -PYPI_PACKAGE = "flask_cors" - CVE_PRODUCT = "flask-cors" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.1.bb index cf0f73aef5..428c39a1ae 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-httpauth_4.8.1.bb @@ -7,9 +7,7 @@ inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" -PYPI_PACKAGE = "Flask-HTTPAuth" - -SRC_URI[sha256sum] = "66568a05bc73942c65f1e2201ae746295816dc009edd84b482c44c758d75097a" +SRC_URI[sha256sum] = "88499b22f1353893743c3cd68f2ca561c4ad9ef75cd6bcc7f621161cd0e80744" RDEPENDS:${PN} += "\ python3-flask \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb index 93ecf08453..21b3d6deb2 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jsonpify_1.5.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://README.rst;md5=bd59445a234a0c8250b39178d42e3148" -PYPI_PACKAGE = "Flask-Jsonpify" +PYPI_PACKAGE_SDIST = "Flask-Jsonpify" SRC_URI[sha256sum] = "8ac4c732aa5b11d9f6c2de58065d3b669f139518ca8f529bce943817e2fedbfb" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.7.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.7.4.bb index 5d7412f1e2..aa59c9d797 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.7.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt-extended_4.7.4.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9166295d7c482b9440bbb2b5c0fa43ac" inherit pypi setuptools3 -PYPI_PACKAGE = "flask_jwt_extended" - SRC_URI[sha256sum] = "78fd0f460317facf3a0084a6457ffaf2f1dda9eefbd576f94cea35b0eadd5531" RDEPENDS:${PN} += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb index f7044b314f..bcc6d532ac 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-jwt_0.3.2.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ff00db41c47ec84b4567a8b3c246a959" -PYPI_PACKAGE = "Flask-JWT" +PYPI_PACKAGE_SDIST = "Flask-JWT" SRC_URI[sha256sum] = "49c0672fbde0f1cd3374bd834918d28956e3c521c7e00089cdc5380d323bd0ad" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb index 884da17052..260f7554e5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-limiter_4.1.1.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2455d5e574bc0fc489411ca45766ac78" SRC_URI[sha256sum] = "ca11608fc7eec43dcea606964ca07c3bd4ec1ae89043a0f67f717899a4f48106" -PYPI_PACKAGE = "flask_limiter" - inherit pypi python_hatchling DEPENDS += "python3-hatch-vcs-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb index df22ca112c..a7bab22e3d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-login_0.6.3.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8aa87a1cd9fa41d969ad32cfdac2c596" SRC_URI[sha256sum] = "5e23d14a607ef12806c699590b89d0f0e0d67baeec599d75947bf9c147330333" -PYPI_PACKAGE = "Flask-Login" +PYPI_PACKAGE_SDIST = "Flask-Login" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb index a91a231b95..2054e0483a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-mail_0.10.0.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=201f2b80112efa61b78515bd54e9f138" SRC_URI[sha256sum] = "44083e7b02bbcce792209c06252f8569dd5a325a7aaa76afe7330422bd97881d" -PYPI_PACKAGE = "flask_mail" - inherit pypi python_flit_core RDEPENDS:${PN} = " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb index 9739f31f6f..d0d3594412 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-marshmallow_1.5.0.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=27586b20700d7544c06933afe56f7df4" inherit pypi python_flit_core -PYPI_PACKAGE = "flask_marshmallow" - SRC_URI[sha256sum] = "7c06b56e41647eccdb3cd57c25b109f19191b4c62509362bd64920cdf601a066" RDEPENDS:${PN} += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.1.0.bb index fc64d03d38..c555d22a85 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-migrate_4.1.0.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b69377f79f3f48c661701236d5a6a85" SRC_URI[sha256sum] = "1a336b06eb2c3ace005f5f2ded8641d534c18798d64061f6ff11f79e1434126d" -PYPI_PACKAGE = "flask_migrate" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb index 16afb1d1ce..a5ec27920e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-nav_0.6.bb @@ -4,9 +4,10 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=2729ee82259d601d90d28b0574d12416" SRC_URI[sha256sum] = "44e40b755380a1e68ab521a2f9174de259a2c94ddcdaabf36b3aca2e110a33f4" - inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "flask-nav" + RDEPENDS:${PN} += "\ python3-blinker \ python3-flask \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_3.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_3.0.1.bb index c760ee0219..928f7587a2 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_3.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-pymongo_3.0.1.bb @@ -7,8 +7,6 @@ LIC_FILES_CHKSUM = "file://flask_pymongo/wrappers.py;beginline=1;endline=24;md5= SRC_URI[sha256sum] = "d225b51c21ceca2e670e6cca79b5c584ad17b96252b48e84e3b423ddb73304cc" -PYPI_PACKAGE = "flask_pymongo" - inherit pypi python_setuptools_build_meta python_hatchling DEPENDS = " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb index 8ea455c633..4720b65fd2 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restful_0.3.10.bb @@ -10,6 +10,6 @@ SRC_URI[sha256sum] = "fe4af2ef0027df8f9b4f797aba20c5566801b6ade995ac63b588abf1a5 inherit pypi setuptools3 -PYPI_PACKAGE = "Flask-RESTful" +PYPI_PACKAGE_SDIST = "Flask-RESTful" RDEPENDS:${PN} = "python3-flask" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restx_1.3.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restx_1.3.2.bb index bf0f3b374a..a4fd7c5324 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restx_1.3.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-restx_1.3.2.bb @@ -8,6 +8,8 @@ CVE_PRODUCT = "flask-restx" inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "flask-restx" + RDEPENDS:${PN} += " \ python3-aniso8601 \ python3-jsonschema \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb index d518a1877f..c782c706c3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sijax_0.4.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=266adc7b911b7c84b837bf77196e1ba6" SRC_URI[sha256sum] = "fb2bf2d4f75408185102195055d75549fee8d9c9e954dca2427186925cdc429f" -PYPI_PACKAGE = "Flask-Sijax" +PYPI_PACKAGE_SDIST = "Flask-Sijax" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.7.2.bb index edbe6eef08..81479e40da 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-socketio_5.7.2.bb @@ -7,9 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=38cc21254909604298ce763a6e4440a0" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "flask_socketio" - -SRC_URI[sha256sum] = "fe5bd995c3ed4da9a98f335d0d830fa1a19d84a64789f6265642a671fdacaeac" +SRC_URI[sha256sum] = "6b2f967f24f693f2316d108b2d2125642db856b2681c12e60ded9bff1b8035e0" RDEPENDS:${PN} += "\ python3-flask \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb index c300d0b388..5cd30e0664 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-sqlalchemy_3.1.1.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=ffeffa59c90c9c4a033c7574f8f3fb75" SRC_URI[sha256sum] = "e4b68bb881802dda1a7d878b2fc84c06d1ee57fb40b874d3dc97dabfa36b8312" -PYPI_PACKAGE = "flask_sqlalchemy" - inherit pypi python_flit_core RDEPENDS:${PN} = "python3-sqlalchemy python3-flask" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb index a51ead3c8a..6328f62332 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-uploads_0.2.1.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=b712ac634b39469660c9bdfb8d03421c" SRC_URI[sha256sum] = "53ecbd6033667d50ae02b63adebbaa33c7fc56c09e5293025810cf9d841ecb02" -PYPI_PACKAGE = "Flask-Uploads" +PYPI_PACKAGE_SDIST = "Flask-Uploads" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb index 951020dae9..5faf74b03d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-user_0.6.19.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97de97cd9d6e23c88129d884588ce71a" SRC_URI[sha256sum] = "601abcc0343dfbae0c56273d98362d5cdc266ac84d20b3f65a212e4a2c83b302" -PYPI_PACKAGE = "Flask-User" +PYPI_PACKAGE_SDIST = "Flask-User" CVE_PRODUCT = "flask-user_project:flask-user" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb index 3492d5efc8..ed6791d654 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-versioned_0.9.4-20101221.bb @@ -3,7 +3,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://flaskext/versioned/__init__.py;md5=dcb7d97884bf08c256ff5795766bcd24" -PYPI_PACKAGE = "Flask-Versioned" +PYPI_PACKAGE_SDIST = "Flask-Versioned" SRC_URI[sha256sum] = "516694dc860a1bc4f22ab60b324a85083c0150522be109282a3bed681057fd34" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb index 54c6c8904d..f42b2938e2 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-wtf_1.3.0.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=d98d089889e14b227732d45dac3aacc4" SRC_URI[sha256sum] = "61d5dabc50c3df885c297dcbd80810443a5d632106c8a69cab8ce740f0cdd7cc" -PYPI_PACKAGE = "flask_wtf" - inherit pypi python_hatchling RDEPENDS:${PN} = "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb index c4cad466ad..e4f446066f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flask-xstatic_0.0.1.bb @@ -6,7 +6,7 @@ SRC_URI[sha256sum] = "226ea8e97065a9488b59bfe5c94af4c6e2ea70a25052e301fb231a1381 SRC_URI += "file://remove-pip-requires.patch" -PYPI_PACKAGE = "Flask-XStatic" +PYPI_PACKAGE_SDIST = "Flask-XStatic" RDEPENDS:${PN} += "\ python3-flask \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb index d46f9eb16f..efdeaabf1b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb @@ -18,3 +18,5 @@ RDEPENDS:${PN} += " \ python3-pickle \ python3-typing-extensions \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb index e4e15d1a35..7ab1c713f9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb @@ -18,3 +18,5 @@ RDEPENDS:${PN} += " \ python3-email \ python3-logging \ " + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fonttools_4.68.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fonttools_4.68.0.bb new file mode 100644 index 0000000000..f7175993de --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fonttools_4.68.0.bb @@ -0,0 +1,13 @@ +SUMMARY = "Tools to manipulate font files" +DESCRIPTION = "A library to manipulate font files from Python." +HOMEPAGE = "http://github.com/fonttools/fonttools" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=211c9e4671bde3881351f22a2901f692" + +SRC_URI[sha256sum] = "73294e233070f71e2b3653b6bd8564af676d57f26d075761fb06d1ab2e4a7a5d" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "python3-core" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec/run-ptest new file mode 100755 index 0000000000..544881a837 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec/run-ptest @@ -0,0 +1,6 @@ +#!/bin/sh + +# test_async_cat_file_ranges fetches a file from a public S3 bucket, so it +# needs working DNS and internet access from the target. +pytest --automake \ + --deselect implementations/tests/test_reference.py::test_async_cat_file_ranges diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2026.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2026.7.0.bb deleted file mode 100644 index d34b67c428..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2026.7.0.bb +++ /dev/null @@ -1,24 +0,0 @@ -SUMMARY = "A specification that python filesystems should adhere to." -HOMEPAGE = "https://github.com/fsspec/filesystem_spec" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" - -SRC_URI[sha256sum] = "c803c40f4cf860b49dea58ee3e1c33cb9c790520e233537e1340049f89b82a88" - -inherit pypi python_hatchling ptest - - -DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" - -RDEPENDS:${PN}-ptest += "\ - python3-pytest \ - python3-pytest-mock \ - python3-pytest-asyncio \ - python3-pytest-cov \ - python3-pytest-benchmark \ - python3-aiohttp \ - python3-numpy \ - python3-requests \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2026.9.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2026.9.0.bb new file mode 100644 index 0000000000..6b2b4c33b1 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-fsspec_2026.9.0.bb @@ -0,0 +1,50 @@ +SUMMARY = "A specification that python filesystems should adhere to." +HOMEPAGE = "https://github.com/fsspec/filesystem_spec" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6" + +SRC_URI = "git://github.com/fsspec/filesystem_spec;protocol=https;branch=master;tag=${PV}" +SRCREV = "0f76baaae4a227b085b18e8469e6cc1792a95ade" + +SRC_URI += "file://run-ptest" + +inherit python_hatchling ptest-python-pytest + +DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" + +RDEPENDS:${PN} += "\ + python3-asyncio \ + python3-ctypes \ + python3-json \ + python3-logging \ + python3-threading \ +" + +RDEPENDS:${PN}-ptest += "\ + python3-pytest \ + python3-pytest-mock \ + python3-pytest-asyncio \ + python3-pytest-cov \ + python3-pytest-benchmark \ + python3-aiohttp \ + python3-numpy \ + python3-requests \ + python3-pandas \ + python3-paramiko \ +" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/tests ${D}${PTEST_PATH}/implementations + cp -rf ${S}/fsspec/tests/* ${D}${PTEST_PATH}/tests/ + cp -rf ${S}/fsspec/implementations/tests ${D}${PTEST_PATH}/implementations/ + touch ${D}${PTEST_PATH}/implementations/__init__.py + # Top-level conftest provides shared fixtures such as "m" and the + # autouse instance cache cleaner + install -m 0644 ${S}/fsspec/conftest.py ${D}${PTEST_PATH}/ + # Tests import helpers via fsspec.tests / fsspec.implementations.tests, + # which aren't in the installed package + grep -rlE 'fsspec\.(implementations\.)?tests' ${D}${PTEST_PATH} \ + | xargs -r sed -i -E 's/fsspec\.(implementations\.)?tests\b/\1tests/g' +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch index 2e422cd8fc..ae0685c0d0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr/0001-pyproject.toml-Support-newer-versions.patch @@ -1,4 +1,4 @@ -From 99d7788bab614ff5a451f09204139b4cae40be3e Mon Sep 17 00:00:00 2001 +From a4a0cbc4659e4979b770a089f5e197dd2d175e9b Mon Sep 17 00:00:00 2001 From: Leon Anavi <leon.anavi@konsulko.com> Date: Tue, 4 Mar 2025 13:30:48 +0000 Subject: [PATCH] pyproject.toml: Support newer versions @@ -13,7 +13,7 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml -index f8e54eb03..e6242f042 100644 +index c2c046603..c393d2137 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr_8.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr_8.7.bb index 3098681bef..5bd4e031aa 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr_8.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gcovr_8.7.bb @@ -8,7 +8,7 @@ SRC_URI = " \ git://github.com/gcovr/gcovr.git;branch=main;protocol=https \ file://0001-pyproject.toml-Support-newer-versions.patch \ " -SRCREV = "e01ad73582821b5f90e079482164f8e885121e57" +SRCREV = "7fc1fc829b77a3fd7828abcd976b2e56ff1f28c2" inherit python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb index 7339484379..a002738d51 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb @@ -16,5 +16,4 @@ RDEPENDS:${PN} += "\ python3-io \ python3-json \ python3-logging \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch index 68ef5d6d9a..02dd01a33f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent/0001-_setuputils.py-Do-not-add-sys_inc_dir.patch @@ -1,4 +1,4 @@ -From 21b8f74c3d0006c80549452743d50e6f012aa7ef Mon Sep 17 00:00:00 2001 +From f3d1cf5b05decc4554676dcba5eb831cd404729b Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Tue, 11 Oct 2022 17:37:01 -0700 Subject: [PATCH] _setuputils.py: Do not add sys_inc_dir @@ -15,7 +15,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/_setuputils.py b/_setuputils.py -index 4c25e00..23fdfe1 100644 +index 652ebc8..53980e5 100644 --- a/_setuputils.py +++ b/_setuputils.py @@ -164,7 +164,6 @@ def get_include_dirs(*extra_paths): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_26.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_26.9.0.bb index 3207dc351b..c7b1a7bf3d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_26.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gevent_26.9.0.bb @@ -15,7 +15,7 @@ RDEPENDS:${PN} = "python3-greenlet \ SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch" -SRC_URI[sha256sum] = "96039f41bbde6dcd72559e5ffbd408a04f46774b47d991d4cf032da8fa79e5a0" +SRC_URI[sha256sum] = "4dd4703d71737a456c1c9df5cd43a82934e5b10c87549caa02495f487d1ef0b1" CVE_PRODUCT = "gevent" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.8.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.9.0.bb index 5bffae2aef..c50bb08e18 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.8.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-git-pw_2.9.0.bb @@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/getpatchwork/git-pw" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=26e1a171d943c64f00c51f90c256b9d4" -SRC_URI[sha256sum] = "fed2afca4cb66832a416404ec02140a5311d8ce7658c0fdd92cc022b0cef8266" -PYPI_PACKAGE = "git_pw" +SRC_URI[sha256sum] = "6d7f5c9aaf57cdd9bbb7f8de76083d62a7775d36052ae81c6215d578e6c1792c" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances_4.5.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances_4.5.8.bb index 41516e07bc..b6e718e3d5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances_4.5.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances_4.5.8.bb @@ -5,13 +5,25 @@ HOMEPAGE = "https://nicolargo.github.io/glances/" LICENSE = "LGPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=852ecadc0ac7e6f4d7144d5544a3815b" -SRC_URI[sha256sum] = "8a26329f0a25e878d53c2558f1eb0615b09acc1dce2ba523cab32dbe175fe8bf" +SRC_URI[sha256sum] = "a1e5ed5a6488964a576d550a420c91af6f2c7c2d8df8e9fbe67c98eb38bacf3b" inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI += " \ file://run-ptest \ + git://github.com/nicolargo/glances.git;protocol=https;branch=master;name=testsdata;subpath=tests-data;destsuffix=glances-tests-data \ " +# tests-data/ is used by tests/test_core.py but not shipped in the pypi sdist, +# take it from the v4.5.6 tag +SRCREV_testsdata = "ce2f8506289c71e48ed8bf186f2c04d8256203d5" + +# tests/test_core.py runs glances with ./conf/glances.conf and reads plugin +# test data from ./tests-data, both relative to the ptest directory +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/conf ${D}${PTEST_PATH}/tests-data + cp -rf ${S}/conf/* ${D}${PTEST_PATH}/conf/ + cp -rf ${UNPACKDIR}/glances-tests-data/plugins ${D}${PTEST_PATH}/tests-data/ +} # psutil/jinja2/packaging are oe-core; fastapi/uvicorn/defusedxml are # meta-python. diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch index 3c602cebe5..0fbbee8b43 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2/0001-Avoid-do_configure-requires-check-error.patch @@ -1,3 +1,6 @@ +From b2ee22409705ee043d79550867e9002ab6e86672 Mon Sep 17 00:00:00 2001 +From: Liu Yiding <liuyd.fnst@fujitsu.com> +Date: Sat, 28 Feb 2026 17:01:58 +0800 Subject: [PATCH] Avoid do_configure requires check error. The gmpy2-2.3.0 need setuptools < 80, but version in oe-core is 80.9.0, @@ -14,7 +17,7 @@ Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index 1f00809..3a4f3e2 100644 +index 214d656..30d3f33 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ @@ -24,6 +27,3 @@ index 1f00809..3a4f3e2 100644 build-backend = 'setuptools.build_meta' [project] --- -2.43.0 - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.3.2.bb index 9bb3c96fbe..d1097801e8 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.3.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmpy2_2.3.2.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ DEPENDS += "gmp mpfr libmpc python3-setuptools-scm-native" -SRC_URI[sha256sum] = "313f35e9fe6b9ddf72759b14dac25166fe5757c970403e4bbf87a70ab2be07df" +SRC_URI[sha256sum] = "f20b7e2f8fd16f8d6846bb5b73359c3cc5aa41ec5cf266321d362f547c8fd097" SRC_URI += "file://0001-Avoid-do_configure-requires-check-error.patch" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.8.0.bb index f4dfaa345b..cdba352322 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.7.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gmqtt_0.8.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/wialon/gmqtt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=903f1792621a3b35ee546da75d139177" -SRC_URI[sha256sum] = "bedfec7bac26b6b4ce1f0c4c32cff3d663526a54c882d323d41560fc3b9b44a2" +SRC_URI[sha256sum] = "61fb7641109f57ca29f73d2d8f2cb487de49d76338ef8c68228db961b6e9696a" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.6.bb index 2f2738ce9a..e32afd1fbd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gnupg_0.5.6.bb @@ -4,10 +4,15 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dabe659eadd6d97325b1582e41cfc11" PYPI_PACKAGE = "python-gnupg" -SRC_URI[sha256sum] = "3fdcaf76f60a1b948ff8e37dc398d03cf9ce7427065d583082b92da7a4ff5a63" + +SRC_URI[sha256sum] = "5743e96212d38923fc19083812dc127907e44dbd3bcf0db4d657e291d3c21eac" + +CVE_PRODUCT = "python:python-gnupg" inherit pypi python_setuptools_build_meta +S = "${UNPACKDIR}/python-gnupg-${PV}" + DEPENDS += "python3-wheel-native" RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-core_2.44.0.bb index f21b41aab7..e5be0613dc 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-core_2.19.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-core_2.44.0.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/googleapis/python-api-core" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "f4695f1e3650b316a795108a76a1c416e6afb036199d1c1f1f110916df479ffd" +SRC_URI[sha256sum] = "5ab9a396965c1227d7dea4581e562b7018aa2bca96d2de0be5eb70dc9c8ab3a1" RDEPENDS:${PN} += "\ python3-asyncio \ @@ -18,8 +18,8 @@ RDEPENDS:${PN} += "\ python3-googleapis-common-protos \ python3-google-auth \ python3-grpcio \ + python3-opentelemetry-api \ + python3-proto-plus \ python3-protobuf \ - python3-pytz \ python3-requests \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb index 629f1b9e23..9dfb2d67dd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-api-python-client_2.136.0.bb @@ -8,9 +8,10 @@ SRC_URI[sha256sum] = "161c722c8864e7ed39393e2b7eea76ef4e1c933a6a59f9d7c70409b663 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "google-api-python-client" + RDEPENDS:${PN} += "\ python3-logging \ - python3-six \ python3-json \ python3-core \ python3-netclient \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib/0001-python3-google-auth-oauthlib-Skip-failing-3PI-creden.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib/0001-python3-google-auth-oauthlib-Skip-failing-3PI-creden.patch index 1309896b19..d956d6ba3b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib/0001-python3-google-auth-oauthlib-Skip-failing-3PI-creden.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib/0001-python3-google-auth-oauthlib-Skip-failing-3PI-creden.patch @@ -1,4 +1,4 @@ -From 7612367e4bd2a366365bf527c6672be55a133ee6 Mon Sep 17 00:00:00 2001 +From c1f52a2283c93151fe6455bfa61a0c74ac9418fe Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Thu, 20 Nov 2025 12:55:48 -0800 Subject: [PATCH] python3-google-auth-oauthlib: Skip failing 3PI credentials @@ -21,7 +21,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_helpers.py b/tests/unit/test_helpers.py -index 9df49de..6ec19f5 100644 +index fb49421..f1f5682 100644 --- a/tests/unit/test_helpers.py +++ b/tests/unit/test_helpers.py @@ -123,6 +123,7 @@ def test_credentials_from_session_granted_scopes(session): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb index e634a92261..b618c5f033 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth-oauthlib_1.5.0.bb @@ -5,10 +5,9 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI += "file://0001-python3-google-auth-oauthlib-Skip-failing-3PI-creden.patch" -SRC_URI[sha256sum] = "1a83f5f2a8421dedadaa3caf25b3a710dddf85a33a63144be41c2fc79174b106" +SRC_URI[sha256sum] = "b351107c7dd9017f426cbb0272ea1bc04f469020fd18f4443c7d40362e0b1510" inherit pypi setuptools3 ptest -PYPI_PACKAGE = "google_auth_oauthlib" SRC_URI += " \ file://run-ptest \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.57.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.57.0.bb index a89800c61e..7965a2e2b4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.57.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-google-auth_2.57.0.bb @@ -11,8 +11,6 @@ SRC_URI += " \ " SRC_URI[sha256sum] = "9b4f96d6a1feb5f7201231f47cfb3de08d8f176f8a61f9e461555116e95a8789" -PYPI_PACKAGE = "google_auth" - RDEPENDS:${PN}-ptest += " \ python3-aioresponses \ python3-cryptography \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.76.0.bb index 5539d19f68..444654a7c3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.63.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-googleapis-common-protos_1.76.0.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/googleapis/python-api-common-protos" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "27c5abdffc4911f28101e635de1533fb4cfd2c37fbaa9174587c799fac90aa87" +SRC_URI[sha256sum] = "71db0e44a1d4c2dd024ebad44ca67129cc1e2892e4861df466764749d5ef8642" RDEPENDS:${PN} += "\ python3-grpcio \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.6.0.bb index 3cbeeb772d..352fc77314 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpiod_2.6.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4b54a1fd55a448865a0b32d41598759d" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "53ae5a1f14d6388c155b591ca0fc0cfa73b44d4f6d8d117e8a9e68f5902d187a" +SRC_URI[sha256sum] = "1076f0384c63fdb9e4438508c511378c57b4236c6b43b65ad609d0dafdfcfd7d" inherit python_setuptools_build_meta python_pep517 ptest pypi diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb index d2cfbf46a0..436ade505f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gpsd-py3_0.3.0.bb @@ -4,10 +4,9 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://setup.py;beginline=10;endline=10;md5=c2d9994c57f0444e39f1dab19af50254" SRC_URI[sha256sum] = "2908d3bd78dfb6720ecfe22f97e139b5a4a198f38df3a77215cf644a33513192" - inherit pypi setuptools3 -CLEANBROKEN = "1" +PYPI_PACKAGE_SDIST = "gpsd-py3" RDEPENDS:${PN} += " \ python3 \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_3.5.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_3.5.6.bb index e246b7f253..83b9306480 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_3.5.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-greenlet_3.5.6.bb @@ -4,7 +4,7 @@ LICENSE = "MIT AND PSF-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e95668d68e4329085c7ab3535e6a7aee \ file://LICENSE.PSF;md5=c106931d9429eda0492617f037b8f69a" -SRC_URI[sha256sum] = "adb4bae02e91a8e863e48b177e4014bdcac8a6b5e047ea1df687a61534b85e6c" +SRC_URI[sha256sum] = "8e67c43bdfc88d5fee6db0d3e40175b362fc95fb85f0412d233b9b203c53a575" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.76.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.76.0.bb deleted file mode 100644 index 0f75a7a084..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.76.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Google gRPC channelz" -HOMEPAGE = "https://www.grpc.io/" -SECTION = "devel/python" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" - -inherit pypi setuptools3 - -DEPENDS += "python3-grpcio" -PYPI_PACKAGE = "grpcio_channelz" - -SRC_URI[sha256sum] = "2ab15ef7b2252a9ba31df500bbe295ce5310a8b01ea6f6d67a17172d914a41a8" - -RDEPENDS:${PN} = "python3-grpcio" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.85.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.85.1.bb new file mode 100644 index 0000000000..e8a82a0dfa --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-channelz_1.85.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Google gRPC channelz" +HOMEPAGE = "https://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fe8c552b7748e45c00ac55ac0257f6c9" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "bab93349a820e714c6b827e374bb10896dbf6acfa45df6b6ccfa9af13301e4da" + +DEPENDS += "python3-grpcio python3-wheel-native" + +RDEPENDS:${PN} = "python3-grpcio" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.76.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.76.0.bb deleted file mode 100644 index 910d795553..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.76.0.bb +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION = "Google gRPC reflection" -HOMEPAGE = "https://www.grpc.io/" -SECTION = "devel/python" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" - -inherit pypi setuptools3 - -DEPENDS += "python3-grpcio" -PYPI_PACKAGE = "grpcio_reflection" - -SRC_URI[sha256sum] = "e0e7e49921c2ee951e5ddff0bdbacbd1ac1a70888beb61d567f3d01b799decb1" - -RDEPENDS:${PN} = "python3-grpcio" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.85.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.85.1.bb new file mode 100644 index 0000000000..2ddfdca5d4 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-reflection_1.85.1.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Google gRPC reflection" +HOMEPAGE = "https://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fe8c552b7748e45c00ac55ac0257f6c9" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "a3257f35cc817e372cfe330ba3411fc0c61f23b09a94dd2d8f91185955c5533c" + +DEPENDS += "python3-grpcio python3-wheel-native" + +RDEPENDS:${PN} = "python3-grpcio" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch deleted file mode 100644 index 0293cfe650..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-protobuf-Disable-musttail-attribute-on-mips.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 668d3e577073e51cc7e98b42d89c1e2b9b4e04b4 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Fri, 16 Sep 2022 19:09:15 -0700 -Subject: [PATCH] protobuf: Disable musttail attribute on mips - -See https://github.com/llvm/llvm-project/issues/57795 - -Upstream-Status: Pending -Signed-off-by: Khem Raj <raj.khem@gmail.com> -Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> ---- - third_party/protobuf/src/google/protobuf/port_def.inc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/third_party/protobuf/src/google/protobuf/port_def.inc b/third_party/protobuf/src/google/protobuf/port_def.inc -index edd6d51..6ddaf80 100644 ---- a/third_party/protobuf/src/google/protobuf/port_def.inc -+++ b/third_party/protobuf/src/google/protobuf/port_def.inc -@@ -235,6 +235,7 @@ static_assert(PROTOBUF_ABSL_MIN(20230125, 3), - #error PROTOBUF_TAILCALL was previously defined - #endif - #if ABSL_HAVE_CPP_ATTRIBUTE(clang::musttail) && !defined(__arm__) && \ -+ !defined(__mips__) && \ - !defined(_ARCH_PPC) && !defined(__wasm__) && \ - !(defined(_MSC_VER) && defined(_M_IX86)) && !defined(__i386__) - // Compilation fails on ARM32: b/195943306 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch deleted file mode 100644 index b779d1441a..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 1f1f174ed3ca28bdf8bbb479eb1d948d934dcc53 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Wed, 17 Feb 2021 13:38:55 -0800 -Subject: [PATCH] setup.py: Do not mix C and C++ compiler options - -EXTRA_ENV_COMPILE_ARGS is used both with CC and CXX -so using -std=c++11 or -std=gnu99 together will cause -build time errors espcially with clang - -Keep '-std=c++11' to fix native build error -with old gcc (such as gcc 5.4.0 on ubuntu 16.04), for clang -we will remove them through GRPC_PYTHON_CFLAGS at do_compile -in bb recipe. - -While export CC="gcc ", cc_args is None, it will -cause subprocess.Popen always return 1. On centos 8, if you don't -install package libatomic, there will be a native build error -`cannot find /usr/lib64/libatomic.so.1.2.0'. - -Add no harm '-g' to cc_args if cc_args is empty. - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - setup.py | 10 ++++++---- - 1 file changed, 6 insertions(+), 4 deletions(-) - -diff --git a/setup.py b/setup.py -index ff27e67..964baf4 100644 ---- a/setup.py -+++ b/setup.py -@@ -90,9 +90,11 @@ def check_linker_need_libatomic(): - b"#include <atomic>\n" - + b"int main() { return std::atomic<int64_t>{}; }" - ) -- cxx = os.environ.get("CXX", "c++") -- cpp_test = subprocess.Popen( -- [cxx, "-x", "c++", "-std=c++17", "-"], -+ cxx, cxx_args = os.environ.get('CXX').split(' ', 1) or 'c++' -+ if not cxx_args: -+ cxx_args = "-g" -+ -+ cpp_test = subprocess.Popen([cxx, cxx_args, '-x', 'c++', '-std=c++17', '-'], - stdin=PIPE, - stdout=PIPE, - stderr=PIPE, -@@ -103,7 +105,7 @@ def check_linker_need_libatomic(): - # Double-check to see if -latomic actually can solve the problem. - # https://github.com/grpc/grpc/issues/22491 - cpp_test = subprocess.Popen( -- [cxx, "-x", "c++", "-std=c++17", "-", "-latomic"], -+ [cxx, cxx_args, '-x', 'c++', '-std=c++17', '-', '-latomic'], - stdin=PIPE, - stdout=PIPE, - stderr=PIPE, diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.76.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.76.0.bb deleted file mode 100644 index 447ece8594..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.76.0.bb +++ /dev/null @@ -1,27 +0,0 @@ -DESCRIPTION = "Google gRPC tools" -HOMEPAGE = "https://www.grpc.io/" -SECTION = "devel/python" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" - -inherit pypi setuptools3 - -PYPI_PACKAGE = "grpcio_tools" - -DEPENDS += "python3-grpcio" - -SRC_URI += "file://0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch \ - file://0001-protobuf-Disable-musttail-attribute-on-mips.patch \ - " -SRC_URI[sha256sum] = "ce80169b5e6adf3e8302f3ebb6cb0c3a9f08089133abca4b76ad67f751f5ad88" - -RDEPENDS:${PN} = "python3-grpcio" - -do_compile:prepend() { - export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" -} - -BBCLASSEXTEND = "native nativesdk" - -CVE_PRODUCT += "grpc:grpc" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.84.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.84.1.bb new file mode 100644 index 0000000000..91d14f719a --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio-tools_1.84.1.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "Google gRPC tools" +HOMEPAGE = "https://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=0bcf70029ff7f40a132bf95381ee0b2d" + +inherit pypi python_setuptools_build_meta cython + +DEPENDS += "python3-grpcio python3-wheel-native" + +SRC_URI[sha256sum] = "ca8a326df3441127d6709d992774844bb496db30b08f76ed5d1a912089e03f2c" + +RDEPENDS:${PN} = "python3-grpcio" + +do_configure:append() { + sed -i 's/"Cython==/"Cython>=/' ${S}/pyproject.toml +} + +do_compile:prepend() { + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="${@oe.utils.parallel_make(d, False)}" +} + +BBCLASSEXTEND = "native nativesdk" + +CVE_PRODUCT += "grpc:grpc" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-OpenSSL-4.0-compatibility.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-OpenSSL-4.0-compatibility.patch index 895ceab88c..9baa367d67 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-OpenSSL-4.0-compatibility.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-Fix-OpenSSL-4.0-compatibility.patch @@ -36,7 +36,7 @@ diff --git a/src/core/tsi/ssl_transport_security.cc b/src/core/tsi/ssl_transport index 6526d3f..ff03697 100644 --- a/src/core/tsi/ssl_transport_security.cc +++ b/src/core/tsi/ssl_transport_security.cc -@@ -406,9 +406,9 @@ static int looks_like_ip_address(absl::string_view name) { +@@ -1021,9 +1021,9 @@ static int looks_like_ip_address(absl::string_view name) { static tsi_result ssl_get_x509_common_name(X509* cert, unsigned char** utf8, size_t* utf8_size) { int common_name_index = -1; @@ -49,7 +49,7 @@ index 6526d3f..ff03697 100644 int utf8_returned_size = 0; if (subject_name == nullptr) { VLOG(2) << "Could not get subject name from certificate."; -@@ -466,7 +466,7 @@ static tsi_result peer_property_from_x509_common_name( +@@ -1081,7 +1081,7 @@ static tsi_result peer_property_from_x509_common_name( static tsi_result peer_property_from_x509_subject(X509* cert, tsi_peer_property* property, bool is_verified_root_cert) { @@ -58,7 +58,7 @@ index 6526d3f..ff03697 100644 if (subject_name == nullptr) { GRPC_TRACE_LOG(tsi, INFO) << "Could not get subject name from certificate."; return TSI_NOT_FOUND; -@@ -562,16 +562,16 @@ static tsi_result add_subject_alt_names_properties_to_peer( +@@ -1177,16 +1177,16 @@ static tsi_result add_subject_alt_names_properties_to_peer( char ntop_buf[INET6_ADDRSTRLEN]; int af; @@ -78,7 +78,7 @@ index 6526d3f..ff03697 100644 ntop_buf, INET6_ADDRSTRLEN); if (name == nullptr) { LOG(ERROR) << "Could not get IP string from asn1 octet."; -@@ -855,13 +855,12 @@ static tsi_result x509_store_load_certs(X509_STORE* cert_store, +@@ -1472,13 +1472,12 @@ static tsi_result x509_store_load_certs(X509_STORE* cert_store, break; // We're at the end of stream. } if (root_names != nullptr) { @@ -97,13 +97,13 @@ diff --git a/src/core/tsi/ssl_transport_security_utils.cc b/src/core/tsi/ssl_tra index 8f6607c..93876bb 100644 --- a/src/core/tsi/ssl_transport_security_utils.cc +++ b/src/core/tsi/ssl_transport_security_utils.cc -@@ -281,11 +281,11 @@ bool VerifyCrlCertIssuerNamesMatch(X509_CRL* crl, X509* cert) { +@@ -282,11 +282,11 @@ bool VerifyCrlCertIssuerNamesMatch(X509_CRL* crl, X509* cert) { if (cert == nullptr || crl == nullptr) { return false; } - X509_NAME* cert_issuer_name = X509_get_issuer_name(cert); + auto* cert_issuer_name = X509_get_issuer_name(cert); - if (cert == nullptr) { + if (cert_issuer_name == nullptr) { return false; } - X509_NAME* crl_issuer_name = X509_CRL_get_issuer(crl); @@ -111,7 +111,7 @@ index 8f6607c..93876bb 100644 if (crl_issuer_name == nullptr) { return false; } -@@ -316,7 +316,7 @@ absl::StatusOr<std::string> IssuerFromCert(X509* cert) { +@@ -317,7 +317,7 @@ absl::StatusOr<std::string> IssuerFromCert(X509* cert) { if (cert == nullptr) { return absl::InvalidArgumentError("cert cannot be null"); } @@ -120,7 +120,7 @@ index 8f6607c..93876bb 100644 unsigned char* buf = nullptr; int len = i2d_X509_NAME(issuer, &buf); if (len < 0 || buf == nullptr) { -@@ -331,7 +331,7 @@ absl::StatusOr<std::string> AkidFromCertificate(X509* cert) { +@@ -332,7 +332,7 @@ absl::StatusOr<std::string> AkidFromCertificate(X509* cert) { if (cert == nullptr) { return absl::InvalidArgumentError("cert cannot be null."); } @@ -129,7 +129,7 @@ index 8f6607c..93876bb 100644 int j = X509_get_ext_by_NID(cert, NID_authority_key_identifier, -1); // Can't have multiple occurrences if (j >= 0) { -@@ -356,7 +356,7 @@ absl::StatusOr<std::string> AkidFromCrl(X509_CRL* crl) { +@@ -357,7 +357,7 @@ absl::StatusOr<std::string> AkidFromCrl(X509_CRL* crl) { if (crl == nullptr) { return absl::InvalidArgumentError("Could not get AKID from crl."); } diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch index bfc471f3fe..91d3257eda 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio/0001-python-enable-unbundled-cross-compilation.patch @@ -16,7 +16,7 @@ diff --git a/setup.py b/setup.py index 39ca17e..bffa9fb 100644 --- a/setup.py +++ b/setup.py -@@ -318,25 +318,25 @@ if BUILD_WITH_SYSTEM_OPENSSL: +@@ -341,25 +341,25 @@ if BUILD_WITH_SYSTEM_OPENSSL: lambda x: "third_party/boringssl" not in x, CORE_C_FILES ) CORE_C_FILES = filter(lambda x: "src/boringssl" not in x, CORE_C_FILES) diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.84.1.bb index 5cd530f1c4..fc22d4b481 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.78.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-grpcio_1.84.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://www.grpc.io/" SECTION = "devel/python" LICENSE = "Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND MPL-2.0" LIC_FILES_CHKSUM = " \ - file://LICENSE;md5=731e401b36f8077ae0c134b59be5c906 \ + file://LICENSE;md5=fe8c552b7748e45c00ac55ac0257f6c9 \ file://third_party/utf8_range/utf8_validity.h;beginline=1;endline=5;md5=db08ddb5817e660489678e7c3653805a \ file://third_party/xxhash/xxhash.h;beginline=1;endline=34;md5=d41d564db2353fc80a713956d85b1690 \ " @@ -14,7 +14,7 @@ SRC_URI += "file://0001-python-enable-unbundled-cross-compilation.patch \ file://0001-Fix-OpenSSL-4.0-compatibility.patch \ file://abseil-ppc-fixes.patch \ " -SRC_URI[sha256sum] = "7382b95189546f375c174f53a5fa873cef91c4b8005faa05cc5b3beea9c4f1c5" +SRC_URI[sha256sum] = "446e7876b9b991fa124c1d414899fa7cf95f89a3e71237ea0161863dc0b2c09f" RDEPENDS:${PN} = "python3-protobuf python3-typing-extensions" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_26.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_26.2.0.bb index 2f27264192..e19be89360 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_26.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-gunicorn_26.2.0.bb @@ -3,7 +3,7 @@ SUMMARY = "WSGI HTTP Server for UNIX" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5dc9171ccd8fcbd7827c850148b3ca98" -SRC_URI[sha256sum] = "1413d777bf99d31ebeb08acd354b01f1ecc44db0aa7b811ae7b86c669232e4f7" +SRC_URI[sha256sum] = "62b864895d9ebff0b2f9867ba04fe811c93121596540830c9c916d0769668447" inherit pypi python_setuptools_build_meta ptest @@ -41,3 +41,5 @@ EOF } RDEPENDS:${PN} += "python3-setuptools python3-fcntl" + +CVE_STATUS[CVE-2024-1135] = "fixed-version: fixed since v22.0.0" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.16.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.16.0.bb index 883aeb2033..00e9c04134 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.16.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-h5py_3.16.0.bb @@ -14,13 +14,11 @@ BBCLASSEXTEND = "native" DEPENDS = "python3-pkgconfig-native \ python3-numpy-native \ - python3-six-native \ hdf5-native \ python3 \ hdf5 \ " RDEPENDS:${PN} = "python3-numpy \ - python3-six \ python3-json \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb index 8b3218790e..afbec16e3c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hatch-requirements-txt_0.4.1.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=58206c261591d2c13b00ab61cec32abe" SRC_URI[sha256sum] = "2c686e5758fd05bb55fa7d0c198fdd481f8d3aaa3c693260f5c0d74ce3547d20" -PYPI_PACKAGE = "hatch_requirements_txt" - inherit pypi python_hatchling BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine/0001-Fall-back-to-the-pure-Python-kernels-if-numba-fails-.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine/0001-Fall-back-to-the-pure-Python-kernels-if-numba-fails-.patch new file mode 100644 index 0000000000..6e20534799 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine/0001-Fall-back-to-the-pure-Python-kernels-if-numba-fails-.patch @@ -0,0 +1,40 @@ +From 5f199ca92d651d653cb26b4fb6c48ba91137bec5 Mon Sep 17 00:00:00 2001 +From: Thomas Roos <thomas@roosesweb.de> +Date: Sat, 7 Nov 2026 11:45:31 +0100 +Subject: [PATCH] Fall back to the pure Python kernels if numba fails to import + +numba is an optional accelerator, but importing it can fail with an +ImportError other than ModuleNotFoundError, for instance when the +installed NumPy is newer than numba supports: + + ImportError: Numba needs NumPy 2.4 or less. Got NumPy 2.5. + +That error escaped and made "import haversine" fail. Catch ImportError, +which also covers ModuleNotFoundError, so haversine keeps working +without numba. + +Upstream-Status: Submitted [https://github.com/mapado/haversine/pull/91] +AI-Generated: Claude Code, Claude Opus 5.5 +Signed-off-by: Thomas Roos <thomas@roosesweb.de> +--- + haversine/haversine.py | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/haversine/haversine.py b/haversine/haversine.py +index a731188..687b602 100755 +--- a/haversine/haversine.py ++++ b/haversine/haversine.py +@@ -176,7 +176,9 @@ try: + _inverse_haversine_kernel_vector = numba.njit(fastmath=True)(_inverse_haversine_kernel_vector) + _haversine_kernel = numba.njit(_haversine_kernel) + _inverse_haversine_kernel = numba.njit(_inverse_haversine_kernel) +-except ModuleNotFoundError: ++except ImportError: ++ # numba is optional. Besides being absent, it can refuse to import, e.g. ++ # "Numba needs NumPy 2.4 or less", which must not break haversine. + pass + + +-- +2.56.0 + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb index 2dfb3356a7..439ff98371 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-haversine_2.9.0.bb @@ -2,6 +2,7 @@ SUMMARY = "Calculate the distance between 2 points on Earth" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=20a52d2c688975e989fcbee3e6c8d1a1" +SRC_URI += "file://0001-Fall-back-to-the-pure-Python-kernels-if-numba-fails-.patch" SRC_URI[sha256sum] = "1103d7e1f0f108c25b31b63452c54d9d6f29389a70de7dd75fd4b908329b6fcf" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_1.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_2.0.0.bb index 79eb54255e..d55341c544 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_1.3.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-hexbytes_2.0.0.bb @@ -4,9 +4,14 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=a26e64020156e806cf0054a6d504b301" -SRC_URI[sha256sum] = "a657eebebdfe27254336f98d8af6e2236f3f83aed164b87466b6cf6c5f5a4765" +SRC_URI[sha256sum] = "01312fcd5c57e8a8d2d7dd3274dcf84ea50422aff2abcc2d9fd89ad6a32498e5" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + python3-wheel-native \ + python3-setuptools-scm-native \ +" RDEPENDS:${PN} += " \ python3-core \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib/0001-Drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib/0001-Drop-the-six-dependency.patch new file mode 100644 index 0000000000..f83c7de34e --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib/0001-Drop-the-six-dependency.patch @@ -0,0 +1,397 @@ +From 2d62ee4926f2597839b59201504a6075651b2978 Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Fri, 18 Sep 2026 11:22:50 +0200 +Subject: [PATCH] Drop the six dependency + +html5lib only runs on Python 3 nowadays, so the six shims can be replaced by +their builtins: text_type/string_types by str, binary_type by bytes, unichr by +chr, viewkeys by dict.keys, with_metaclass by the metaclass keyword and the +six.moves imports by http.client, urllib.response and urllib.parse. The PY3 +branches collapse to their Python 3 half. + +Upstream-Status: Submitted [https://github.com/html5lib/html5lib-python/pull/581] +Signed-off-by: Markus Volk <f_l_k@t-online.de> +--- + html5lib/_inputstream.py | 8 ++++---- + html5lib/_tokenizer.py | 1 - + html5lib/_trie/py.py | 3 +-- + html5lib/_utils.py | 14 +++----------- + html5lib/filters/lint.py | 29 ++++++++++++++--------------- + html5lib/filters/sanitizer.py | 2 +- + html5lib/html5parser.py | 5 ++--- + html5lib/serializer.py | 5 ++--- + html5lib/treebuilders/base.py | 5 ++--- + html5lib/treebuilders/etree.py | 3 +-- + html5lib/treebuilders/etree_lxml.py | 6 +----- + html5lib/treewalkers/etree.py | 3 +-- + html5lib/treewalkers/etree_lxml.py | 3 +-- + setup.py | 1 - + 14 files changed, 33 insertions(+), 55 deletions(-) + +diff --git a/html5lib/_inputstream.py b/html5lib/_inputstream.py +index 0207dd2..5a2fc8c 100644 +--- a/html5lib/_inputstream.py ++++ b/html5lib/_inputstream.py +@@ -1,7 +1,7 @@ + from __future__ import absolute_import, division, unicode_literals + +-from six import text_type +-from six.moves import http_client, urllib ++import http.client as http_client ++import urllib.response + + import codecs + import re +@@ -131,9 +131,9 @@ def HTMLInputStream(source, **kwargs): + isinstance(source.fp, http_client.HTTPResponse))): + isUnicode = False + elif hasattr(source, "read"): +- isUnicode = isinstance(source.read(0), text_type) ++ isUnicode = isinstance(source.read(0), str) + else: +- isUnicode = isinstance(source, text_type) ++ isUnicode = isinstance(source, str) + + if isUnicode: + encodings = [x for x in kwargs if x.endswith("_encoding")] +diff --git a/html5lib/_tokenizer.py b/html5lib/_tokenizer.py +index 4748a19..5b20f49 100644 +--- a/html5lib/_tokenizer.py ++++ b/html5lib/_tokenizer.py +@@ -1,6 +1,5 @@ + from __future__ import absolute_import, division, unicode_literals + +-from six import unichr as chr + + from collections import deque, OrderedDict + from sys import version_info +diff --git a/html5lib/_trie/py.py b/html5lib/_trie/py.py +index c2ba3da..cfe7513 100644 +--- a/html5lib/_trie/py.py ++++ b/html5lib/_trie/py.py +@@ -1,5 +1,4 @@ + from __future__ import absolute_import, division, unicode_literals +-from six import text_type + + from bisect import bisect_left + +@@ -8,7 +7,7 @@ from ._base import Trie as ABCTrie + + class Trie(ABCTrie): + def __init__(self, data): +- if not all(isinstance(x, text_type) for x in data.keys()): ++ if not all(isinstance(x, str) for x in data.keys()): + raise TypeError("All keys must be strings") + + self._data = data +diff --git a/html5lib/_utils.py b/html5lib/_utils.py +index 9ea5794..5bc56ec 100644 +--- a/html5lib/_utils.py ++++ b/html5lib/_utils.py +@@ -7,15 +7,7 @@ try: + except ImportError: + from collections import Mapping + +-from six import text_type, PY3 +- +-if PY3: +- import xml.etree.ElementTree as default_etree +-else: +- try: +- import xml.etree.cElementTree as default_etree +- except ImportError: +- import xml.etree.ElementTree as default_etree ++import xml.etree.ElementTree as default_etree + + + __all__ = ["default_etree", "MethodDispatcher", "isSurrogatePair", +@@ -31,10 +23,10 @@ __all__ = ["default_etree", "MethodDispatcher", "isSurrogatePair", + # escapes. + try: + _x = eval('"\\uD800"') # pylint:disable=eval-used +- if not isinstance(_x, text_type): ++ if not isinstance(_x, str): + # We need this with u"" because of http://bugs.jython.org/issue2039 + _x = eval('u"\\uD800"') # pylint:disable=eval-used +- assert isinstance(_x, text_type) ++ assert isinstance(_x, str) + except Exception: + supports_lone_surrogates = False + else: +diff --git a/html5lib/filters/lint.py b/html5lib/filters/lint.py +index acd4d7a..e012fb8 100644 +--- a/html5lib/filters/lint.py ++++ b/html5lib/filters/lint.py +@@ -1,6 +1,5 @@ + from __future__ import absolute_import, division, unicode_literals + +-from six import text_type + + from . import base + from ..constants import namespaces, voidElements +@@ -33,9 +32,9 @@ class Filter(base.Filter): + if type in ("StartTag", "EmptyTag"): + namespace = token["namespace"] + name = token["name"] +- assert namespace is None or isinstance(namespace, text_type) ++ assert namespace is None or isinstance(namespace, str) + assert namespace != "" +- assert isinstance(name, text_type) ++ assert isinstance(name, str) + assert name != "" + assert isinstance(token["data"], dict) + if (not namespace or namespace == namespaces["html"]) and name in voidElements: +@@ -45,18 +44,18 @@ class Filter(base.Filter): + if type == "StartTag" and self.require_matching_tags: + open_elements.append((namespace, name)) + for (namespace, name), value in token["data"].items(): +- assert namespace is None or isinstance(namespace, text_type) ++ assert namespace is None or isinstance(namespace, str) + assert namespace != "" +- assert isinstance(name, text_type) ++ assert isinstance(name, str) + assert name != "" +- assert isinstance(value, text_type) ++ assert isinstance(value, str) + + elif type == "EndTag": + namespace = token["namespace"] + name = token["name"] +- assert namespace is None or isinstance(namespace, text_type) ++ assert namespace is None or isinstance(namespace, str) + assert namespace != "" +- assert isinstance(name, text_type) ++ assert isinstance(name, str) + assert name != "" + if (not namespace or namespace == namespaces["html"]) and name in voidElements: + assert False, "Void element reported as EndTag token: %(tag)s" % {"tag": name} +@@ -66,26 +65,26 @@ class Filter(base.Filter): + + elif type == "Comment": + data = token["data"] +- assert isinstance(data, text_type) ++ assert isinstance(data, str) + + elif type in ("Characters", "SpaceCharacters"): + data = token["data"] +- assert isinstance(data, text_type) ++ assert isinstance(data, str) + assert data != "" + if type == "SpaceCharacters": + assert data.strip(spaceCharacters) == "" + + elif type == "Doctype": + name = token["name"] +- assert name is None or isinstance(name, text_type) +- assert token["publicId"] is None or isinstance(name, text_type) +- assert token["systemId"] is None or isinstance(name, text_type) ++ assert name is None or isinstance(name, str) ++ assert token["publicId"] is None or isinstance(name, str) ++ assert token["systemId"] is None or isinstance(name, str) + + elif type == "Entity": +- assert isinstance(token["name"], text_type) ++ assert isinstance(token["name"], str) + + elif type == "SerializerError": +- assert isinstance(token["data"], text_type) ++ assert isinstance(token["data"], str) + + else: + assert False, "Unknown token type: %(type)s" % {"type": type} +diff --git a/html5lib/filters/sanitizer.py b/html5lib/filters/sanitizer.py +index 70ef906..b949127 100644 +--- a/html5lib/filters/sanitizer.py ++++ b/html5lib/filters/sanitizer.py +@@ -12,7 +12,7 @@ import re + import warnings + from xml.sax.saxutils import escape, unescape + +-from six.moves import urllib_parse as urlparse ++import urllib.parse as urlparse + + from . import base + from ..constants import namespaces, prefixes +diff --git a/html5lib/html5parser.py b/html5lib/html5parser.py +index 74d829d..653f49a 100644 +--- a/html5lib/html5parser.py ++++ b/html5lib/html5parser.py +@@ -1,5 +1,4 @@ + from __future__ import absolute_import, division, unicode_literals +-from six import with_metaclass, viewkeys + + import types + +@@ -423,7 +422,7 @@ def getPhases(debug): + return type + + # pylint:disable=unused-argument +- class Phase(with_metaclass(getMetaclass(debug, log))): ++ class Phase(metaclass=getMetaclass(debug, log)): + """Base class for helper object that implements each phase of processing + """ + __slots__ = ("parser", "tree", "__startTagCache", "__endTagCache") +@@ -2776,7 +2775,7 @@ def getPhases(debug): + + + def adjust_attributes(token, replacements): +- needs_adjustment = viewkeys(token['data']) & viewkeys(replacements) ++ needs_adjustment = token['data'].keys() & replacements.keys() + if needs_adjustment: + token['data'] = type(token['data'])((replacements.get(k, k), v) + for k, v in token['data'].items()) +diff --git a/html5lib/serializer.py b/html5lib/serializer.py +index c66df68..e3b8ea5 100644 +--- a/html5lib/serializer.py ++++ b/html5lib/serializer.py +@@ -1,5 +1,4 @@ + from __future__ import absolute_import, division, unicode_literals +-from six import text_type + + import re + +@@ -222,14 +221,14 @@ class HTMLSerializer(object): + self.strict = False + + def encode(self, string): +- assert(isinstance(string, text_type)) ++ assert(isinstance(string, str)) + if self.encoding: + return string.encode(self.encoding, "htmlentityreplace") + else: + return string + + def encodeStrict(self, string): +- assert(isinstance(string, text_type)) ++ assert(isinstance(string, str)) + if self.encoding: + return string.encode(self.encoding, "strict") + else: +diff --git a/html5lib/treebuilders/base.py b/html5lib/treebuilders/base.py +index e4a3d71..24759e9 100644 +--- a/html5lib/treebuilders/base.py ++++ b/html5lib/treebuilders/base.py +@@ -1,5 +1,4 @@ + from __future__ import absolute_import, division, unicode_literals +-from six import text_type + + from ..constants import scopingElements, tableInsertModeElements, namespaces + +@@ -199,7 +198,7 @@ class TreeBuilder(object): + # match any node with that name + exactNode = hasattr(target, "nameTuple") + if not exactNode: +- if isinstance(target, text_type): ++ if isinstance(target, str): + target = (namespaces["html"], target) + assert isinstance(target, tuple) + +@@ -322,7 +321,7 @@ class TreeBuilder(object): + + def insertElementNormal(self, token): + name = token["name"] +- assert isinstance(name, text_type), "Element %s not unicode" % name ++ assert isinstance(name, str), "Element %s not unicode" % name + namespace = token.get("namespace", self.defaultNamespace) + element = self.elementClass(name, namespace) + element.attributes = token["data"] +diff --git a/html5lib/treebuilders/etree.py b/html5lib/treebuilders/etree.py +index 086bed4..eb1f026 100644 +--- a/html5lib/treebuilders/etree.py ++++ b/html5lib/treebuilders/etree.py +@@ -1,7 +1,6 @@ + from __future__ import absolute_import, division, unicode_literals + # pylint:disable=protected-access + +-from six import text_type + + import re + +@@ -222,7 +221,7 @@ def getETreeBuilder(ElementTreeImplementation, fullTree=False): + elif element.tag == ElementTreeCommentType: + rv.append("|%s<!-- %s -->" % (' ' * indent, element.text)) + else: +- assert isinstance(element.tag, text_type), \ ++ assert isinstance(element.tag, str), \ + "Expected unicode, got %s, %s" % (type(element.tag), element.tag) + nsmatch = tag_regexp.match(element.tag) + +diff --git a/html5lib/treebuilders/etree_lxml.py b/html5lib/treebuilders/etree_lxml.py +index e73de61..b13b23b 100644 +--- a/html5lib/treebuilders/etree_lxml.py ++++ b/html5lib/treebuilders/etree_lxml.py +@@ -28,7 +28,6 @@ from . import etree as etree_builders + from .. import _ihatexml + + import lxml.etree as etree +-from six import PY3, binary_type + + + fullTree = True +@@ -207,10 +206,7 @@ class TreeBuilder(base.TreeBuilder): + return name + + def __getitem__(self, key): +- value = self._element._element.attrib[self._coerceKey(key)] +- if not PY3 and isinstance(value, binary_type): +- value = value.decode("ascii") +- return value ++ return self._element._element.attrib[self._coerceKey(key)] + + def __setitem__(self, key, value): + self._element._element.attrib[self._coerceKey(key)] = value +diff --git a/html5lib/treewalkers/etree.py b/html5lib/treewalkers/etree.py +index 4465337..0bfd81f 100644 +--- a/html5lib/treewalkers/etree.py ++++ b/html5lib/treewalkers/etree.py +@@ -3,7 +3,6 @@ from __future__ import absolute_import, division, unicode_literals + from collections import OrderedDict + import re + +-from six import string_types + + from . import base + from .._utils import moduleFactoryFactory +@@ -51,7 +50,7 @@ def getETreeBuilder(ElementTreeImplementation): + return base.COMMENT, node.text + + else: +- assert isinstance(node.tag, string_types), type(node.tag) ++ assert isinstance(node.tag, str), type(node.tag) + # This is assumed to be an ordinary element + match = tag_regexp.match(node.tag) + if match: +diff --git a/html5lib/treewalkers/etree_lxml.py b/html5lib/treewalkers/etree_lxml.py +index a614ac5..9514f57 100644 +--- a/html5lib/treewalkers/etree_lxml.py ++++ b/html5lib/treewalkers/etree_lxml.py +@@ -1,5 +1,4 @@ + from __future__ import absolute_import, division, unicode_literals +-from six import text_type + + from collections import OrderedDict + +@@ -14,7 +13,7 @@ from .. import _ihatexml + def ensure_str(s): + if s is None: + return None +- elif isinstance(s, text_type): ++ elif isinstance(s, str): + return s + else: + return s.decode("ascii", "strict") +diff --git a/setup.py b/setup.py +index f84c128..b195d30 100644 +--- a/setup.py ++++ b/setup.py +@@ -104,7 +104,6 @@ setup(name='html5lib', + maintainer_email='james@hoppipolla.co.uk', + packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), + install_requires=[ +- 'six>=1.9', + 'webencodings', + ], + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", +-- +2.55.0 + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb index 9c92164546..2447acde39 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-html5lib_1.1.bb @@ -4,13 +4,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c" SRC_URI += "file://0001-setup.py-fix-version-parsing-on-Python-3.14-ast.Str-.patch" SRC_URI += "file://0001-setup.py-make-pkg_resources-import-optional-for-Pyth.patch" +SRC_URI += "file://0001-Drop-the-six-dependency.patch" SRC_URI[sha256sum] = "b2e5b40261e20f354d198eae92afc10d750afb487ed5e50f9c4eaf07c184146f" inherit pypi setuptools3 RDEPENDS:${PN} += "\ python3-lxml \ - python3-six \ python3-webencodings \ python3-xml \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb new file mode 100644 index 0000000000..03718729c1 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpcore2_2.16.0.bb @@ -0,0 +1,26 @@ +SUMMARY = "A minimal low-level HTTP client" +DESCRIPTION = "The HTTP core package of httpx2: connection pooling, \ + HTTP/1.1 and HTTP/2 transport and proxy support." +HOMEPAGE = "https://github.com/pydantic/httpx2" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=77c5a523c15d4a5887b081bba41ca110" + +SRC_URI[sha256sum] = "c72cd0413563b17e1cd8354677dff887466f8ec2551679759e93126534428643" + +inherit pypi python_hatchling + +DEPENDS += "\ + python3-uv-dynamic-versioning-native \ + python3-hatch-fancy-pypi-readme-native \ + python3-jinja2-native \ + python3-tomlkit-native \ + python3-dunamai-native \ +" + +# anyio comes from the "asyncio" extra, which httpx2 needs for its async +# client. +RDEPENDS:${PN} += "\ + python3-anyio \ + python3-h11 \ + python3-truststore \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.32.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.32.1.bb index 341cb3dd04..54af71c097 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.32.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httplib2_0.32.1.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=56e5e931172b6164b62dc7c4aba6c8cf" -SRC_URI[sha256sum] = "48a0ef30a42db65d8f3399045e1d09ab0ba66e3b9efc360d07f80ea55d286025" +SRC_URI[sha256sum] = "37900eb8a74576bd99fc39ae1dc8409f95f965d45b56cbcb2194bb55f58a90e1" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch index 16280d7074..161a953ddf 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools/0001-pyproject.toml-relax-setuptools-upper-bound.patch @@ -1,4 +1,4 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From f200709624ae981ba284885744081e90c5bdc4fa Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Wed, 8 Jul 2026 00:00:00 +0000 Subject: [PATCH] pyproject.toml: relax setuptools upper bound @@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index 1111111..2222222 100644 +index beed202..60e22aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.9.0.bb index 7a4d567248..6bfd801812 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httptools_0.9.0.bb @@ -6,4 +6,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=0a2d82955bf3facdf04cb882655e840e" inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch" -SRC_URI[sha256sum] = "6b2a32f18d97e16e90827d7a819ffa8dbd8cc245fc4e1fa9d1095b54ef4bd999" +SRC_URI[sha256sum] = "d484ebb7e3a3f3597b0f645fbd1b85633674ca808c1f5ba11c2caf7c66f5c8b6" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx2_2.12.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx2_2.16.0.bb index 0d16318a47..5478522592 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx2_2.12.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-httpx2_2.16.0.bb @@ -2,7 +2,7 @@ SUMMARY = "The next generation HTTP client." LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=166cfc32dc0986f87a7e950553b52e5e" -SRC_URI[sha256sum] = "7631fe9887a8a2275f4a2540e053aa670fcc50742864a9ae7c66e609fdcf12cf" +SRC_URI[sha256sum] = "0d54c98128e8f2ff7fbbde0fca8c359e5f032edeaaaac443cdb7f31f685bcd7f" inherit pypi python_hatchling @@ -15,8 +15,11 @@ DEPENDS += " \ " RDEPENDS:${PN} += " \ + python3-anyio \ python3-core \ - python3-logging \ python3-h2 \ + python3-httpcore2 \ python3-idna \ + python3-logging \ + python3-truststore \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-huey_3.3.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-huey_3.5.4.bb index a9103cdf9c..9a5bd19d0b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-huey_3.3.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-huey_3.5.4.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=5cac039fcc82f01141cc170b48f315d4" -SRC_URI[sha256sum] = "6de196c6ece2e38b5173f7510600091ab035c0e86b0958d0e5b38a82b9984666" +SRC_URI[sha256sum] = "328f5a2dd1406621e5edb17d45655ae232ad9f32c0795ca8dc0bfc121dd7b30c" RDEPENDS:${PN} += " \ python3-datetime \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch index d3a05972c3..b159d24a17 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu/0001-Fix-host-contamination-of-include-files.patch @@ -1,4 +1,4 @@ -From 5648531ec5f77f5270ddf5c7e49ade5c160669bc Mon Sep 17 00:00:00 2001 +From 2fe99147f24049694c02f857c9bcc900575d8de1 Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Fri, 16 Apr 2021 10:48:36 -0700 Subject: [PATCH] Fix host contamination of include files @@ -16,7 +16,7 @@ Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py -index 8a975e5..e85fdd3 100644 +index b87ae66..4c81aa0 100644 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ elif platform.startswith('freebsd'): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.16.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.17.bb index f700aafbb8..5ebde78dd6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.16.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.17.bb @@ -9,7 +9,7 @@ DEPENDS += "icu" PYPI_PACKAGE = "pyicu" -SRC_URI[sha256sum] = "006d51e24b5ec76df6ec2130f3dde269c51db8b8cfebb7d45a427dde0d10aa52" +SRC_URI[sha256sum] = "6138b95ac9592fa3983bf489e0c625e8fcfffd0c562a36a08269cecc4ffb48be" SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-identify_2.6.19.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-identify_2.6.20.bb index e6ad7ab727..62b72df24e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-identify_2.6.19.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-identify_2.6.20.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bbdc006359f3157660173ec7f133a80e" inherit pypi setuptools3 -SRC_URI[sha256sum] = "6be5020c38fcb07da56c53733538a3081ea5aa70d36a156f83044bfbf9173842" +SRC_URI[sha256sum] = "ad729860a923858d26917c2f4fb0a1d83d27a75b1e090c06440c573f048f3285" RDEPENDS:${PN} = " \ python3-ukkonen \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb index cc431b33bd..405e23b2f5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb @@ -5,9 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073" SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c" - inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "idna-ssl" + RDEPENDS:${PN} += " \ python3-idna \ python3-io \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.37.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.38.1.bb index de59f27c89..d0d3166f2f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.37.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imageio_2.38.1.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=6c492278d46e42af592aa26d7cab1e54" -SRC_URI[sha256sum] = "e45cbc5e83502047fb138f7f585f7f105a136a57eea5f4b3cfc6ce1b52720bd3" +SRC_URI[sha256sum] = "6769f1f01c4dd46448307863a787c9a22fa4dbe11c0c88f525c6e410fdfd7983" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imgtool_2.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imgtool_2.5.0.bb index 6b88fc0535..6ba236e89a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imgtool_2.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-imgtool_2.5.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] = "ef2db1d9e3f62b9bc9425a8e86c4ea7212c164f0a16e923d55250f0d8743342e" +SRC_URI[sha256sum] = "226b5029beb0cdb490095edd59ccfa32edfa7b31450c2683b44b1abb772e80d9" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_9.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_10.1.0.bb index 623f75756a..10ceed1515 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_9.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-importlib-metadata_10.1.0.bb @@ -5,15 +5,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=affe5a7d8b988c3db245c01075b29e17" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "importlib_metadata" - -SRC_URI[sha256sum] = "ab830580bc0ef3db61ce8fae716389e5462b67e033018bab6d8f80ef17172f99" - -S = "${UNPACKDIR}/importlib_metadata-${PV}" +SRC_URI[sha256sum] = "82b04047fa09792c1a8cfeddfe08bec79e4b13c29c8469b0d3949860f61017e8" DEPENDS += "python3-setuptools-scm-native python3-coherent-licensed-native" -RDEPENDS:${PN} += "python3-zipp" -RDEPENDS:${PN}:append:class-target = " python3-misc" -RDEPENDS:${PN}:append:class-nativesdk = " python3-misc" +RDEPENDS:${PN} += "python3-misc python3-zipp" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.35.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.36.1.bb index d9eea29c1f..5d25934fa1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.35.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-inline-snapshot_0.36.1.bb @@ -4,12 +4,10 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=7a35eb90dfdf03953dd2074d0fdba1d4" DEPENDS = "python3-hatchling-native" -SRC_URI[sha256sum] = "82432a58b7ea77a172515f5024cd26fdea8dc0f873c7a4251e4e0471a914db14" +SRC_URI[sha256sum] = "ff57828c691eaafe03426de25f2c21a1e382905dcbe110934df862297e8c5f8a" inherit pypi python_hatchling -PYPI_PACKAGE = "inline_snapshot" - RDEPENDS:${PN} = "python3-asttokens \ python3-black \ python3-click \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb index dd9f88748b..9ac3a0d39f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-intervals_1.10.0.bb @@ -6,6 +6,7 @@ LICENSE = "LGPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=05f1e16a8e59ce3e9a979e881816c2ab" PYPI_PACKAGE := "python-intervals" +PYPI_PACKAGE_SDIST := "python-intervals" inherit pypi setuptools3 ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.2.bb index 631354dece..1e128e8370 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.01.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipy_1.2.bb @@ -9,12 +9,10 @@ HOMEPAGE = "https://github.com/autocracy/python-ipy" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=848d24919845901b4f48bae5f13252e6" -SRC_URI[sha256sum] = "edeca741dea2d54aca568fa23740288c3fe86c0f3ea700344571e9ef14a7cc1a" +SRC_URI[sha256sum] = "c145e664e84642fac875a043fab1a0b50bd65297385dc438dbfe25f24e65ac61" inherit pypi setuptools3_legacy ptest-python-pytest PTEST_PYTEST_DIR = "test" -PYPI_PACKAGE = "IPy" - BBCLASSEXTEND = "native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb index d880d88d2d..648b51cb73 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython-genutils_0.2.0.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://ipython.org" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.md;md5=f7c3032c3ac398265224533a0a333a35" -PYPI_PACKAGE = "ipython_genutils" - SRC_URI[sha256sum] = "eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8" inherit setuptools3 pypi diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_9.17.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_9.18.1.bb index 8e4b26cf23..51f00db142 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_9.17.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ipython_9.18.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://ipython.org" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.rst;md5=954609b5a3603364bc25989a92e38d67" -SRC_URI[sha256sum] = "1dc69e6966b270fb259f676c71a21450e63607729b14a672b942914a54e8b730" +SRC_URI[sha256sum] = "6319c0f5372c196397899479e6db1783dd7937abae06815d1317e8d5d51aaaaf" RDEPENDS:${PN} = "\ python3-setuptools \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-isodate_0.7.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-isodate_0.7.2.bb new file mode 100644 index 0000000000..a87373ddd4 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-isodate_0.7.2.bb @@ -0,0 +1,11 @@ +SUMMARY = "ISO 8601 date/time parser" +DESCRIPTION = "An ISO 8601 date/time/duration parser and formatter" +HOMEPAGE = "https://github.com/gweis/isodate/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=0f15bda312de78bcdcac1df0dc536f48" + +SRC_URI[sha256sum] = "4cd1aa0f43ca76f4a6c6c0292a85f40b35ec2e43e315b59f06e6d32171a953e6" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-setuptools-scm-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jalali-core_1.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jalali-core_1.0.0.bb index e3a7b02e40..c1a128fd15 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jalali-core_1.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jalali-core_1.0.0.bb @@ -5,6 +5,4 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a88966a0e5f4057719d2cc2766c6e091" SRC_URI[sha256sum] = "f4287c70c630323dcf0a3ab26df905ba4d451e230ac1f65b3bb2f77797894a2b" -PYPI_PACKAGE = "jalali_core" - inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.4.bb index d71101ee2c..beafebba28 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-javaobj-py3_0.4.4.bb @@ -11,6 +11,8 @@ SRC_URI[sha256sum] = "e4e3257ef2cf81a3339787a4d5cf924e54c91f095a723f6d2584dae61d inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "javaobj-py3" + BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jedi_0.20.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jedi_0.20.1.bb index 5d49bc6cec..ecf2b6aafd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jedi_0.20.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jedi_0.20.1.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5ed06eebfcb244cd66ebf6cef9c23ab4" -SRC_URI[sha256sum] = "c3f4ccbd276696f4b19c54618d4fb18f9fc24b0aef02acf704b23f487daa1011" +SRC_URI[sha256sum] = "2f71208c3f9c1bca057c0e90d3f272aba44ace88fc4067d7587e9e069331b7e5" RDEPENDS:${PN} = " \ python3-parso \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-joblib_1.6.0.bb index 46b89ba267..b70bd04d87 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-joblib_1.5.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-joblib_1.6.0.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2e481820abf0a70a18011a30153df066" inherit python_setuptools_build_meta pypi -SRC_URI[sha256sum] = "8561a3269e6801106863fd0d6d84bb737be9e7631e33aaed3fb9ce5953688da3" +SRC_URI[sha256sum] = "2ccc96785b12046c08fd6d55839c12857831b54a3c1673ffadd2f04bfc4eda03" CVE_PRODUCT = "joblib" @@ -14,4 +14,5 @@ RDEPENDS:${PN} += " \ python3-multiprocessing \ python3-pprint \ python3-pydoc \ + python3-cloudpickle \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.33.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.42.bb index 6a1715c6df..486516dbc6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.33.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpatch_1.42.bb @@ -3,9 +3,9 @@ HOMEPAGE = "https://github.com/stefankoegl/python-json-patch" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=4f81c84f9a053e31fe9402a2a4e78864" -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "9fcd4009c41e6d12348b4a0ff2563ba56a2923a7dfee731d004e212e1ee5030c" +SRC_URI[sha256sum] = "8d553ab33cc1e5d3da60b8be5224355fb28cde863cc8935c40f011a8c0d72ad4" RDEPENDS:${PN} += " \ python3-json \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..735fe26140 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw/0001-drop-the-six-dependency.patch @@ -0,0 +1,58 @@ +From a12efc7d5ede4fb2404ea1e4edeba03c9225ab4e Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:22:53 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and jsonpath-rw does not need it on +Python 3: six.integer_types and six.string_types are int and str, and +six.moves.xrange is range. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + jsonpath_rw/jsonpath.py | 6 ++---- + setup.py | 2 +- + 2 files changed, 3 insertions(+), 5 deletions(-) + +diff --git a/jsonpath_rw/jsonpath.py b/jsonpath_rw/jsonpath.py +index 3c491d0..4703fae 100644 +--- a/jsonpath_rw/jsonpath.py ++++ b/jsonpath_rw/jsonpath.py +@@ -1,7 +1,5 @@ + from __future__ import unicode_literals, print_function, absolute_import, division, generators, nested_scopes + import logging +-import six +-from six.moves import xrange + from itertools import * + + logger = logging.getLogger(__name__) +@@ -485,13 +483,13 @@ class Slice(JSONPath): + + # Here's the hack. If it is a dictionary or some kind of constant, + # put it in a single-element list +- if (isinstance(datum.value, dict) or isinstance(datum.value, six.integer_types) or isinstance(datum.value, six.string_types)): ++ if (isinstance(datum.value, dict) or isinstance(datum.value, int) or isinstance(datum.value, str)): + return self.find(DatumInContext([datum.value], path=datum.path, context=datum.context)) + + # Some iterators do not support slicing but we can still + # at least work for '*' + if self.start == None and self.end == None and self.step == None: +- return [DatumInContext(datum.value[i], path=Index(i), context=datum) for i in xrange(0, len(datum.value))] ++ return [DatumInContext(datum.value[i], path=Index(i), context=datum) for i in range(0, len(datum.value))] + else: + return [DatumInContext(datum.value[i], path=Index(i), context=datum) for i in range(0, len(datum.value))[self.start:self.end:self.step]] + +diff --git a/setup.py b/setup.py +index 8108124..4b2dfb9 100644 +--- a/setup.py ++++ b/setup.py +@@ -18,7 +18,7 @@ setuptools.setup( + 'console_scripts': ['jsonpath.py = jsonpath_rw.bin.jsonpath:entry_point'], + }, + test_suite = 'tests', +- install_requires = [ 'ply', 'decorator', 'six' ], ++ install_requires = [ 'ply', 'decorator' ], + classifiers = [ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw_1.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw_1.4.0.bb index 4cc39a286a..b15f289266 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw_1.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonpath-rw_1.4.0.bb @@ -4,13 +4,15 @@ SECTION = "devel/python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://README.rst;beginline=198;endline=215;md5=2866908485c18dc999b6c8dc608563ec" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "05c471281c45ae113f6103d1268ec7a4831a2e96aa80de45edc89b11fac4fbec" inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "jsonpath-rw" + RDEPENDS:${PN} += " \ python3-decorator \ python3-logging \ python3-ply \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb index 03cba50b99..a9ba22f5b4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema-default_1.8.1.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4ae09d45eac4aa08d013b5f2e01c67f6" SRC_URI[sha256sum] = "77e35e4a95519c7dbdbe25438c00af33c17bb766cbb0a29a2aa9d645ee3c1399" -PYPI_PACKAGE = "jsonschema_default" - inherit pypi python_hatchling RDEPENDS:${PN} = "python3-rstr" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb index ce965b3e43..7488a25d95 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-applications_1.0.8.bb @@ -9,7 +9,6 @@ SRCREV ?= "3b180cb10eda683dda7913ecee2e6487288d292d" inherit setuptools3 - BBCLASSEXTEND = "native" RDEPENDS:${PN} = "python3-numpy \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb index f070d79d2b..4ad8c9c4b9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-keras-preprocessing_1.1.2.bb @@ -8,7 +8,6 @@ inherit pypi setuptools3 SRC_URI[sha256sum] = "add82567c50c8bc648c14195bf544a5ce7c1f76761536956c3d2978970179ef3" -PYPI_PACKAGE = "Keras_Preprocessing" +PYPI_PACKAGE_SDIST = "Keras_Preprocessing" BBCLASSEXTEND = "native" - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.13.0.bb index acd84efd21..0517eba64d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.12.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lazy-object-proxy_1.13.0.bb @@ -2,13 +2,11 @@ SUMMARY = "A fast and thorough lazy object proxy" HOMEPAGE = "https://python-lazy-object-proxy.readthedocs.io/" LICENSE = "BSD-2-Clause" SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=f0cd92fd68aacee0503822c05a3ee6a2" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1d907de309286ace60c424a81666867d" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "1f5a462d92fd0cfb82f1fab28b51bfb209fabbe6aabf7f0d51472c0c124c0c61" - -PYPI_PACKAGE = "lazy_object_proxy" +SRC_URI[sha256sum] = "ce34046cb021d69c72d05ddb83821ecfd4d2d0a5d43a93c5cd01c9e34779cf14" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb index 85328ed951..9cc4c5b931 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-legacy-cgi_2.6.4.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://github.com/jackrosenthal/legacy-cgi" LICENSE = "PSF-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4b8801e752a2c70ac41a5f9aa243f766" -PYPI_PACKAGE = "legacy_cgi" - inherit python_poetry_core pypi python_hatchling SRC_URI += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.4.bb index 839ec94600..7165a7378d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-linux-procfs_0.7.4.bb @@ -7,7 +7,4 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6a6855782848d572347212f667a2d637" SRC_URI = "git://git.kernel.org/pub/scm/libs/python/python-linux-procfs/python-linux-procfs.git;branch=main;tag=v${PV}" SRCREV = "702d6360ce082d8328e0cfd84f6415b0c94ca6dd" - inherit python_setuptools_build_meta - -RDEPENDS:${PN} += "python3-six" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch new file mode 100644 index 0000000000..4a41e98f01 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict/0001-pyproject.toml-do-not-pin-setuptools.patch @@ -0,0 +1,25 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Roos <thomas@roosesweb.de> +Date: Thu, 5 Nov 2026 22:30:00 +0100 +Subject: [PATCH] pyproject.toml: do not pin setuptools + +lru-dict 1.4.x pins the PEP 517 build to setuptools==80.9.0. OE-Core +provides a newer setuptools, which builds the extension as well. + +Upstream-Status: Inappropriate [oe-specific] +AI-Generated: Claude Code, Claude Opus 5.5 +Signed-off-by: Thomas Roos <thomas@roosesweb.de> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools==80.9.0"] ++requires = ["setuptools>=80.9.0"] + build-backend = "setuptools.build_meta" + + [project] diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict_1.4.1.bb index d136dcb005..9dad9dc777 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict_1.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-lru-dict_1.4.1.bb @@ -4,8 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=9d10a486ee04034fdef5162fd791f153" -SRC_URI[sha256sum] = "54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b" +SRC_URI += "file://0001-pyproject.toml-do-not-pin-setuptools.patch" +SRC_URI[sha256sum] = "cc518ff2d38cc7a8ab56f9a6ae557f91e2e1524b57ed8e598e97f45a2bd708fc" inherit pypi python_setuptools_build_meta - -DEPENDS += "python3-wheel-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb index e19ad56219..70964ce17b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-core_2.4.2.bb @@ -11,6 +11,7 @@ DEPENDS += "python3-wheel-native" SRC_URI[sha256sum] = "963c264164d4374f549d57db09599e0ca458cea1bd05e16939897619be4e6dbd" PYPI_PACKAGE = "luma.core" +PYPI_PACKAGE_SDIST = "luma.core" RDEPENDS:${PN} += " \ python3-pillow \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.15.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.16.0.bb index 2d0d88d7b9..2606cdd4eb 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.15.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-luma-oled_3.16.0.bb @@ -10,9 +10,7 @@ inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" -SRC_URI[sha256sum] = "16925fe668f484803df0683add800b19e5dd7316a1d64eb06ec2ae817473901e" - -PYPI_PACKAGE = "luma_oled" +SRC_URI[sha256sum] = "9e5df928b11c4622872d0da25dd90186ca5e4c1cf1c01b562e7cda86f877f437" RDEPENDS:${PN} += " \ python3-luma-core \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown-it-py_4.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown-it-py_4.2.0.bb index 508e89784e..0bb2b3ca6c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown-it-py_4.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-markdown-it-py_4.2.0.bb @@ -9,7 +9,6 @@ inherit pypi python_flit_core RDEPENDS:${PN} += "python3-mdurl" -PYPI_PACKAGE = "markdown_it_py" CVE_PRODUCT = "markdown-it-py" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb index bc515c7b4a..18da32387d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib-inline_0.2.2.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d4692a0eb42ca54892399db2cb35e61e" SRC_URI[sha256sum] = "72f3fe8fce36b70d4a5b612f899090cd0401deddc4ea90e1572b9f4bfb058c79" -PYPI_PACKAGE = "matplotlib_inline" - inherit pypi python_flit_core RDEPENDS:${PN} = "python3-traitlets" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.6.1.bb index 28a55725a8..7f1dc9691c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mdit-py-plugins_0.6.1.bb @@ -9,6 +9,4 @@ inherit pypi python_flit_core RDEPENDS:${PN} += "python3-markdown-it-py" -PYPI_PACKAGE = "mdit_py_plugins" - BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mmh3_5.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mmh3_5.3.1.bb index c7f3f18ad4..ef15ac41aa 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mmh3_5.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mmh3_5.3.1.bb @@ -8,6 +8,6 @@ inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" -SRC_URI[sha256sum] = "95832419b87b882bec9dcd7d041d74887ba7745b3659c14be1ae1db5cfa35cad" +SRC_URI[sha256sum] = "bd86d0c86b52332319d981d03781ff77811a29db544a69902dc06b5506bb3e19" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.2.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.2.4.bb index d71a99fa74..80deffd937 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.2.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgpack_1.2.4.bb @@ -6,7 +6,7 @@ inherit pypi python_setuptools_build_meta ptest-python-pytest PTEST_PYTEST_DIR = "test" -SRC_URI[sha256sum] = "9eb0b0e602064527a045ea28c4f174ed69383587e29cebe28947e3b84106eb2a" +SRC_URI[sha256sum] = "475c44e12f2a5de766a8448783f149c9b33f3f49b88953c6cd739a77d93c732c" RDEPENDS:${PN}:append:class-target = " \ python3-io \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgspec_0.21.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgspec_0.22.0.bb index f12882e4c8..23bfac7ce4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgspec_0.21.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-msgspec_0.22.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jcrist/msgspec" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=c21402f8022478021f697044388b97c4" -SRC_URI[sha256sum] = "2313508e394b0d208f8f56892ca9b2799e2561329de9763b19619595a6c0f72c" +SRC_URI[sha256sum] = "0a13624a4969159fe35d8c2a3d377b2b61bbd8585e327440d5e52725affcce38" DEPENDS += "python3-setuptools-scm-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb deleted file mode 100644 index 15848fefec..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_6.7.1.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc." -HOMEPAGE = "https://github.com/aio-libs/multidict/" - -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39" - -inherit pypi python_setuptools_build_meta ptest-python-pytest - -SRC_URI[sha256sum] = "ec6652a1bee61c53a3e5776b6049172c53b6aaba34f18c9ad04f82712bac623d" - -RDEPENDS:${PN}-ptest += " \ - python3-objgraph \ - python3-psutil \ - python3-pytest-cov \ - python3-pytest-codspeed \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb new file mode 100644 index 0000000000..9ec7ea3eec --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-multidict_7.2.1.bb @@ -0,0 +1,38 @@ +SUMMARY = "The multidict implementation" +DESCRIPTION = "Multidicts are useful for working with HTTP headers, URL query args etc." +HOMEPAGE = "https://github.com/aio-libs/multidict/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b5e9e27554f71f0f132919037cb967b2" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +SRC_URI[sha256sum] = "e8af3e6f1bdbc31fd762b094133b478b89988eaebc63cbe82b1d9e3bbd15cede" + +RDEPENDS:${PN}-ptest += " \ + python3-objgraph \ + python3-psutil \ + python3-pytest-cov \ + python3-pytest-codspeed \ +" + +do_install_ptest:append () { + install -d ${D}${PTEST_PATH}/tools/ + install -m 0644 ${S}/tools/release_notes_md.py ${D}${PTEST_PATH}/tools/ + install -m 0644 ${S}/benchmarks/callgrind_driver.py ${D}${PYTHON_SITEPACKAGES_DIR}/ + install -m 0644 ${S}/benchmarks/benchmark.py ${D}${PYTHON_SITEPACKAGES_DIR}/ + install -m 0644 ${S}/benchmarks/callgrind_child.py ${D}${PYTHON_SITEPACKAGES_DIR}/ + install -m 0644 ${S}/benchmarks/istr.py ${D}${PYTHON_SITEPACKAGES_DIR}/ + install -m 0644 ${S}/benchmarks/operations.py ${D}${PYTHON_SITEPACKAGES_DIR}/ + install -m 0644 ${S}/benchmarks/render_tables.py ${D}${PYTHON_SITEPACKAGES_DIR}/ +} + +FILES:${PN}-ptest += "\ + ${PYTHON_SITEPACKAGES_DIR}/callgrind_driver.py \ + ${PYTHON_SITEPACKAGES_DIR}/benchmark.py \ + ${PYTHON_SITEPACKAGES_DIR}/callgrind_child.py \ + ${PYTHON_SITEPACKAGES_DIR}/istr.py \ + ${PYTHON_SITEPACKAGES_DIR}/operations.py \ + ${PYTHON_SITEPACKAGES_DIR}/render_tables.py \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.2.0.bb index 33a1551e66..59e46c64db 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-mypy-extensions_1.2.0.bb @@ -3,10 +3,8 @@ HOMEPAGE = "https://github.com/python/mypy_extensions" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0fe3219e2470a78c0d1837019b8b426e" -PYPI_PACKAGE = "mypy_extensions" - inherit pypi python_flit_core -SRC_URI[sha256sum] = "52e68efc3284861e772bbcd66823fde5ae21fd2fdb51c62a211403730b916558" +SRC_URI[sha256sum] = "c6e275a07f1c2fc096b62940452d0eaa3f3af7de45d704787866240a7c6d5a51" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb index 6471e370cc..7dc22c5bf8 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-myst-parser_5.1.0.bb @@ -7,8 +7,6 @@ SRC_URI[sha256sum] = "ab69322dc6719dcc7f296479dbb70181b66df6ed315064f92dbc85c0e1 inherit pypi python_flit_core -PYPI_PACKAGE = "myst_parser" - RDEPENDS:${PN} = "\ python3-docutils \ python3-jinja2 \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_3.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_3.1.0.bb index ec264b3f5f..6bf0ce582a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_3.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nanobind_3.1.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/wjakob/nanobind" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=7646f9ee25e49eaf53f89a10665c568c" -SRC_URI[sha256sum] = "68583c41d58af77649b830407d2ba84627f21f07ad4ae2e32c6988fb96eaa71a" +SRC_URI[sha256sum] = "6661e3dc1434d78781ccf7913442d90361dab395c3424efadb63bbb6ddea7ea3" inherit pypi cmake python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.7.bb index fe08ae9968..856e2809f3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-networkx_3.7.bb @@ -1,9 +1,9 @@ DESCRIPTION = "Python package for creating and manipulating graphs and networks" HOMEPAGE = "http://networkx.github.io/" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f7592b173aee2da0e062f9cfa0378e9d" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4ccf59069a708419c8b37163831a4228" -SRC_URI[sha256sum] = "26b7c357accc0c8cde558ad486283728b65b6a95d85ee1cd66bafab4c8168509" +SRC_URI[sha256sum] = "fd77a511bd90f39f3d016351345b52cf5319b813bdca01de3f755d3cca62e96a" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb index e483b98907..aaed7d0f7a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ninja-syntax_1.7.2.bb @@ -7,6 +7,4 @@ SRC_URI[sha256sum] = "342dc97b9e88a6495bae22953ee6063f91d2f03db6f727b62ba5c3092a inherit pypi setuptools3 -PYPI_PACKAGE = "ninja_syntax" - BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb index 25e382088b..5c0ad65d4a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nmap_1.9.1.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" DEPENDS += "python3-wheel-native" PYPI_PACKAGE = "python3-nmap" +PYPI_PACKAGE_SDIST = "python3-nmap" SRC_URI[sha256sum] = "8465cfb013f5cdfa8a1050c40cdae600b581ee32f1864ec404927aee49b4262c" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocasedict_2.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocasedict_2.2.1.bb index 027b61c8b3..5a57b8c651 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocasedict_2.2.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocasedict_2.2.1.bb @@ -13,7 +13,3 @@ DEPENDS += " \ python3-setuptools-scm-native \ python3-toml-native \ " - -RDEPENDS:${PN} += " \ - python3-six \ -" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocaselist_2.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocaselist_2.2.1.bb index 038be6c73c..c21b6a55e1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocaselist_2.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nocaselist_2.2.1.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] = "b06b3d6fec1abc05c607aa8e813599388727a08e18c223431d7469cf6eb0c06a" +SRC_URI[sha256sum] = "bade0e96a104ac8ddae49c261aa7c27b5ae8d9434661c6cd8ec16f3cd5c677a1" inherit pypi python_setuptools_build_meta @@ -13,7 +13,3 @@ DEPENDS += " \ python3-setuptools-scm-native \ python3-toml-native \ " - -RDEPENDS:${PN} += " \ - python3-six \ -" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nodeenv_1.10.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nodeenv_1.12.0.bb index 37b7c9c8d9..76b5e23e2a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nodeenv_1.10.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-nodeenv_1.12.0.bb @@ -4,6 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a9e238ffae5bb6447dbac6291e1dc3a3" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "996c191ad80897d076bdfba80a41994c2b47c68e224c542b48feba42ba00f8bb" +SRC_URI[sha256sum] = "4ea7f88339310afebc3253f2c7a91b94bacf97d73a36a5c108962abdfaca501e" DEPENDS += "python3-setuptools-scm-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-oauthlib_3.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-oauthlib_4.0.1.bb index bdc1f0e7b4..b3a7281aa6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-oauthlib_3.3.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-oauthlib_4.0.1.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/idan/oauthlib" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2699a9fb0d71d5eafd75d8d7c302f7df" -SRC_URI[sha256sum] = "0f0f8aa759826a193cf66c12ea1af1637f87b9b4622d46e866952bb022e538c9" +SRC_URI[sha256sum] = "3d73febdb6faa00f277c81fb04be7b7586fb96fc3b7f0b9c772dada69a25ede7" CVE_PRODUCT = "oauthlib" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph/0001-Make-test_at_addrs-independent-of-earlier-get_new_id.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph/0001-Make-test_at_addrs-independent-of-earlier-get_new_id.patch new file mode 100644 index 0000000000..15c7458492 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph/0001-Make-test_at_addrs-independent-of-earlier-get_new_id.patch @@ -0,0 +1,42 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 28 Oct 2026 08:08:23 -0700 +Subject: [PATCH] Make test_at_addrs independent of earlier get_new_ids() calls + +get_new_ids() keeps the ids it has seen in its _state and reports only +ids that are not in there. Ids of objects that were freed after an +earlier call stay in that set, so if the list created by test_at_addrs +reuses the address of one of them it is not reported as new and the +test fails: + + self.assertIn(a, new_lists) + AssertionError: [0, 1, 2] not found in [...] + +Whether that happens depends on the allocator and on what ran before; +it was seen intermittently with musl, and a slight change in what the +test allocates makes it fail every time. + +Call get_new_ids() once more right before creating the list, as the +example in its docstring does, so the baseline only holds live objects. + +Upstream-Status: Pending +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + tests.py | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/tests.py b/tests.py +index 0c7aa1f..1dab8c1 100755 +--- a/tests.py ++++ b/tests.py +@@ -361,6 +361,10 @@ class ByTypeTest(GarbageCollectedMixin, unittest.TestCase): + class AtAddrsTest(unittest.TestCase): + + def test_at_addrs(self): ++ # get_new_ids() remembers the ids seen by earlier calls, including ++ # ones of objects that have been freed since; refresh that state so ++ # that a list reusing such an address still counts as new. ++ objgraph.get_new_ids(limit=0) + a = [0, 1, 2] + new_ids = objgraph.get_new_ids(limit=0) + new_lists = objgraph.at_addrs(new_ids['list']) diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb index 045978a9c2..f4098272ec 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.6.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-objgraph_3.7.0.bb @@ -3,8 +3,10 @@ HOMEPAGE = "https://mg.pov.lt/objgraph/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e48a556235f55ad7d4234475657f68a7" -SRC_URI:append = " file://run-ptest" -SRC_URI[sha256sum] = "00b9f2f40f7422e3c7f45a61c4dafdaf81f03ff0649d6eaec866f01030e51ad8" +SRC_URI:append = " file://run-ptest \ + file://0001-Make-test_at_addrs-independent-of-earlier-get_new_id.patch \ + " +SRC_URI[sha256sum] = "b6ef4b244217410509b257970413b01a979d54df48d2d4055b6941e8679ddbbb" inherit pypi setuptools3 ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-api_1.45.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-api_1.45.2.bb new file mode 100644 index 0000000000..50d0ce77a4 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-api_1.45.2.bb @@ -0,0 +1,11 @@ +SUMMARY = "OpenTelemetry Python API" +DESCRIPTION = "Python API for OpenTelemetry, an open source \ +observability framework for cloud native software." +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "d7b0008e21e5fd61cbe7a7f34ca3b6905a78ab677d9bc395e299359c75cda6b4" + +inherit pypi python_hatchling + +RDEPENDS:${PN} += "python3-typing-extensions" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-sdk_1.45.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-sdk_1.45.2.bb new file mode 100644 index 0000000000..2cb352052d --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-sdk_1.45.2.bb @@ -0,0 +1,15 @@ +SUMMARY = "OpenTelemetry Python SDK" +DESCRIPTION = "Python SDK for OpenTelemetry, an open source \ +observability framework for cloud native software." +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "7eec4de13dd21ff3a1670dcb0e02079e692736f94d733dfdce5af461d884248d" + +inherit pypi python_hatchling + +RDEPENDS:${PN} += " \ + python3-opentelemetry-api \ + python3-opentelemetry-semantic-conventions \ + python3-typing-extensions \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-semantic-conventions_0.66b1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-semantic-conventions_0.66b1.bb new file mode 100644 index 0000000000..44a333255a --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-opentelemetry-semantic-conventions_0.66b1.bb @@ -0,0 +1,15 @@ +SUMMARY = "OpenTelemetry Semantic Conventions" +DESCRIPTION = "Semantic conventions for OpenTelemetry, an open source \ +observability framework for cloud native software." + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "497ca63bf383723411e8eaf60c8779e9877633c936bb641080adab59d0eb6ec8" + +inherit pypi python_hatchling + +RDEPENDS:${PN} += " \ + python3-opentelemetry-api \ + python3-typing-extensions \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb index 6dbc9d6538..c5750a777e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ordered-set_4.1.0.bb @@ -7,4 +7,6 @@ SRC_URI[sha256sum] = "694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c7 inherit pypi python_flit_core ptest-python-pytest +PYPI_PACKAGE_SDIST = "ordered-set" + PTEST_PYTEST_DIR = "test" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson-crates.inc b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson-crates.inc index 156e974218..cea1dff05a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson-crates.inc +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson-crates.inc @@ -4,51 +4,47 @@ SRC_URI += " \ crate://crates.io/associative-cache/3.0.1 \ crate://crates.io/bytecount/0.6.9 \ - crate://crates.io/cc/1.4.3 \ - crate://crates.io/cfg-if/1.0.4 \ - crate://crates.io/encoding_rs/0.8.35 \ - crate://crates.io/find-msvc-tools/0.1.11 \ + crate://crates.io/cc/1.6.0 \ + crate://crates.io/find-msvc-tools/0.1.14 \ crate://crates.io/gimli/0.34.0 \ crate://crates.io/itoap/1.0.1 \ - crate://crates.io/jiff-core/0.1.0 \ - crate://crates.io/libc/0.2.189 \ + crate://crates.io/jiff-core/0.1.1 \ + crate://crates.io/libc/0.2.190 \ crate://crates.io/no-panic/0.1.37 \ crate://crates.io/once_cell/1.21.4 \ crate://crates.io/proc-macro2/1.0.107 \ - crate://crates.io/pyo3-build-config/0.28.3 \ - crate://crates.io/pyo3-ffi/0.28.3 \ + crate://crates.io/pyo3-build-config/0.29.3 \ + crate://crates.io/pyo3-ffi/0.29.3 \ crate://crates.io/quote/1.0.47 \ crate://crates.io/shlex/2.0.1 \ crate://crates.io/simdutf8/0.1.5 \ - crate://crates.io/syn/3.0.3 \ + crate://crates.io/syn/3.0.6 \ crate://crates.io/target-lexicon/0.13.5 \ - crate://crates.io/unicode-ident/1.0.24 \ + crate://crates.io/unicode-ident/1.0.26 \ crate://crates.io/unwinding/0.2.10 \ - crate://crates.io/xxhash-rust/0.8.18 \ + crate://crates.io/xxhash-rust/0.8.19 \ crate://crates.io/zmij/1.0.23 \ " SRC_URI[associative-cache-3.0.1.sha256sum] = "138b4febdc7d0135523c55358c97361fd45089bc65fe859ef21a58d0892deb00" SRC_URI[bytecount-0.6.9.sha256sum] = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e" -SRC_URI[cc-1.4.3.sha256sum] = "509591b7bcd67f4ef775afad7662703b4935daaa6ec0e5605cfb1090b32a2b6d" -SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" -SRC_URI[encoding_rs-0.8.35.sha256sum] = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" -SRC_URI[find-msvc-tools-0.1.11.sha256sum] = "d45db016d36b838f563236e9193d0ee6ce38f3f68b6c94e914b4929c96bbb890" +SRC_URI[cc-1.6.0.sha256sum] = "f74872d07caf508b30a21f6836e7d7016a2eaf7d9ff4f48deaa58cd8a0407630" +SRC_URI[find-msvc-tools-0.1.14.sha256sum] = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484" SRC_URI[gimli-0.34.0.sha256sum] = "1033caf0b349c518623b5396bfb2cf0bddf44f0306d543a250e5743297aafd10" SRC_URI[itoap-1.0.1.sha256sum] = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8" -SRC_URI[jiff-core-0.1.0.sha256sum] = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -SRC_URI[libc-0.2.189.sha256sum] = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" +SRC_URI[jiff-core-0.1.1.sha256sum] = "5e52fe76043ccecc9005d2305ebaadf7d7fc0cc89ca6baa10a94d6bc68c7128c" +SRC_URI[libc-0.2.190.sha256sum] = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78" SRC_URI[no-panic-0.1.37.sha256sum] = "fc80370b4544f28ffa317e3c3474ee3ecbfe269196c01ae657d9f837a7d944a1" SRC_URI[once_cell-1.21.4.sha256sum] = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" -SRC_URI[pyo3-build-config-0.28.3.sha256sum] = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e" -SRC_URI[pyo3-ffi-0.28.3.sha256sum] = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e" +SRC_URI[pyo3-build-config-0.29.3.sha256sum] = "7b3fc0c4d08f6bb10e71fe39dfb9e2f59c6eb6854e22ec8092f50c69a4499adb" +SRC_URI[pyo3-ffi-0.29.3.sha256sum] = "dfc0b8e19df29aad7086cf977bb0c2a2f143e30567eb113e9cf72b62ca698330" SRC_URI[quote-1.0.47.sha256sum] = "1fbf4db142a473a8d80c26bbf18454ed458bf8d26c8219c331daecfdbd079001" SRC_URI[shlex-2.0.1.sha256sum] = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" SRC_URI[simdutf8-0.1.5.sha256sum] = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" -SRC_URI[syn-3.0.3.sha256sum] = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +SRC_URI[syn-3.0.6.sha256sum] = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" SRC_URI[target-lexicon-0.13.5.sha256sum] = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca" -SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" +SRC_URI[unicode-ident-1.0.26.sha256sum] = "d245f478577f809a851594d02313b640fb437e0bb33866753cff937863096954" SRC_URI[unwinding-0.2.10.sha256sum] = "4b134ada16dda9e435abe2a6d76a01d497bc60707357845a15f9b0ed42dc88ce" -SRC_URI[xxhash-rust-0.8.18.sha256sum] = "aee1b19627c7c60102ab80d3a9cbe18de90bfe03bfa6c3715447681f0e8c8af6" +SRC_URI[xxhash-rust-0.8.19.sha256sum] = "550a2b930b62486a393c52d5c3b84bff264b28aa437ed64694d31e93b1757af7" SRC_URI[zmij-1.0.23.sha256sum] = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch index 604030e062..0dbb16322a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch @@ -1,4 +1,4 @@ -From c5c46664a914d3a7f048c51c3b9c2ab13e21ed1b Mon Sep 17 00:00:00 2001 +From a2acfc8ab636148cc9a2ba81ee03698703154ff0 Mon Sep 17 00:00:00 2001 From: Tim Orling <tim.orling@konsulko.com> Date: Thu, 29 Jan 2026 09:59:55 -0800 Subject: [PATCH] Guard avx512 module with x86 target cfg @@ -32,6 +32,3 @@ index e4c7697..46450ac 100644 #[target_feature(enable = "avx512f,avx512bw,avx512vl,bmi2")] pub(crate) unsafe fn create_str_impl_avx512vl(buf: &str) -> *mut crate::ffi::PyObject { unsafe { --- -2.39.5 - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch index 59105e723c..0a699addc7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch @@ -1,7 +1,7 @@ -From 7ef16220caaa82f7a90047c8c9b5ff2eeb15b9ce Mon Sep 17 00:00:00 2001 +From 00ea35a6fa570e449f3023322f112b3e1f700fea Mon Sep 17 00:00:00 2001 From: Tim Orling <tim.orling@konsulko.com> Date: Thu, 29 Jan 2026 10:22:31 -0800 -Subject: [PATCH 2/2] Guard x86 feature detection macro in pystrref/object.rs +Subject: [PATCH] Guard x86 feature detection macro in pystrref/object.rs The std::is_x86_feature_detected! macro only works on x86/x86_64 targets. This patch wraps the feature detection and AVX-512 code path @@ -18,10 +18,10 @@ Signed-off-by: Tim Orling <tim.orling@konsulko.com> 1 file changed, 1 insertion(+) diff --git a/src/ffi/pystrref/object.rs b/src/ffi/pystrref/object.rs -index 9ef12eb..7c2c046 100644 +index 69069fa..ba0bbe1 100644 --- a/src/ffi/pystrref/object.rs +++ b/src/ffi/pystrref/object.rs -@@ -29,6 +29,7 @@ static mut STR_CREATE_FN: StrDeserializer = super::scalar::str_impl_kind_scalar; +@@ -32,6 +32,7 @@ static mut STR_CREATE_FN: StrDeserializer = super::scalar::str_impl_kind_scalar; pub fn set_str_create_fn() { unsafe { @@ -29,6 +29,3 @@ index 9ef12eb..7c2c046 100644 #[cfg(all(CPython, feature = "avx512"))] if std::is_x86_feature_detected!("avx512vl") { STR_CREATE_FN = super::avx512::create_str_impl_avx512vl; --- -2.39.5 - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson_3.12.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb index 0be63c6c8a..cad988c2f7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson_3.12.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/orjson/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" -SRCREV = "6737895a1a4e3e26df0569a40147893a786f9a58" +SRCREV = "bd00937c5c46ab20eb5d7fe1cfc034b906c4578f" PYPI_SRC_URI = "git://github.com/ijl/orjson;protocol=https;branch=master;tag=${PV};destsuffix=orjson-${PV}" CVE_PRODUCT = "orjson" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb index 4ae0f3a824..7fbe5f81d4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-packageurl-python_0.17.6.bb @@ -7,6 +7,4 @@ SRC_URI[sha256sum] = "1252ce3a102372ca6f86eb968e16f9014c4ba511c5c37d95a7f023e2ca inherit pypi setuptools3 -PYPI_PACKAGE = "packageurl_python" - BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb index aa6ffb8526..cecd98fca4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paho-mqtt_2.1.0.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e5f264c6988aec56808a3a11e77b913 \ inherit pypi python_hatchling -PYPI_PACKAGE = "paho_mqtt" - SRC_URI[sha256sum] = "12d6e7511d4137555a3f6ea167ae846af2c7357b10bc6fa4f7c3968fc1723834" do_install:append() { diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_3.0.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_3.0.6.bb index c159113a21..75581a83a3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_3.0.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pandas_3.0.6.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e98642e1210ade884e5254ab18d55b7d" SRC_URI:append:class-target = " file://0001-BLD-add-option-to-specify-numpy-header-location.patch " -SRC_URI[sha256sum] = "dca3734d6ab7c906e6730f0788b0a1dbb9f2467731f9711f77995c8e9d62d712" +SRC_URI[sha256sum] = "66b07ef7315a31bfe1089cd3d71a7de781c9dca986762d0b4fe7c0ef17465d10" CVE_PRODUCT = "pandas" @@ -29,6 +29,7 @@ RDEPENDS:${PN} += " \ python3-dateutil-zoneinfo \ python3-pytz \ python3-profile \ + python3-zoneinfo \ " PYTHONPATH:prepend:class-target = "${RECIPE_SYSROOT}${PYTHON_SITEPACKAGES_DIR}:" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paramiko_5.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paramiko_5.1.0.bb index 7936d8e9a6..96cbb70210 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paramiko_5.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-paramiko_5.1.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/paramiko/paramiko/" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5" -SRC_URI[sha256sum] = "36763b5b95c2a0dcfdf1abc48e48156ee425b21efe2f0e787c2dd5a95c0e5e79" +SRC_URI[sha256sum] = "239b5f9b2a53006cd54f83cf8495ee742083708ead947882c8dd2786de79f39b" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..7b5f5683c1 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/0001-drop-the-six-dependency.patch @@ -0,0 +1,107 @@ +From acd176d3ada46ced050ed401c9d3f38a1ef7836d Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:24:27 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and parse_type does not need it on +Python 3: six.string_types is str. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + parse_type/cardinality_field.py | 3 +-- + parse_type/parse_util.py | 3 +-- + py.requirements/basic.txt | 1 - + pyproject.toml | 1 - + setup.py | 1 - + tasks/py.requirements.txt | 1 - + 6 files changed, 2 insertions(+), 8 deletions(-) + +diff --git a/parse_type/cardinality_field.py b/parse_type/cardinality_field.py +index 4e892ed..8ae89bf 100644 +--- a/parse_type/cardinality_field.py ++++ b/parse_type/cardinality_field.py +@@ -9,7 +9,6 @@ A cardinality field is a type suffix for parse format expression, ala: + """ + + from __future__ import absolute_import +-import six + from parse_type.cardinality import Cardinality, TypeBuilder + + +@@ -115,7 +114,7 @@ class CardinalityFieldTypeBuilder(object): + :raises: ValueError, if type_name does not end with CardinalityField + :raises: MissingTypeError, if type_converter is missing in type_dict + """ +- assert isinstance(type_name, six.string_types) ++ assert isinstance(type_name, str) + if not CardinalityField.matches_type(type_name): + message = "type_name='%s' has no CardinalityField" % type_name + raise ValueError(message) +diff --git a/parse_type/parse_util.py b/parse_type/parse_util.py +index 0e5ee73..73190c6 100644 +--- a/parse_type/parse_util.py ++++ b/parse_type/parse_util.py +@@ -7,7 +7,6 @@ Provides generic utility classes for the :class:`parse.Parser` class. + from __future__ import absolute_import + from collections import namedtuple + import parse +-import six + + + # -- HELPER-CLASS: For format part in a Field. +@@ -66,7 +65,7 @@ class Field(object): + format1 = self.format or "" + format2 = other.format or "" + return (self.name == other.name) and (format1 == format2) +- elif isinstance(other, six.string_types): ++ elif isinstance(other, str): + return str(self) == other + else: + raise ValueError(other) +diff --git a/py.requirements/basic.txt b/py.requirements/basic.txt +index b9735ab..c3c52ee 100644 +--- a/py.requirements/basic.txt ++++ b/py.requirements/basic.txt +@@ -11,4 +11,3 @@ + parse >= 1.18.0; python_version >= '3.0' + parse >= 1.13.1; python_version <= '2.7' + enum34; python_version < '3.4' +-six >= 1.15 +diff --git a/pyproject.toml b/pyproject.toml +index 7ca4407..e377bf0 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -52,7 +52,6 @@ dependencies = [ + "parse >= 1.18.0; python_version >= '3.0'", + "parse >= 1.13.1; python_version <= '2.7'", + "enum34; python_version < '3.4'", +- "six >= 1.15", + ] + + +diff --git a/setup.py b/setup.py +index 02ef727..9ea9ab4 100644 +--- a/setup.py ++++ b/setup.py +@@ -101,7 +101,6 @@ setup( + "parse >= 1.18.0; python_version >= '3.0'", + "parse >= 1.13.1; python_version <= '2.7'", + "enum34; python_version < '3.4'", +- "six >= 1.15", + ], + tests_require=[ + "pytest < 5.0; python_version < '3.0'", # >= 4.2 +diff --git a/tasks/py.requirements.txt b/tasks/py.requirements.txt +index e063e44..fb95307 100644 +--- a/tasks/py.requirements.txt ++++ b/tasks/py.requirements.txt +@@ -11,7 +11,6 @@ + invoke >=1.7.0,<2.0; python_version < '3.6' + invoke >=1.7.0; python_version >= '3.6' + pycmd +-six >= 1.15.0 + + # -- HINT, was RENAMED: path.py => path (for python3) + path.py >=11.5.0,<13.0; python_version < '3.5' diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/0002-tests-match-parse-1.22.2-float-pattern-in-test_numbe.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/0002-tests-match-parse-1.22.2-float-pattern-in-test_numbe.patch new file mode 100644 index 0000000000..8860080c38 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type/0002-tests-match-parse-1.22.2-float-pattern-in-test_numbe.patch @@ -0,0 +1,37 @@ +From d3ba98005ddf52d739d2e9056b53ec2f7884ef8b Mon Sep 17 00:00:00 2001 +From: Khem Raj <khem.raj@oss.qualcomm.com> +Date: Thu, 1 Oct 2026 07:00:36 +0000 +Subject: [PATCH] tests: match parse 1.22.2 float pattern in test_numbered + +tests/parse_tests/ is a copy of the test suite of the external parse +module, run against whichever parse is installed. parse 1.22.2 (issue249) +made {:f} also accept nan/inf, so the generated regex for "{0:f} {1:f}" +changed and the copied test_numbered expectation no longer matches. + +Update the expectation to the one parse 1.22.2's own tests/test_pattern.py +uses. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + tests/parse_tests/test_pattern.py | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/tests/parse_tests/test_pattern.py b/tests/parse_tests/test_pattern.py +index abc19d6..039ebde 100644 +--- a/tests/parse_tests/test_pattern.py ++++ b/tests/parse_tests/test_pattern.py +@@ -33,7 +33,10 @@ def test_named_typed(): + def test_numbered(): + _test_expression("{0}", r"(.+?)") + _test_expression("{0} {1}", r"(.+?) (.+?)") +- _test_expression("{0:f} {1:f}", r"([-+ ]?\d*\.\d+) ([-+ ]?\d*\.\d+)") ++ _test_expression( ++ "{0:f} {1:f}", ++ r"([-+ ]?(?:\d*\.\d+|nan|NAN|inf|INF)) ([-+ ]?(?:\d*\.\d+|nan|NAN|inf|INF))", ++ ) + + + def test_bird(): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.6.bb index 979e25b47b..075d32de1a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse-type_0.6.6.bb @@ -6,10 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2e469278ace89c246d52505acc39c3da" SRC_URI[sha256sum] = "513a3784104839770d690e04339a8b4d33439fcd5dd99f2e4580f9fc1097bfb2" SRC_URI += " \ file://run-ptest \ + file://0001-drop-the-six-dependency.patch \ + file://0002-tests-match-parse-1.22.2-float-pattern-in-test_numbe.patch \ " -PYPI_PACKAGE = "parse_type" - inherit pypi ptest python_setuptools_build_meta DEPENDS += "python3-wheel-native" @@ -24,6 +24,5 @@ do_install_ptest() { RDEPENDS:${PN} += "python3-parse" RDEPENDS:${PN}-ptest += " \ python3-pytest \ - python3-six \ python3-unittest-automake-output \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.22.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.22.4.bb index 39719173be..0f65b09678 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.22.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-parse_1.22.4.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/r1chardj0n3s/parse" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=8ab458ad281b60e6f1b39b3feafbfc05" -SRC_URI[sha256sum] = "d3a4740ec3da338e2b258b2d69741b731eadfddca59e24a14bc4ee5fce38c911" +SRC_URI[sha256sum] = "706d458feed5a81b02768d3156e8070baf6cee7d150a3a3c0cd43101a875c3b5" SRC_URI += " \ file://run-ptest \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb index e3405939c7..92c5b665d6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pastedeploy_3.1.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=1798f29d55080c60365e6283cb49779c" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "PasteDeploy" +PYPI_PACKAGE_SDIST = "PasteDeploy" SRC_URI[sha256sum] = "9ddbaf152f8095438a9fe81f82c78a6714b92ae8e066bed418b6a7ff6a095a95" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pathlib2_2.3.7.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pathlib2_2.3.7.bb deleted file mode 100644 index d4de40893a..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pathlib2_2.3.7.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "Object-oriented filesystem paths" -HOMEPAGE = "https://github.com/mcmtroffaes/pathlib2" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=2dc08586cce3ab91bfa091b655c0e440" - -SRC_URI[sha256sum] = "7a4329d67beff9a712e1d3ae147e4e3e108b0bfd284ffdea03a635126c76b3c0" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += "python3-six python3-ctypes" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.4.2.bb index 876d89443a..3a3372d9dc 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-periphery_2.4.2.bb @@ -2,9 +2,9 @@ DESCRIPTION = "A pure Python 2/3 library for peripheral I/O (GPIO, LED, PWM, SPI HOMEPAGE = "https://pythonhosted.org/python-periphery/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=30fe6f023a80fb33989fb3b9d773fea0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=bf8adf497db13d58fece90db6850816c" -SRC_URI[sha256sum] = "61d461d736982a6f766e878720ab10a68151e2e8c1086600d9389ac47e40e88a" +SRC_URI[sha256sum] = "9b334a31832ba64f74aa72700ee5fd6452d79d1d1fa6a0b48333bdb716d91575" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.4.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.4.4.bb index b85b063207..c4c1bae8fe 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.4.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pika_1.4.4.bb @@ -8,13 +8,11 @@ HOMEPAGE = "https://pika.readthedocs.io" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=678ec81495ba50edf81e84e4f1aa69f3" -SRC_URI[sha256sum] = "48d1f50297e76be4fc798fd5232d4d532d7a4758e51f7c0ae6c4004b9808a26b" - # The PyPI package omits some files for testing like tests/__init__.py # so use the GitHub source instead. -SRCREV = "3c9b50d4167e436c73cecae8127e3c5b266b2fce" +SRCREV = "60fee4203a30d5dfa0500857cea6a65ef571d46c" SRC_URI = "\ - git://github.com/pika/pika;branch=1.4.x;protocol=https \ + git://github.com/pika/pika;branch=1.4.x;protocol=https;tag=${PV} \ file://run-ptest \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf/0001-pyproject.toml-Do-not-strip.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf/0001-pyproject.toml-Do-not-strip.patch index 7483ad413b..3650675069 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf/0001-pyproject.toml-Do-not-strip.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf/0001-pyproject.toml-Do-not-strip.patch @@ -1,4 +1,4 @@ -From 22020dc444aaf3f98dc40f38c0a8aad48476db8f Mon Sep 17 00:00:00 2001 +From f54475de5f883ab6d021af78b1f33f34e6cd43eb Mon Sep 17 00:00:00 2001 From: Leon Anavi <leon.anavi@konsulko.com> Date: Wed, 8 Jul 2026 11:45:11 +0000 Subject: [PATCH] pyproject.toml: Do not strip @@ -19,7 +19,7 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml -index 06ccfbb..475af59 100644 +index a2843de..950a3c2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,8 @@ build-backend = "scikit_build_core.build" @@ -30,8 +30,5 @@ index 06ccfbb..475af59 100644 +cmake.build-type = "RelWithDebInfo" +install.strip = false wheel.py-api = "cp314" - - [project] --- -2.47.3 - + # The wheel-building CI jobs download qpdf's source into ./qpdf to compile + # libqpdf before building. Without this exclusion scikit-build-core sweeps that diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.11.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.17.0.bb index b18632f926..3801c4826c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.11.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pikepdf_10.17.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/pikepdf/pikepdf" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=9741c346eef56131163e13b9db1241b3" -SRC_URI[sha256sum] = "4bebc59ac74411064e7c97a4036174023e22ccbecd22b78750ab76551eb38988" +SRC_URI[sha256sum] = "de4ccaae83628e86c1fd473b384c09c6ff1dd35a583a8dacbf61d2aa4bea843b" SRC_URI += "file://0001-pyproject.toml-Do-not-strip.patch" @@ -30,6 +30,8 @@ RDEPENDS:${PN} += " \ qpdf \ python3-pillow \ python3-lxml \ + python3-jsonschema \ + python3-fonttools \ " RDEPENDS:${PN}-ptest += " \ @@ -47,6 +49,19 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest:append() { install -m 0644 ${S}/pyproject.toml ${D}${PTEST_PATH}/ + install -m 0644 ${S}/LICENSE.txt ${D}${PTEST_PATH}/ + install -d ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/README.md ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/GCC-exception-3.1.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/GPL-3.0.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/libjpeg-turbo-README.ijg.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/libjpeg-turbo.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/microsoft-visual-cpp-runtime.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/openssl.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/qpdf.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -m 0644 ${S}/third-party-licenses/zlib.txt ${D}${PTEST_PATH}/third-party-licenses/ + install -d ${D}${PTEST_PATH}/misc + install -m 0644 ${S}/misc/pdfa_differential.py ${D}${PTEST_PATH}/misc/ } BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_12.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_13.0.0.bb index 1c6668e53d..148f59509c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_12.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_13.0.0.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a6f0ac3777cfc96ded1b825e32ae7c99" SRC_URI = "git://github.com/python-pillow/Pillow.git;branch=main;protocol=https;tag=${PV} \ file://0001-support-cross-compiling.patch \ " -SRCREV = "bb1d8e8ab8d29048624d96e3ee53cecf7c13d13d" +SRCREV = "293218ad059d994baf1777d882911bed6a49704a" inherit python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ping3_5.1.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ping3_5.1.6.bb new file mode 100644 index 0000000000..72543b4445 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ping3_5.1.6.bb @@ -0,0 +1,15 @@ +SUMMARY = "ICMP ping in pure Python" +HOMEPAGE = "https://github.com/kyan001/ping3" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5b1b7571ea8acab651bab228e3ec2907" + +DEPENDS += "python3-wheel-native" + +SRC_URI[sha256sum] = "72588d79400d65dcd39c6c88a8f54b10ec46a9a0ff0a3e167d967e7e9c4fbe02" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += "\ + python3-io \ + python3-logging \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.25.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.26.2.bb index c04fc48f87..dba437a0dd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.25.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pint_0.26.2.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bccf824202692270a1e0829a62e3f47b" inherit pypi python_hatchling ptest-python-pytest -SRC_URI[sha256sum] = "f8f5df6cf65314d74da1ade1bf96f8e3e4d0c41b51577ac53c49e7d44ca5acee" +SRC_URI[sha256sum] = "391e5d2fc01fdb121c113b8eb47386688575542c1f5144c465ff318bf5133573" DEPENDS += "python3-hatch-vcs-native" @@ -17,15 +17,16 @@ BBCLASSEXTEND = "native nativesdk" PTEST_PYTEST_DIR = "pint" RDEPENDS:${PN} += " \ + python3-flexcache \ + python3-flexparser \ python3-packaging \ python3-platformdirs \ + python3-typing-extensions \ " # python3-misc for timeit.py RDEPENDS:${PN}-ptest += " \ python3-appdirs \ python3-attrs \ - python3-flexcache \ - python3-flexparser \ python3-misc \ python3-pytest-benchmark \ python3-pytest-subtests \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb index 84bc17959a..dfbd76ecd6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://README.rst;beginline=337;endline=358;md5=f68bda54505b SRC_URI[sha256sum] = "9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9e46bf7" PYPI_PACKAGE = "python-pkcs11" +PYPI_PACKAGE_SDIST = "python-pkcs11" inherit pypi setuptools3 cython diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/0001-test-unix-use-host-strerror-in-warning-tests-630.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/0001-test-unix-use-host-strerror-in-warning-tests-630.patch new file mode 100644 index 0000000000..e702c7e842 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/0001-test-unix-use-host-strerror-in-warning-tests-630.patch @@ -0,0 +1,43 @@ +From c243545c7ee2561ed0b5475c1b43f626d1284111 Mon Sep 17 00:00:00 2001 +From: Yusuf Efe <120668197+yuefdev@users.noreply.github.com> +Date: Wed, 28 Oct 2026 08:45:21 +0300 +Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20test(unix):=20use=20host=20strerror?= + =?UTF-8?q?=20in=20warning=20tests=20(#630)?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com> + +Upstream-Status: Backport [https://github.com/tox-dev/platformdirs/commit/c243545c7ee2561ed0b5475c1b43f626d1284111] +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + tests/test_unix.py | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/tests/test_unix.py b/tests/test_unix.py +index e68f2b8..1afb622 100644 +--- a/tests/test_unix.py ++++ b/tests/test_unix.py +@@ -1,6 +1,7 @@ + from __future__ import annotations + + import contextlib ++import errno + import importlib + import inspect + import os +@@ -401,8 +402,8 @@ _PROBLEMS: typing.Final = { + "mode-500": "has mode 0500, not 0700", + } + _UNREACHABLE: typing.Final = { +- "file": "Not a directory", +- "symlink-loop": "Too many levels of symbolic links", ++ "file": os.strerror(errno.ENOTDIR), ++ "symlink-loop": os.strerror(errno.ELOOP), + } + _DEFAULT_PREFIXES: typing.Final = { + "linux": "run/user", +-- +2.43.0 + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest new file mode 100644 index 0000000000..fa98212711 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest @@ -0,0 +1,4 @@ +#!/bin/sh + +pytest --automake \ + --deselect tests/test_pytest_plugin.py::test_import_before_pytest_main diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.10.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb index 7c004a1ed3..a5bb41f283 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.10.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-platformdirs_4.13.5.bb @@ -3,10 +3,14 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" -SRC_URI[sha256sum] = "ceab4084426fe6319ce18e86deada8ab1b7487c7aee7040c55e277c9ae793695" +SRC_URI[sha256sum] = "05831adf87d392760f4b5c3a0a95579ab5a10b18b9b9bd43680dcb47544788a0" inherit pypi python_hatchling ptest-python-pytest +SRC_URI += "file://run-ptest \ + file://0001-test-unix-use-host-strerror-in-warning-tests-630.patch \ + " + DEPENDS += " \ python3-hatch-vcs-native \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.4.bb index ecfd9034ac..1b156ad53b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-polyline_2.0.4.bb @@ -7,7 +7,5 @@ SRC_URI[sha256sum] = "f05ade694522bf1720febebe1672f820f43a13c6a1664751e7769d47e8 inherit pypi python_setuptools_build_meta ptest-python-pytest -RDEPENDS:${PN} += "python3-six" - BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.3.bb index ecd524ed33..7ebc349e11 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-portion_2.6.3.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" inherit pypi python_hatchling ptest-python-pytest -SRC_URI[sha256sum] = "fbf334143dbac5d07ffa411784e2b29e4e1f21203385019a93e2c1a8f443da16" +SRC_URI[sha256sum] = "4dd6a68bb1cd7a553d9b1f556818708b973c4a8855244e0af79e2586bba5794e" RDEPENDS:${PN} += "\ python3-sortedcontainers \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc/0001-build_support-do-not-pass-empty-linker-option-to-the.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc/0001-build_support-do-not-pass-empty-linker-option-to-the.patch new file mode 100644 index 0000000000..37d801e42c --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc/0001-build_support-do-not-pass-empty-linker-option-to-the.patch @@ -0,0 +1,46 @@ +From a2d268590cd2e8460b40438b4eff894ae472a0f2 Mon Sep 17 00:00:00 2001 +From: Khem Raj <khem.raj@oss.qualcomm.com> +Date: Fri, 16 Oct 2026 16:26:28 +0000 +Subject: [PATCH] build_support: do not pass empty linker option to the + compiler + +does_build_succeed() builds an argv list and inserts linker_options +verbatim. When no extra linker option is wanted it is "", so the +compiler is invoked with a literal empty argument: + + cc -Wall -o foo foo.c '' -lpthread + +GNU ld treats the empty argument as an input file and fails with +"cannot find : No such file or directory", while lld silently ignores +it. With GNU ld every probe that runs without -lrt therefore fails, +which makes sniff_realtime_lib() wrongly conclude that librt is needed +(or raise DiscoveryError on C libraries that have no usable librt), +independent of what the C library actually provides. With lld the +probes happen to give the right answer, so the outcome depends on the +linker rather than on the target system. + +This regressed when the command was converted from a shell string +(where an empty %s vanished) to an argv list. + +Split linker_options with shlex like CC already is, so an empty value +contributes no argument and multi-word values still work. + +Upstream-Status: Submitted [https://github.com/osvenskan/posix_ipc/pull/114] +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + build_support/discover_system_info.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build_support/discover_system_info.py b/build_support/discover_system_info.py +index 1c3741f..669c234 100644 +--- a/build_support/discover_system_info.py ++++ b/build_support/discover_system_info.py +@@ -57,7 +57,7 @@ def does_build_succeed(filename, linker_options=""): + '-o', + f'./build_support/src/{filename[:-2]}', + f'./build_support/src/{filename}', +- linker_options, ++ *shlex.split(linker_options), + '-lpthread' + ] + p = subprocess.Popen(cmd, stdout=STDOUT, stderr=STDERR) diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.3.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.3.2.bb index 0660bb4ba8..957580bf5d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.3.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-posix-ipc_1.3.2.bb @@ -4,11 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=e3d8df223c2614dbf1aabdc1ca23cc10" -PYPI_PACKAGE = "posix_ipc" - +SRC_URI += "file://0001-build_support-do-not-pass-empty-linker-option-to-the.patch" SRC_URI[sha256sum] = "6923232111329954a8349f7d99f212b6e96b5206e77fbd39aaf1b3cb4a5e9260" -# Message queue support requires librt for proper linking -LDFLAGS += "-lrt" - inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pre-commit_4.6.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pre-commit_4.7.0.bb index 2691fdc469..5b4d2b7feb 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pre-commit_4.6.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pre-commit_4.7.0.bb @@ -2,10 +2,8 @@ SUMMARY = "A framework for managing and maintaining multi-language pre-commit ho LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b53a93744e3ff841e5fc9a934da8e1c8" -PYPI_PACKAGE = "pre_commit" - inherit pypi setuptools3 -SRC_URI[sha256sum] = "8f5d7bfb021ecdbcd9d49d89847082dd24172ccde534390081a679ad046e2441" +SRC_URI[sha256sum] = "1f3deee12b914c8fa184bd2b5953391c2e4f36763e403d4a23dc9983fa7c6e86" RDEPENDS:${PN} = " \ python3-cfgv \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb index 53fc31ab83..37bae4a2aa 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb @@ -7,4 +7,6 @@ SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af8 inherit pypi setuptools3 ptest-python-pytest +PYPI_PACKAGE_SDIST = "precise-runner" + PTEST_PYTEST_DIR = "test" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_3.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_3.0.0.bb index a16497b984..0ffad438bf 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_3.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-process-tests_3.0.0.bb @@ -10,6 +10,8 @@ SRC_URI[sha256sum] = "e5d57dea7161251e91cadb84bf3ecc85275fb121fd478e579f800777b1 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "process-tests" + RDEPENDS:${PN} += "python3-core" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.53.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.53.bb index bc0d551058..54259a2490 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.53.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.53.bb @@ -7,11 +7,8 @@ SRC_URI[sha256sum] = "9ec8a0ad96d5c56148b3f914aa79c1564c3fde5d2e6b876e7bc327e353 inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "prompt_toolkit" - RDEPENDS:${PN} += " \ python3-core \ - python3-six \ python3-terminal \ python3-threading \ python3-wcwidth \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/0001-Update-Cython-to-version-3.2.3-184.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/0001-Update-Cython-to-version-3.2.3-184.patch deleted file mode 100644 index 26c4a2b20a..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/0001-Update-Cython-to-version-3.2.3-184.patch +++ /dev/null @@ -1,33 +0,0 @@ -From 049909ed3db8527aaae86a15d3c7998988ea77a0 Mon Sep 17 00:00:00 2001 -From: James Hilliard <james.hilliard1@gmail.com> -Date: Mon, 29 Dec 2025 13:21:12 -0700 -Subject: [PATCH] Update Cython to version 3.2.3 (#184) - -Upstream-Status: Backport [https://github.com/aio-libs/propcache/pull/184] -Co-authored-by: J. Nick Koston <nick@koston.org> -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - packaging/pep517_backend/_backend.py | 2 +- - requirements/cython.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index ce79c4e..e05a9dd 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -376,7 +376,7 @@ def get_requires_for_build_wheel( - if is_pure_python_build: - c_ext_build_deps = [] - else: -- c_ext_build_deps = ['Cython ~= 3.1.0'] -+ c_ext_build_deps = ['Cython ~= 3.2.0'] - - return _setuptools_get_requires_for_build_wheel( - config_settings=config_settings, -diff --git a/requirements/cython.txt b/requirements/cython.txt -index 97dc5a1..209c15a 100644 ---- a/requirements/cython.txt -+++ b/requirements/cython.txt -@@ -1 +1 @@ --cython==3.1.4 -+cython==3.2.3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch deleted file mode 100644 index 84f81da775..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache/0001-build-wheel-in-place.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 606843ad079d9d0dac1172533d42b5a2327b99ed Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <hongxu.jia@windriver.com> -Date: Wed, 17 Sep 2025 15:41:09 +0800 -Subject: [PATCH] build wheel in place - -In order to make the generated library be reproducible, build wheel -in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's -option -fdebug-prefix-map could work as expected - -Upstream-Status: Pending -Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> ---- - packaging/pep517_backend/_backend.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/packaging/pep517_backend/_backend.py b/packaging/pep517_backend/_backend.py -index 61cad34..d5d839e 100644 ---- a/packaging/pep517_backend/_backend.py -+++ b/packaging/pep517_backend/_backend.py -@@ -316,7 +316,7 @@ def build_wheel( - """ - with maybe_prebuild_c_extensions( - line_trace_cython_when_unset=False, -- build_inplace=False, -+ build_inplace=True, - config_settings=config_settings, - ): - return _setuptools_build_wheel( --- -2.34.1 - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb index 4f681613aa..77261cd1c1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-propcache_0.5.4.bb @@ -3,14 +3,12 @@ HOMEPAGE = "https://github.com/aio-libs/propcache" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "f48107a8c637e80362555f37ecf49abe20370e557cc4ab374f04ec4423c97c3d" +SRC_URI[sha256sum] = "ff6b113f50bc066a698db5d944d2c6dc7507168dd3341e255a8892fd0715a558" inherit pypi python_setuptools_build_meta ptest-python-pytest cython -SRC_URI += " \ - file://0001-build-wheel-in-place.patch \ - file://0001-Update-Cython-to-version-3.2.3-184.patch \ -" +# Build the C extensions in the source tree instead of a temporary copy +PEP517_BUILD_OPTS += "-C build-inplace=true" DEPENDS += " \ python3-expandvars-native \ @@ -23,4 +21,9 @@ RDEPENDS:${PN}-ptest += " \ python3-statistics \ " +do_install_ptest:append() { + # tests the in-tree build backend, which is not installed + rm -f ${D}${PTEST_PATH}/tests/test_pep517_backend.py +} + BBCLASSEXTEND += "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb new file mode 100644 index 0000000000..da31e423e7 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-proto-plus_1.29.0.bb @@ -0,0 +1,15 @@ +SUMMARY = "Beautiful, Pythonic protocol buffers" +DESCRIPTION = "Proto Plus provides a Pythonic wrapper around protocol buffers. \ + Messages behave like native Python types, which makes them easier to \ + construct, read and serialize." +HOMEPAGE = "https://github.com/googleapis/google-cloud-python/tree/main/packages/proto-plus" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +inherit pypi python_setuptools_build_meta + +SRC_URI[sha256sum] = "cfb4e62ad7e13dd18f346cabbda00cab39930d36a05791fd81ddb074d6ee884f" + +RDEPENDS:${PN} += "python3-protobuf" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_6.33.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_7.36.2.bb index f9aa69e9c5..7f3dbd1ec9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_6.33.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-protobuf_7.36.2.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = " \ " inherit pypi setuptools3 -SRC_URI[sha256sum] = "a6768d25248312c297558af96a9f9c929e8c4cee0659cb07e780731095f38135" +SRC_URI[sha256sum] = "497d0463ff3316681da6c0b9e8d06cb465d61abce00b613ab42226175644d1bb" CVE_PRODUCT += "google:protobuf protobuf:protobuf google-protobuf protobuf-python" CVE_STATUS[CVE-2026-0994] = "fixed-version: it is fixed in 6.33.5" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.4.bb index 27a6a34f00..2dba679d84 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pure-eval_0.2.4.bb @@ -4,13 +4,11 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" DEPENDS = "python3-setuptools-scm-native" -PYPI_PACKAGE = "pure_eval" - inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" -SRC_URI[sha256sum] = "5f4e983f40564c576c7c8635ae88db5956bb2229d7e9237d03b3c0b0190eaf42" +SRC_URI[sha256sum] = "260c2774686e651b79f8b8e7fc9d80b3599ea6a66334b47d5f4abb69fc2c0ea1" RDEPENDS:${PN} += " \ python3-datetime \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb index db0e2a96d8..30760dcd3e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb @@ -10,6 +10,8 @@ SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3 inherit ptest-python-pytest pypi python_setuptools_build_meta +PYPI_PACKAGE_SDIST = "py-cpuinfo" + DEPENDS += "python3-wheel-native" SRC_URI += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb index 8e2a6111d7..a3f36d11c9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-serializable_2.1.0.bb @@ -7,8 +7,6 @@ SRC_URI[sha256sum] = "9d5db56154a867a9b897c0163b33a793c804c80cee984116d02d49e457 inherit pypi python_poetry_core -PYPI_PACKAGE = "py_serializable" - BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} += "python3-defusedxml" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-ubjson_0.16.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-ubjson_0.16.1.bb index 0db9d65fd3..d2babb0b4b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-ubjson_0.16.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-py-ubjson_0.16.1.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "b9bfb8695a1c7e3632e800fb83c943bf67ed45ddd87cd0344851610c69 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "py-ubjson" + RDEPENDS:${PN} += " \ python3-numbers \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyais_3.2.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyais_3.2.3.bb index 44ce12bfba..4e2dccacb3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyais_3.2.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyais_3.2.3.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=79d9e278b76e3e5b3358cd70b328173c" SRC_URI = "git://github.com/M0r13n/pyais;protocol=https;branch=main;tag=v${PV}" -SRCREV = "bf1a07fcac5c42d49d682635bba44e493d5e6025" +SRCREV = "b44fdc6e0fd4ddb9e0afadab9c8ef87f475aa091" inherit python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.2.bb index 3b3bc799a6..5ae284fb8f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.2.bb @@ -8,11 +8,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d" SRC_URI[sha256sum] = "677091de870a80aae844b1ca6134f54652fa2c8c5a52aa396440ac3106e941e6" -PYPI_PACKAGE = "pyasn1_modules" - inherit pypi ptest-python-pytest python_setuptools_build_meta RDEPENDS:${PN} = "python3-pyasn1" BBCLASSEXTEND = "native nativesdk" - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb index 80c04d63e5..6cc0e03638 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb @@ -3,7 +3,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3152b432b96d6dc4a1cb35397da9ec" -PYPI_PACKAGE = "PyAudio" +PYPI_PACKAGE_SDIST = "PyAudio" SRC_URI[sha256sum] = "78dfff3879b4994d1f4fc6485646a57755c6ee3c19647a491f790a0895bd2f87" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybase64_1.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybase64_1.5.1.bb index a07c5042d5..19a8e094a3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybase64_1.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybase64_1.5.1.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5042ea9bdb8e0560ebab12bceefcd3f7" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "545ab2a433769e3b8e1ce2b4f7b07218bbde202f4954fbfe52948b2522120727" +SRC_URI[sha256sum] = "aa924f7c2e90349d472d7d57c3680de8d222a32c2d3d07f922ab2f60516e478d" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_3.0.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_3.1.0.bb index f3efed38b6..a032fc34d7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_3.0.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybind11_3.1.0.bb @@ -7,7 +7,7 @@ DEPENDS = "\ python3-ninja-native \ " -SRCREV = "d03662f0984f652b60e7ddce53d3868002275197" +SRCREV = "97bf890db679505a14dfe547a5e77bb2bd05dc90" SRC_URI = "\ git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb index 188700be29..9ea2da9df3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pybluez_0.23.bb @@ -11,7 +11,7 @@ SRC_URI += "file://0001-Use-Py_ssize_t-when-parsing-buffer-length-fix-426-42.pat file://py-3.11.patch " SRC_URI[sha256sum] = "c8f04d2e78951eaa9de486b4d49381704e8943d0a6e6e58f55fcd7b8582e90de" -PYPI_PACKAGE = "PyBluez" +PYPI_PACKAGE_SDIST = "PyBluez" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycares_5.2.1.bb index 8a0536ff24..ccbf13728d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycares_5.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycares_5.2.1.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://github.com/saghul/pycares" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1538fcaea82ebf2313ed648b96c69b1" -SRC_URI[sha256sum] = "5a3c249c830432631439815f9a818463416f2a8cbdb1e988e78757de9ae75081" +SRC_URI[sha256sum] = "3e89edc56a3745046676207958bf3dbf2971c5df0d64de9f7a893eba8bf255b4" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch deleted file mode 100644 index c793465005..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast/0001-pyproject.toml-relax-build-requirements.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a82451e8f2db33e22fef6714ddbd35a3e03debff Mon Sep 17 00:00:00 2001 -From: Khem Raj <khem.raj@oss.qualcomm.com> -Date: Thu, 14 May 2026 11:49:05 -0700 -Subject: [PATCH] pyproject.toml: Relax build requirements - -Drop the upstream setuptools and wheel upper caps. OE provides both via -DEPENDS and builds with --no-isolation, so the caps are spurious and -break the build whenever oe-core ships a newer version (currently -setuptools 83.0.0 and wheel 0.48.0, the latter excluded by the previous -"wheel<0.48.0" bound). - -Upstream-Status: Inappropriate [oe-core specific dependency versions] - -Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 20524ca..fc62798 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=65.6,<83.0", "wheel>=0.37.1,<0.47.0"] -+requires = ["setuptools>=65.6", "wheel>=0.37.1"] - build-backend = "setuptools.build_meta" - - [project] diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.1.1.bb index 8bd4a4046e..8780d2bc3d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.0.10.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pychromecast_14.1.1.bb @@ -3,8 +3,7 @@ HOMEPAGE = "https://github.com/balloob/pychromecast" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b1dbd4e85f47b389bdadee9c694669f5" -SRC_URI += "file://0001-pyproject.toml-relax-build-requirements.patch" -SRC_URI[sha256sum] = "f05a1c8d727d4f104c8c731688053033e05157f2ab81bc8eef50ec0c62f9373c" +SRC_URI[sha256sum] = "9b75553770c8007bc146ca7b5ad30dd165c71bb1335a0ea6659a514087a63c67" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.14.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.15.0.bb index 4389198fba..cf4171dc03 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.14.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycodestyle_2.15.0.bb @@ -4,7 +4,7 @@ LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=a8546d0e77f416fb05a26acd89c8b3bd" -SRC_URI[sha256sum] = "c4b5b517d278089ff9d0abdec919cd97262a3367449ea1c8b49b91529167b783" +SRC_URI[sha256sum] = "318f5db083869b4c4dad922d0b11124fb27ab181b6730b93371da671e31bd50e" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.47.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.48.0.bb index b81547f055..1a941d86d5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.47.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pycurl_7.48.0.bb @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING-LGPL;md5=4fbd65380cdd255951079008b364516c \ file://COPYING-MIT;md5=be42e1b1e58c8d59c2901fd747bfc55d \ " -SRC_URI[sha256sum] = "5e3cf357939da8d4ceefe3c7f305afcf9b47cba66cfd95e7768ca43b38445e14" +SRC_URI[sha256sum] = "b70961a76c412cd34f9cc2c9558e63f89fb37045c59eee396c585b52973be280" SRC_URI += " file://run-ptest" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc index 44c19ac76a..891718c175 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc @@ -4,22 +4,19 @@ SRC_URI += " \ crate://crates.io/ahash/0.8.12 \ crate://crates.io/aho-corasick/1.1.3 \ - crate://crates.io/allocator-api2/0.2.21 \ crate://crates.io/autocfg/1.3.0 \ - crate://crates.io/base64/0.22.1 \ + crate://crates.io/base64/0.23.1 \ crate://crates.io/bitflags/2.9.1 \ crate://crates.io/bitvec/1.0.1 \ crate://crates.io/bumpalo/3.19.0 \ - crate://crates.io/cc/1.0.101 \ crate://crates.io/cfg-if/1.0.0 \ crate://crates.io/displaydoc/0.2.5 \ crate://crates.io/enum_dispatch/0.3.13 \ - crate://crates.io/equivalent/1.0.2 \ crate://crates.io/foldhash/0.2.0 \ crate://crates.io/form_urlencoded/1.2.2 \ crate://crates.io/funty/2.0.0 \ crate://crates.io/getrandom/0.3.3 \ - crate://crates.io/hashbrown/0.16.1 \ + crate://crates.io/hashbrown/0.17.1 \ crate://crates.io/heck/0.5.0 \ crate://crates.io/hex/0.4.3 \ crate://crates.io/icu_collections/1.5.0 \ @@ -35,7 +32,7 @@ SRC_URI += " \ crate://crates.io/idna/1.1.0 \ crate://crates.io/idna_adapter/1.2.0 \ crate://crates.io/itoa/1.0.11 \ - crate://crates.io/jiter/0.14.0 \ + crate://crates.io/jiter/0.16.0 \ crate://crates.io/js-sys/0.3.77 \ crate://crates.io/lexical-parse-float/1.0.5 \ crate://crates.io/lexical-parse-integer/1.0.5 \ @@ -43,7 +40,7 @@ SRC_URI += " \ crate://crates.io/libc/0.2.185 \ crate://crates.io/litemap/0.7.3 \ crate://crates.io/log/0.4.27 \ - crate://crates.io/lru/0.16.3 \ + crate://crates.io/lru/0.18.5 \ crate://crates.io/memchr/2.7.4 \ crate://crates.io/num-bigint/0.4.6 \ crate://crates.io/num-integer/0.1.46 \ @@ -51,31 +48,30 @@ SRC_URI += " \ crate://crates.io/once_cell/1.21.3 \ crate://crates.io/percent-encoding/2.3.2 \ crate://crates.io/portable-atomic/1.6.0 \ - crate://crates.io/proc-macro2/1.0.86 \ - crate://crates.io/pyo3/0.28.3 \ - crate://crates.io/pyo3-build-config/0.28.3 \ - crate://crates.io/pyo3-ffi/0.28.3 \ - crate://crates.io/pyo3-macros/0.28.3 \ - crate://crates.io/pyo3-macros-backend/0.28.3 \ - crate://crates.io/python3-dll-a/0.2.14 \ + crate://crates.io/proc-macro2/1.0.107 \ + crate://crates.io/pyo3/0.29.2 \ + crate://crates.io/pyo3-build-config/0.29.2 \ + crate://crates.io/pyo3-ffi/0.29.2 \ + crate://crates.io/pyo3-macros/0.29.2 \ + crate://crates.io/pyo3-macros-backend/0.29.2 \ crate://crates.io/quote/1.0.44 \ crate://crates.io/r-efi/5.2.0 \ - crate://crates.io/radium/0.7.0 \ - crate://crates.io/regex/1.12.3 \ - crate://crates.io/regex-automata/0.4.13 \ - crate://crates.io/regex-syntax/0.8.5 \ - crate://crates.io/rustversion/1.0.17 \ - crate://crates.io/serde/1.0.228 \ - crate://crates.io/serde_core/1.0.228 \ - crate://crates.io/serde_derive/1.0.228 \ - crate://crates.io/serde_json/1.0.149 \ - crate://crates.io/smallvec/1.15.1 \ + crate://crates.io/radium/1.1.0 \ + crate://crates.io/regex/1.13.1 \ + crate://crates.io/regex-automata/0.4.18 \ + crate://crates.io/regex-syntax/0.8.11 \ + crate://crates.io/serde/1.0.229 \ + crate://crates.io/serde_core/1.0.229 \ + crate://crates.io/serde_derive/1.0.229 \ + crate://crates.io/serde_json/1.0.151 \ + crate://crates.io/smallvec/1.16.2 \ crate://crates.io/speedate/0.17.0 \ crate://crates.io/stable_deref_trait/1.2.0 \ crate://crates.io/static_assertions/1.1.0 \ crate://crates.io/strum/0.27.2 \ crate://crates.io/strum_macros/0.27.2 \ crate://crates.io/syn/2.0.82 \ + crate://crates.io/syn/3.0.6 \ crate://crates.io/synstructure/0.13.1 \ crate://crates.io/tap/1.0.1 \ crate://crates.io/target-lexicon/0.13.4 \ @@ -84,7 +80,7 @@ SRC_URI += " \ crate://crates.io/url/2.5.8 \ crate://crates.io/utf16_iter/1.0.5 \ crate://crates.io/utf8_iter/1.0.4 \ - crate://crates.io/uuid/1.23.0 \ + crate://crates.io/uuid/1.23.4 \ crate://crates.io/version_check/0.9.5 \ crate://crates.io/wasi/0.14.2+wasi-0.2.4 \ crate://crates.io/wasm-bindgen/0.2.100 \ @@ -109,22 +105,19 @@ SRC_URI += " \ SRC_URI[ahash-0.8.12.sha256sum] = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" -SRC_URI[allocator-api2-0.2.21.sha256sum] = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" -SRC_URI[base64-0.22.1.sha256sum] = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6" +SRC_URI[base64-0.23.1.sha256sum] = "ac07cdecf99051d9a5238b80f35af32cdeba5b336e55d957b318b50137e18da5" SRC_URI[bitflags-2.9.1.sha256sum] = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967" SRC_URI[bitvec-1.0.1.sha256sum] = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" SRC_URI[bumpalo-3.19.0.sha256sum] = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" -SRC_URI[cc-1.0.101.sha256sum] = "ac367972e516d45567c7eafc73d24e1c193dcf200a8d94e9db7b3d38b349572d" SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" SRC_URI[displaydoc-0.2.5.sha256sum] = "97369cbbc041bc366949bc74d34658d6cda5621039731c6310521892a3a20ae0" SRC_URI[enum_dispatch-0.3.13.sha256sum] = "aa18ce2bc66555b3218614519ac839ddb759a7d6720732f979ef8d13be147ecd" -SRC_URI[equivalent-1.0.2.sha256sum] = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f" SRC_URI[foldhash-0.2.0.sha256sum] = "77ce24cb58228fbb8aa041425bb1050850ac19177686ea6e0f41a70416f56fdb" SRC_URI[form_urlencoded-1.2.2.sha256sum] = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf" SRC_URI[funty-2.0.0.sha256sum] = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" SRC_URI[getrandom-0.3.3.sha256sum] = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" -SRC_URI[hashbrown-0.16.1.sha256sum] = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100" +SRC_URI[hashbrown-0.17.1.sha256sum] = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" SRC_URI[icu_collections-1.5.0.sha256sum] = "db2fa452206ebee18c4b5c2274dbf1de17008e874b4dc4f0aea9d01ca79e4526" @@ -140,7 +133,7 @@ SRC_URI[icu_provider_macros-1.5.0.sha256sum] = "1ec89e9337638ecdc08744df490b221a SRC_URI[idna-1.1.0.sha256sum] = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" SRC_URI[idna_adapter-1.2.0.sha256sum] = "daca1df1c957320b2cf139ac61e7bd64fed304c5040df000a745aa1de3b4ef71" SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" -SRC_URI[jiter-0.14.0.sha256sum] = "b6f3b5d3f84b36f4ad09fd1da896d23d9852a1aa86556578dd0289f43dce311d" +SRC_URI[jiter-0.16.0.sha256sum] = "820ddcacd75c9782308d3fa594f3885630ea3f49adba78a8a29abdfe4b81630c" SRC_URI[js-sys-0.3.77.sha256sum] = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f" SRC_URI[lexical-parse-float-1.0.5.sha256sum] = "de6f9cb01fb0b08060209a057c048fcbab8717b4c1ecd2eac66ebfe39a65b0f2" SRC_URI[lexical-parse-integer-1.0.5.sha256sum] = "72207aae22fc0a121ba7b6d479e42cbfea549af1479c3f3a4f12c70dd66df12e" @@ -148,7 +141,7 @@ SRC_URI[lexical-util-1.0.6.sha256sum] = "5a82e24bf537fd24c177ffbbdc6ebcc8d54732c SRC_URI[libc-0.2.185.sha256sum] = "52ff2c0fe9bc6cb6b14a0592c2ff4fa9ceb83eea9db979b0487cd054946a2b8f" SRC_URI[litemap-0.7.3.sha256sum] = "643cb0b8d4fcc284004d5fd0d67ccf61dfffadb7f75e1e71bc420f4688a3a704" SRC_URI[log-0.4.27.sha256sum] = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94" -SRC_URI[lru-0.16.3.sha256sum] = "a1dc47f592c06f33f8e3aea9591776ec7c9f9e4124778ff8a3c3b87159f7e593" +SRC_URI[lru-0.18.5.sha256sum] = "ef9ac18847474e638e3702b76c65d4eb93428471a74778ef0f1be711717f89b5" SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" @@ -156,31 +149,30 @@ SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0 SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" SRC_URI[percent-encoding-2.3.2.sha256sum] = "9b4f627cb1b25917193a259e49bdad08f671f8d9708acfd5fe0a8c1455d87220" SRC_URI[portable-atomic-1.6.0.sha256sum] = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" -SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -SRC_URI[pyo3-0.28.3.sha256sum] = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12" -SRC_URI[pyo3-build-config-0.28.3.sha256sum] = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e" -SRC_URI[pyo3-ffi-0.28.3.sha256sum] = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e" -SRC_URI[pyo3-macros-0.28.3.sha256sum] = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813" -SRC_URI[pyo3-macros-backend-0.28.3.sha256sum] = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb" -SRC_URI[python3-dll-a-0.2.14.sha256sum] = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8" +SRC_URI[proc-macro2-1.0.107.sha256sum] = "985e7ec9bb745e6ce6535b544d84d6cd6f7ad8bd711c398938ae983b91a766d9" +SRC_URI[pyo3-0.29.2.sha256sum] = "4688ddedf473e32662b9b067670129a8afb8c18e351482c70d62ba4a88171e8b" +SRC_URI[pyo3-build-config-0.29.2.sha256sum] = "f41027e41b4bd03f6e60f9f417fe24a6341a6bb744edd62b6f709f2a52ea30e9" +SRC_URI[pyo3-ffi-0.29.2.sha256sum] = "e591a95526fead067432c3b3a33fc74770b87b1e04e73671090d9c2055a2b327" +SRC_URI[pyo3-macros-0.29.2.sha256sum] = "73225868fc1cd84eef2c3c230ddb91273bf1de46aeb8a4248da76d32a0924a1c" +SRC_URI[pyo3-macros-backend-0.29.2.sha256sum] = "571575aa3749fa6216757dd47d2a3e7ef360f329a40f0666a9fbd14889024952" SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" SRC_URI[r-efi-5.2.0.sha256sum] = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" -SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" -SRC_URI[regex-1.12.3.sha256sum] = "e10754a14b9137dd7b1e3e5b0493cc9171fdd105e0ab477f51b72e7f3ac0e276" -SRC_URI[regex-automata-0.4.13.sha256sum] = "5276caf25ac86c8d810222b3dbb938e512c55c6831a10f3e6ed1c93b84041f1c" -SRC_URI[regex-syntax-0.8.5.sha256sum] = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c" -SRC_URI[rustversion-1.0.17.sha256sum] = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" -SRC_URI[serde-1.0.228.sha256sum] = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" -SRC_URI[serde_core-1.0.228.sha256sum] = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" -SRC_URI[serde_derive-1.0.228.sha256sum] = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" -SRC_URI[serde_json-1.0.149.sha256sum] = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" -SRC_URI[smallvec-1.15.1.sha256sum] = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +SRC_URI[radium-1.1.0.sha256sum] = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c" +SRC_URI[regex-1.13.1.sha256sum] = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +SRC_URI[regex-automata-0.4.18.sha256sum] = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +SRC_URI[regex-syntax-0.8.11.sha256sum] = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" +SRC_URI[serde-1.0.229.sha256sum] = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +SRC_URI[serde_core-1.0.229.sha256sum] = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +SRC_URI[serde_derive-1.0.229.sha256sum] = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +SRC_URI[serde_json-1.0.151.sha256sum] = "c841b55ecdae098c80dcae9cf767f6f8a0c2cdb3416bbef72181df4d0fe73f14" +SRC_URI[smallvec-1.16.2.sha256sum] = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e" SRC_URI[speedate-0.17.0.sha256sum] = "aba069c070b5e213f2a094deb7e5ed50ecb092be36102a4f4042e8d2056d060e" SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" SRC_URI[strum-0.27.2.sha256sum] = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" SRC_URI[strum_macros-0.27.2.sha256sum] = "7695ce3845ea4b33927c055a39dc438a45b059f7c1b3d91d38d10355fb8cbca7" SRC_URI[syn-2.0.82.sha256sum] = "83540f837a8afc019423a8edb95b52a8effe46957ee402287f4292fae35be021" +SRC_URI[syn-3.0.6.sha256sum] = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" SRC_URI[synstructure-0.13.1.sha256sum] = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971" SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" SRC_URI[target-lexicon-0.13.4.sha256sum] = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba" @@ -189,7 +181,7 @@ SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb66163 SRC_URI[url-2.5.8.sha256sum] = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" SRC_URI[utf16_iter-1.0.5.sha256sum] = "c8232dd3cdaed5356e0f716d285e4b40b932ac434100fe9b7e0e8e935b9e6246" SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" -SRC_URI[uuid-1.23.0.sha256sum] = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9" +SRC_URI[uuid-1.23.4.sha256sum] = "bf80a72845275afea99e7f2b434723d3bc7e38470fcd1c7ed39a599c73319a53" SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" SRC_URI[wasi-0.14.2+wasi-0.2.4.sha256sum] = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3" SRC_URI[wasm-bindgen-0.2.100.sha256sum] = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5" @@ -210,22 +202,3 @@ SRC_URI[zerofrom-derive-0.1.4.sha256sum] = "0ea7b4a3637ea8669cedf0f1fd5c286a17f3 SRC_URI[zerovec-0.10.4.sha256sum] = "aa2b893d79df23bfb12d5461018d408ea19dfafe76c2c7ef6d4eba614f8ff079" SRC_URI[zerovec-derive-0.10.3.sha256sum] = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6" SRC_URI[zmij-1.0.6.sha256sum] = "aac060176f7020d62c3bcc1cdbcec619d54f48b07ad1963a3f80ce7a0c17755f" -SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" -SRC_URI[indoc-2.0.5.sha256sum] = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5" -SRC_URI[jiter-0.11.1.sha256sum] = "8e805fb15a8249d25213202b9098f7b9ad00f8042ccc6f0063d2ae7b33f3d7da" -SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" -SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" -SRC_URI[pyo3-0.26.0.sha256sum] = "7ba0117f4212101ee6544044dae45abe1083d30ce7b29c4b5cbdfa2354e07383" -SRC_URI[pyo3-build-config-0.26.0.sha256sum] = "4fc6ddaf24947d12a9aa31ac65431fb1b851b8f4365426e182901eabfb87df5f" -SRC_URI[pyo3-ffi-0.26.0.sha256sum] = "025474d3928738efb38ac36d4744a74a400c901c7596199e20e45d98eb194105" -SRC_URI[pyo3-macros-0.26.0.sha256sum] = "2e64eb489f22fe1c95911b77c44cc41e7c19f3082fc81cce90f657cdc42ffded" -SRC_URI[pyo3-macros-backend-0.26.0.sha256sum] = "100246c0ecf400b475341b8455a9213344569af29a3c841d29270e53102e0fcf" -SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" -SRC_URI[radium-1.1.0.sha256sum] = "db0b76288902db304c864a12046b73d2d895cc34a4bb8137baaeebe9978a072c" -SRC_URI[regex-1.12.2.sha256sum] = "843bc0191f75f3e22651ae5f1e72939ab2f72a4bc30fa80a066bd66edefc24d4" -SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" -SRC_URI[serde_json-1.0.145.sha256sum] = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c" -SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" -SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" -SRC_URI[url-2.5.4.sha256sum] = "32f8b686cadd1473f4bd0117a5d28d36b1ade384ea9b5069a1c40aefed7fda60" -SRC_URI[uuid-1.18.1.sha256sum] = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch index 53fd2a4785..30af375be5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch @@ -1,4 +1,4 @@ -From ca6400743a86fa334936d9984dcd40e90bb06e60 Mon Sep 17 00:00:00 2001 +From bbce870c29c4c51402a39383476597438b4dfcef Mon Sep 17 00:00:00 2001 From: Khem Raj <raj.khem@gmail.com> Date: Sat, 19 Apr 2025 00:09:42 -0700 Subject: [PATCH] cargo.toml: Update bitvec to use radium 1.x @@ -13,10 +13,10 @@ Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock -index 6f26c8a..91ceade 100644 +index 094919f..c33228f 100644 --- a/Cargo.lock +++ b/Cargo.lock -@@ -55,7 +55,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" +@@ -49,7 +49,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" dependencies = [ "funty", @@ -25,7 +25,7 @@ index 6f26c8a..91ceade 100644 "tap", "wyz", ] -@@ -469,6 +469,7 @@ dependencies = [ +@@ -449,6 +449,7 @@ dependencies = [ "percent-encoding", "pyo3", "pyo3-build-config", @@ -33,7 +33,7 @@ index 6f26c8a..91ceade 100644 "regex", "serde", "serde_json", -@@ -569,9 +570,12 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" +@@ -538,9 +539,12 @@ checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5" [[package]] name = "radium" @@ -49,7 +49,7 @@ index 6f26c8a..91ceade 100644 [[package]] name = "regex" diff --git a/Cargo.toml b/Cargo.toml -index 1fb5dcc..4949c8a 100644 +index 0d1d5a4..d3da0ac 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,6 +25,8 @@ include = [ @@ -60,7 +60,4 @@ index 1fb5dcc..4949c8a 100644 +radium = "1" # TODO it would be very nice to remove the "py-clone" feature as it can panic, # but needs a bit of work to make sure it's not used in the codebase - pyo3 = { version = "0.28", features = ["generate-import-lib", "num-bigint", "py-clone", "smallvec"] } --- -2.47.3 - + pyo3 = { version = "0.29.2", features = ["num-bigint", "py-clone", "smallvec"] } diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch deleted file mode 100644 index fd94526686..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core/0001-musl-enable-getrandom-on-all-musl-platforms.patch +++ /dev/null @@ -1,81 +0,0 @@ -From 4253e25b7f31d207c69b9997f403b6e4e560e258 Mon Sep 17 00:00:00 2001 -From: Tamir Duberstein <tamird@gmail.com> -Date: Thu, 20 Mar 2025 11:45:08 -0400 -Subject: [PATCH] musl: enable `getrandom` on all musl platforms - -The existing bindings were added in #1399 and limited to targets where -rustc used musl version >= 1.1.20 which was not all musl targets at that -time. Since https://github.com/rust-lang/rust/pull/107129 all musl -targets use musl 1.2.3. Hence, move the binding to the module root so it -is available for all musl targets. - -Upstream-Status: Backport [https://github.com/rust-lang/libc/pull/4346] -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - src/unix/linux_like/linux/musl/b32/arm/mod.rs | 4 ---- - src/unix/linux_like/linux/musl/b32/powerpc.rs | 4 ---- - src/unix/linux_like/linux/musl/b32/x86/mod.rs | 4 ---- - src/unix/linux_like/linux/musl/b64/mod.rs | 4 ---- - src/unix/linux_like/linux/musl/mod.rs | 2 ++ - 5 files changed, 2 insertions(+), 16 deletions(-) - ---- a/src/unix/linux_like/linux/musl/b32/arm/mod.rs -+++ b/src/unix/linux_like/linux/musl/b32/arm/mod.rs -@@ -841,10 +841,6 @@ pub const SYS_process_mrelease: ::c_long - pub const SYS_futex_waitv: ::c_long = 449; - pub const SYS_set_mempolicy_home_node: ::c_long = 450; - --extern "C" { -- pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; --} -- - cfg_if! { - if #[cfg(libc_align)] { - mod align; ---- a/src/unix/linux_like/linux/musl/b32/powerpc.rs -+++ b/src/unix/linux_like/linux/musl/b32/powerpc.rs -@@ -796,7 +796,3 @@ pub const SYS_memfd_secret: ::c_long = 4 - pub const SYS_process_mrelease: ::c_long = 448; - pub const SYS_futex_waitv: ::c_long = 449; - pub const SYS_set_mempolicy_home_node: ::c_long = 450; -- --extern "C" { -- pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; --} ---- a/src/unix/linux_like/linux/musl/b32/x86/mod.rs -+++ b/src/unix/linux_like/linux/musl/b32/x86/mod.rs -@@ -956,10 +956,6 @@ pub const EFL: ::c_int = 14; - pub const UESP: ::c_int = 15; - pub const SS: ::c_int = 16; - --extern "C" { -- pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; --} -- - cfg_if! { - if #[cfg(libc_align)] { - mod align; ---- a/src/unix/linux_like/linux/musl/b64/mod.rs -+++ b/src/unix/linux_like/linux/musl/b64/mod.rs -@@ -134,10 +134,6 @@ pub const __SIZEOF_PTHREAD_RWLOCK_T: usi - pub const __SIZEOF_PTHREAD_MUTEX_T: usize = 40; - pub const __SIZEOF_PTHREAD_BARRIER_T: usize = 32; - --extern "C" { -- pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; --} -- - cfg_if! { - if #[cfg(target_arch = "aarch64")] { - mod aarch64; ---- a/src/unix/linux_like/linux/musl/mod.rs -+++ b/src/unix/linux_like/linux/musl/mod.rs -@@ -885,6 +885,8 @@ extern "C" { - - pub fn dirname(path: *mut ::c_char) -> *mut ::c_char; - pub fn basename(path: *mut ::c_char) -> *mut ::c_char; -+ // Addded in `musl` 1.1.20 -+ pub fn getrandom(buf: *mut ::c_void, buflen: ::size_t, flags: ::c_uint) -> ::ssize_t; - } - - // Alias <foo> to <foo>64 to mimic glibc's LFS64 support diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.46.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.46.4.bb deleted file mode 100644 index bc9f0e2ad3..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.46.4.bb +++ /dev/null @@ -1,154 +0,0 @@ -SUMMARY = "Provides the core functionality for pydantic validation and serialization." -DESCRIPTION = "This package provides the core functionality for \ -pydantic validation and serialization.\ -\ -Pydantic-core is currently around 17x faster than pydantic V1." -HOMEPAGE = "https://github.com/pydantic/pydantic-core" - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" - -require ${BPN}-crates.inc - -SRC_URI += "file://0001-Upgrade-radium-to-1.0.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/bitvec-1.0.1/" -SRC_URI += "file://atomic.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/radium-1.1.0/" -SRC_URI += "file://0001-musl-enable-getrandom-on-all-musl-platforms.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/libc-0.2.155/" -SRC_URI += "file://0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch" -SRC_URI += "crate://crates.io/ahash/0.8.12 \ - crate://crates.io/aho-corasick/1.1.3 \ - crate://crates.io/autocfg/1.3.0 \ - crate://crates.io/base64/0.22.1 \ - crate://crates.io/bitflags/2.9.1 \ - crate://crates.io/bitvec/1.0.1 \ - crate://crates.io/bumpalo/3.19.0 \ - crate://crates.io/cc/1.0.101 \ - crate://crates.io/cfg-if/1.0.0 \ - crate://crates.io/displaydoc/0.2.5 \ - crate://crates.io/enum_dispatch/0.3.13 \ - crate://crates.io/form_urlencoded/1.2.1 \ - crate://crates.io/funty/2.0.0 \ - crate://crates.io/getrandom/0.3.3 \ - crate://crates.io/heck/0.5.0 \ - crate://crates.io/hex/0.4.3 \ - crate://crates.io/icu_collections/1.5.0 \ - crate://crates.io/icu_locid/1.5.0 \ - crate://crates.io/icu_locid_transform/1.5.0 \ - crate://crates.io/icu_locid_transform_data/1.5.0 \ - crate://crates.io/icu_normalizer/1.5.0 \ - crate://crates.io/icu_normalizer_data/1.5.0 \ - crate://crates.io/icu_properties/1.5.1 \ - crate://crates.io/icu_properties_data/1.5.0 \ - crate://crates.io/icu_provider/1.5.0 \ - crate://crates.io/icu_provider_macros/1.5.0 \ - crate://crates.io/idna/1.1.0 \ - crate://crates.io/idna_adapter/1.2.0 \ - crate://crates.io/indoc/2.0.5 \ - crate://crates.io/itoa/1.0.11 \ - crate://crates.io/jiter/0.11.1 \ - crate://crates.io/js-sys/0.3.77 \ - crate://crates.io/lexical-parse-float/1.0.5 \ - crate://crates.io/lexical-parse-integer/1.0.5 \ - crate://crates.io/lexical-util/1.0.6 \ - crate://crates.io/libc/0.2.155 \ - crate://crates.io/litemap/0.7.3 \ - crate://crates.io/log/0.4.27 \ - crate://crates.io/memchr/2.7.4 \ - crate://crates.io/memoffset/0.9.1 \ - crate://crates.io/num-bigint/0.4.6 \ - crate://crates.io/num-integer/0.1.46 \ - crate://crates.io/num-traits/0.2.19 \ - crate://crates.io/once_cell/1.21.3 \ - crate://crates.io/percent-encoding/2.3.2 \ - crate://crates.io/portable-atomic/1.6.0 \ - crate://crates.io/proc-macro2/1.0.86 \ - crate://crates.io/pyo3/0.26.0 \ - crate://crates.io/pyo3-build-config/0.26.0 \ - crate://crates.io/pyo3-ffi/0.26.0 \ - crate://crates.io/pyo3-macros/0.26.0 \ - crate://crates.io/pyo3-macros-backend/0.26.0 \ - crate://crates.io/python3-dll-a/0.2.14 \ - crate://crates.io/quote/1.0.36 \ - crate://crates.io/r-efi/5.2.0 \ - crate://crates.io/radium/1.1.0 \ - crate://crates.io/regex/1.12.2 \ - crate://crates.io/regex-automata/0.4.13 \ - crate://crates.io/regex-syntax/0.8.5 \ - crate://crates.io/rustversion/1.0.17 \ - crate://crates.io/ryu/1.0.18 \ - crate://crates.io/serde/1.0.228 \ - crate://crates.io/serde_core/1.0.228 \ - crate://crates.io/serde_derive/1.0.228 \ - crate://crates.io/serde_json/1.0.145 \ - crate://crates.io/smallvec/1.15.1 \ - crate://crates.io/speedate/0.17.0 \ - crate://crates.io/stable_deref_trait/1.2.0 \ - crate://crates.io/static_assertions/1.1.0 \ - crate://crates.io/strum/0.27.2 \ - crate://crates.io/strum_macros/0.27.2 \ - crate://crates.io/syn/2.0.82 \ - crate://crates.io/synstructure/0.13.1 \ - crate://crates.io/tap/1.0.1 \ - crate://crates.io/target-lexicon/0.13.2 \ - crate://crates.io/tinystr/0.7.6 \ - crate://crates.io/unicode-ident/1.0.12 \ - crate://crates.io/unindent/0.2.3 \ - crate://crates.io/url/2.5.4 \ - crate://crates.io/utf16_iter/1.0.5 \ - crate://crates.io/utf8_iter/1.0.4 \ - crate://crates.io/uuid/1.18.1 \ - crate://crates.io/version_check/0.9.5 \ - crate://crates.io/wasi/0.14.2+wasi-0.2.4 \ - crate://crates.io/wasm-bindgen/0.2.100 \ - crate://crates.io/wasm-bindgen-backend/0.2.100 \ - crate://crates.io/wasm-bindgen-macro/0.2.100 \ - crate://crates.io/wasm-bindgen-macro-support/0.2.100 \ - crate://crates.io/wasm-bindgen-shared/0.2.100 \ - crate://crates.io/wit-bindgen-rt/0.39.0 \ - crate://crates.io/write16/1.0.0 \ - crate://crates.io/writeable/0.5.5 \ - crate://crates.io/wyz/0.5.1 \ - crate://crates.io/yoke/0.7.4 \ - crate://crates.io/yoke-derive/0.7.4 \ - crate://crates.io/zerocopy/0.8.25 \ - crate://crates.io/zerocopy-derive/0.8.25 \ - crate://crates.io/zerofrom/0.1.4 \ - crate://crates.io/zerofrom-derive/0.1.4 \ - crate://crates.io/zerovec/0.10.4 \ - crate://crates.io/zerovec-derive/0.10.3 \ - " -SRC_URI[sha256sum] = "62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1" - -DEPENDS = "python3-maturin-native python3-typing-extensions" - -inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest - -PYPI_PACKAGE = "pydantic_core" - -RDEPENDS:${PN} += " \ - python3-compression \ - python3-typing-extensions \ -" - -INSANE_SKIP:${PN} = "already-stripped" - -# python3-misc is for Lib/timeit.py which is not split out elsewhere -RDEPENDS:${PN}-ptest += "\ - python3-dateutil \ - python3-dirty-equals \ - python3-hypothesis \ - python3-inline-snapshot \ - python3-misc \ - python3-pytest-mock \ - python3-pytest-timeout \ - python3-pytest-benchmark \ - python3-typing-inspection \ - python3-tzdata \ - python3-zoneinfo \ -" - -do_install_ptest:append () { - 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 -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.50.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.50.1.bb new file mode 100644 index 0000000000..8530fddbd6 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic-core_2.50.1.bb @@ -0,0 +1,55 @@ +SUMMARY = "Provides the core functionality for pydantic validation and serialization." +DESCRIPTION = "This package provides the core functionality for \ +pydantic validation and serialization.\ +\ +Pydantic-core is currently around 17x faster than pydantic V1." +HOMEPAGE = "https://github.com/pydantic/pydantic-core" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" + +require ${BPN}-crates.inc + +SRC_URI += "file://0001-Upgrade-radium-to-1.0.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/bitvec-1.0.1/" +SRC_URI += "file://atomic.patch;patchdir=${UNPACKDIR}/cargo_home/bitbake/radium-1.1.0/" +SRC_URI += "file://0001-cargo.toml-Update-bitvec-to-use-radium-1.x.patch" +SRC_URI[sha256sum] = "e50d7b94baac6c7d09927fa5ca5800a0c7ee5015c7fcff65beb3a1931b5a6e09" + +DEPENDS = "python3-maturin-native python3-typing-extensions" + +inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest + +RDEPENDS:${PN} += " \ + python3-compression \ + python3-typing-extensions \ +" + +INSANE_SKIP:${PN} = "already-stripped" + +# python3-misc is for Lib/timeit.py which is not split out elsewhere +RDEPENDS:${PN}-ptest += "\ + python3-dateutil \ + python3-dirty-equals \ + python3-hypothesis \ + python3-inline-snapshot \ + python3-misc \ + python3-pydantic \ + python3-pytest-mock \ + python3-pytest-timeout \ + python3-pytest-benchmark \ + python3-pytest-examples \ + python3-typing-inspection \ + python3-tzdata \ + python3-zoneinfo \ +" + +do_install_ptest:append () { + cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ + install -m 0644 ${S}/README.md ${D}${PTEST_PATH}/ + sed -i -e "s|PYDANTIC_CORE_DIR / 'python/pydantic_core/core_schema.py'|'${PYTHON_SITEPACKAGES_DIR}/pydantic_core/core_schema.py'|" \ + -e "s/^ lint_skip = .*/ lint_skip = True/" \ + ${D}${PTEST_PATH}/tests/test_docstrings.py + 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 +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.14.1.bb index 17a6941d14..eb8e42198e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.13.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pydantic_2.14.1.bb @@ -11,9 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" inherit python_hatchling ptest-python-pytest -SRCREV = "cf67d4b3193c3fe43ede18612ed62785eee11382" -PV .= "+git" -SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v2.13-fixes" +SRCREV = "b2212c787fb5c73386dc770681ec49cd09da8e73" +SRC_URI = "git://github.com/pydantic/pydantic;protocol=https;branch=v${@oe.utils.trim_version('${PV}', 2)}-fixes;tag=v${PV}" DEPENDS += "python3-hatch-fancy-pypi-readme-native" CVE_PRODUCT = "pydantic:pydantic" @@ -57,6 +56,7 @@ RDEPENDS:${PN}-ptest += "\ python3-pytz \ python3-rich \ python3-sqlalchemy \ + python3-time-machine \ python3-unixadmin \ python3-ruff \ python3-pytest-examples \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyee_14.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyee_16.0.0.bb index 3435ea64a5..ab40be2150 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyee_14.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyee_16.0.0.bb @@ -3,7 +3,7 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=b2b1cc8797dff32cec5d783148fceab5" DEPENDS = "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "76dd0f4314ecd27f02dc73589dea7fd3853f9b6176d8ef9b122860657e3602de" +SRC_URI[sha256sum] = "34de6fbc4d8f0880bb997efd0eb642ba01f02688e740cbd3aa3bee9db4b1c5ec" inherit pypi python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb index 7ec799e086..347c562e97 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfirmata_1.1.0.bb @@ -2,7 +2,7 @@ SUMMARY = "A Python interface for the Firmata protocol" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=84ddcef430b7c44caa22b2ff4b37a3df" -PYPI_PACKAGE = "pyFirmata" +PYPI_PACKAGE_SDIST = "pyFirmata" RDEPENDS:${PN} = "\ python3-pyserial \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyflakes_3.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyflakes_4.1.0.bb index a946a008c2..1472253e66 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyflakes_3.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyflakes_4.1.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/PyCQA/pyflakes" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=690c2d09203dc9e07c4083fc45ea981f" -SRC_URI[sha256sum] = "b24f96fafb7d2ab0ec5075b7350b3d2d2218eab42003821c06344973d3ea2f58" +SRC_URI[sha256sum] = "592beb57058eb82eb190fb7514f2081c555c51000b029ff71286a681e6cf2f83" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.13.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.15.1.bb index 1b018f605b..91de437404 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.13.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyjwt_2.15.1.bb @@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/jpadilla/pyjwt" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e4b56d2c9973d8cf54655555be06e551" -SRC_URI[sha256sum] = "41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423" +SRC_URI[sha256sum] = "4f259e80cdfb6b3fc18a7de51fd1ef9ec79652f25019bae68975ca2468a34df8" CVE_PRODUCT = "pyjwt" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch index 307dc0083b..b98b776136 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0001-Adjust-test-expectations-for-ptest.patch @@ -1,4 +1,4 @@ -From ed93b7d7f629e95528560f84ead6919b5f1c9d37 Mon Sep 17 00:00:00 2001 +From 6fb7ef6a3cacd55337c8497e720c2b5d1e5da739 Mon Sep 17 00:00:00 2001 From: Dan McGregor <dan.mcgregor@vecima.com> Date: Wed, 13 Mar 2024 14:08:25 -0600 Subject: [PATCH] Adjust test expectations for ptest @@ -12,31 +12,33 @@ Signed-off-by: Dan McGregor <dan.mcgregor@vecima.com> tests/functional/w/wrong_import_order.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) +diff --git a/tests/functional/w/wrong_import_order.txt b/tests/functional/w/wrong_import_order.txt +index 9bd78c786..9a2859811 100644 --- a/tests/functional/w/wrong_import_order.txt +++ b/tests/functional/w/wrong_import_order.txt -@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard - wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""astroid.are_exclusive""":UNDEFINED +@@ -3,14 +3,14 @@ wrong-import-order:14:0:14:10::"standard import ""sys"" should be placed before + wrong-import-order:15:0:15:15::"standard import ""datetime"" should be placed before third party imports ""six"", ""pytest.mark""":UNDEFINED wrong-import-order:18:0:18:22::"third party import ""totally_missing"" should be placed before local import ""package.Class""":UNDEFINED - wrong-import-order:20:0:20:14::"third party import ""astroid"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED + wrong-import-order:20:0:20:13::"third party import ""pytest"" should be placed before local imports ""package.Class"", "".package""":UNDEFINED -wrong-import-order:22:0:22:22::"first party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:23:0:23:25::"first party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:24:0:24:17::"first party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:25:0:25:28::"first party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED -wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:31:0:31:23::"first party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED --wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"", ""totally_missing"", ""astroid"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"", ""totally_missing"", ""pytest"", ""six.moves.urllib.parse.quote"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"", ""pylint.pyreverse"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:33:0:33:24::"first party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -wrong-import-order:34:0:34:21::"first party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED --wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""astroid"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +-wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"" (...) ""pytest"", ""six.moves.urllib.parse.quote"", ""requests"", first party imports ""pylint.checkers"", ""pylint.config"", ""pylint.sys"" (...) ""pylint.constants"", ""pylint.exceptions"", ""pylint.message"", and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:22:0:22:22::"third party import ""pylint.checkers"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:23:0:23:25::"third party import ""pylint.config"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:24:0:24:17::"third party import ""pylint.sys"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:25:0:25:28::"third party import ""pylint.pyreverse"" should be placed before local imports ""package.Class"", "".package"", "".package2""":UNDEFINED +wrong-import-order:30:0:30:40::"third party import ""six.moves.urllib.parse.quote"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:31:0:31:23::"third party import ""pylint.constants"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -+wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:32:0:32:19::"standard import ""re"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"" (...) ""pylint.pyreverse"", ""six.moves.urllib.parse.quote"", ""pylint.constants"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:32:0:32:19::"third party import ""requests"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:33:0:33:24::"third party import ""pylint.exceptions"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED +wrong-import-order:34:0:34:21::"third party import ""pylint.message"" should be placed before local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED -+wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""astroid.are_exclusive"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED ++wrong-import-order:35:0:35:11::"standard import ""time"" should be placed before third party imports ""six"", ""pytest.mark"", ""unused_import"" (...) ""requests"", ""pylint.exceptions"", ""pylint.message"" and local imports ""package.Class"", "".package"", "".package2"" (...) ""package3.Class3"", "".package4"", ""package4.Class4""":UNDEFINED diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch deleted file mode 100644 index 9c1d535690..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch +++ /dev/null @@ -1,43 +0,0 @@ -From b559c86a8e6efb7f2081c4aacf9ce1c552d60abb Mon Sep 17 00:00:00 2001 -From: Leon Anavi <leon.anavi@konsulko.com> -Date: Thu, 20 Mar 2025 12:09:42 +0000 -Subject: [PATCH] pyproject.toml: Keep tool.setuptools.license-files - -Keep legacy license declaration and tool.setuptools.license-files -to avoid the following errors: - -| ValueError: invalid pyproject.toml config: `project.license`. -| configuration error: `project.license` must be valid exactly by one definition (2 matches found): - -| ValueError: invalid pyproject.toml config: `project`. -| configuration error: `project` must not contain {'license-files'} properties - -Upstream-Status: Inappropriate - -Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> ---- - pyproject.toml | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -8,8 +8,7 @@ name = "pylint" - description = "python code static checker" - readme = "README.rst" - keywords = [ "lint", "linter", "python", "static code analysis" ] --license = "GPL-2.0-or-later" --license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] -+license = { text = "GPL-2.0-or-later" } - authors = [ - { name = "Python Code Quality Authority", email = "code-quality@python.org" }, - ] -@@ -105,6 +104,9 @@ test-min = [ - "typing-extensions~=4.15", - ] - -+[tool.setuptools] -+license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] -+ - [tool.setuptools.packages.find] - include = [ "pylint*" ] - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0003-astroid-4.1.2-endlineno.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0003-astroid-4.1.2-endlineno.patch deleted file mode 100644 index 1b85ae6606..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint/0003-astroid-4.1.2-endlineno.patch +++ /dev/null @@ -1,203 +0,0 @@ -From febd3091c2e241833aa5534edf887f96b6e7b77e Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Sun, 16 Aug 2026 06:05:33 +0200 -Subject: [PATCH] tests: adjust functional-test expectations for astroid - 4.1.2 / Python 3.14 - -astroid 4.1.2 (the version this distro packages) changed how it -resolves the enclosing scope/parent name and end_lineno for decorated -functions, singledispatch registrations, positional-only-arg checks -and a few other node kinds. These functional tests were pinned -against an older astroid's output and fail with plain output-text -mismatches (not logic errors) once run against 4.1.2. Regenerated the -expected .txt fixtures with: - - python tests/test_functional.py --update-functional-output -k ... - -against astroid==4.1.2, mirroring the existing -0001-Adjust-test-expectations-for-ptest.patch approach for this -recipe. - -tests/functional/u/undefined/undefined_variable.314.txt is pylint's -own Python-3.14-specific override of undefined_variable.txt (see -FunctionalTestFile.expected_output, which prefers a "<base>.<ver>.txt" -file over the plain one when it matches the running interpreter). The -distro's target Python is 3.14.7, so this file - not the plain .txt - -is what actually gets read during ptest, and it still carried the -pre-4.1.2 astroid values for the same two lines. Applied the identical -lineno 339/344 fix there too; verified both files against the same -python3-native 3.14.7 build used to run the target ptest. - -Upstream-Status: Inappropriate (embedded specific) -Signed-off-by: Khem Raj <raj.khem@gmail.com> ---- - .../d/deprecated/deprecated_decorators.txt | 2 +- - .../m/method_cache_max_size_none.txt | 16 ++++++++-------- - .../non_ascii_name_decorator.txt | 2 +- - .../o/overridden_final_method_regression.txt | 2 +- - .../r/regression_02/regression_10334.txt | 2 +- - .../s/singledispatch/singledispatch_method.txt | 18 +++++++++--------- - .../singledispatchmethod_function.txt | 6 +++--- - .../u/undefined/undefined_variable.314.txt | 4 ++-- - .../u/undefined/undefined_variable.txt | 4 ++-- - .../unsupported_version_for_final.txt | 18 +++++++++--------- - .../unsupported_version_for_posonly_args.txt | 2 +- - tests/functional/u/unused/unused_argument.txt | 4 ++-- - 12 files changed, 40 insertions(+), 40 deletions(-) - -diff --git a/tests/functional/d/deprecated/deprecated_decorators.txt b/tests/functional/d/deprecated/deprecated_decorators.txt -index 38bb50f..e93f0aa 100644 ---- a/tests/functional/d/deprecated/deprecated_decorators.txt -+++ b/tests/functional/d/deprecated/deprecated_decorators.txt -@@ -1 +1 @@ --deprecated-decorator:7:4:7:28:MyClass.my_method:Using deprecated decorator abc.abstractclassmethod():UNDEFINED -+deprecated-decorator:7:4:7:28:MyClass:Using deprecated decorator abc.abstractclassmethod():UNDEFINED -diff --git a/tests/functional/m/method_cache_max_size_none.txt b/tests/functional/m/method_cache_max_size_none.txt -index bd916c6..0b16047 100644 ---- a/tests/functional/m/method_cache_max_size_none.txt -+++ b/tests/functional/m/method_cache_max_size_none.txt -@@ -1,8 +1,8 @@ --method-cache-max-size-none:26:5:26:20:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:30:5:30:30:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:34:5:34:38:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:38:5:38:24:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:43:5:43:24:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:44:5:44:24:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:49:5:49:30:MyClassWithMethods.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE --method-cache-max-size-none:79:5:79:40:MyClassWithMethodsAndMaxSize.my_func:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:26:5:26:20:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:30:5:30:30:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:34:5:34:38:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:38:5:38:24:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:43:5:43:24:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:44:5:44:24:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:49:5:49:30:MyClassWithMethods:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -+method-cache-max-size-none:79:5:79:40:MyClassWithMethodsAndMaxSize:'lru_cache(maxsize=None)' or 'cache' will keep all method args alive indefinitely, including 'self':INFERENCE -diff --git a/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt b/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt -index 6c49440..6ef1dfb 100644 ---- a/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt -+++ b/tests/functional/n/non_ascii_name/non_ascii_name_decorator.txt -@@ -1 +1 @@ --non-ascii-name:16:4:16:13:a_function:"Argument name ""fåling"" contains a non-ASCII character, consider renaming it.":HIGH -+non-ascii-name:16:4:16:13::"Argument name ""fåling"" contains a non-ASCII character, consider renaming it.":HIGH -diff --git a/tests/functional/o/overridden_final_method_regression.txt b/tests/functional/o/overridden_final_method_regression.txt -index a8cb239..9e7d118 100644 ---- a/tests/functional/o/overridden_final_method_regression.txt -+++ b/tests/functional/o/overridden_final_method_regression.txt -@@ -1 +1 @@ --undefined-variable:4:1:4:18:crash_test:Undefined variable 'unknown_decorator':UNDEFINED -+undefined-variable:4:1:4:18::Undefined variable 'unknown_decorator':UNDEFINED -diff --git a/tests/functional/r/regression_02/regression_10334.txt b/tests/functional/r/regression_02/regression_10334.txt -index d2baba9..838c6d9 100644 ---- a/tests/functional/r/regression_02/regression_10334.txt -+++ b/tests/functional/r/regression_02/regression_10334.txt -@@ -1 +1 @@ --not-callable:4:1:4:4:A:s is not callable:UNDEFINED -+not-callable:4:1:4:4::s is not callable:UNDEFINED -diff --git a/tests/functional/s/singledispatch/singledispatch_method.txt b/tests/functional/s/singledispatch/singledispatch_method.txt -index 7943551..b44df99 100644 ---- a/tests/functional/s/singledispatch/singledispatch_method.txt -+++ b/tests/functional/s/singledispatch/singledispatch_method.txt -@@ -1,9 +1,9 @@ --singledispatch-method:9:5:9:19:Board1.convert_position:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH --singledispatch-method:13:5:13:30:Board1._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE --singledispatch-method:18:5:18:30:Board1._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE --singledispatch-method:24:5:24:19:Board2.convert_position:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH --singledispatch-method:29:5:29:30:Board2._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE --singledispatch-method:35:5:35:30:Board2._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE --singledispatch-method:43:5:43:19:Board3.convert_position:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH --singledispatch-method:48:5:48:30:Board3._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE --singledispatch-method:54:5:54:30:Board3._:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -+singledispatch-method:9:5:9:19:Board1:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH -+singledispatch-method:13:5:13:30:Board1:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -+singledispatch-method:18:5:18:30:Board1:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -+singledispatch-method:24:5:24:19:Board2:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH -+singledispatch-method:29:5:29:30:Board2:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -+singledispatch-method:35:5:35:30:Board2:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -+singledispatch-method:43:5:43:19:Board3:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:HIGH -+singledispatch-method:48:5:48:30:Board3:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -+singledispatch-method:54:5:54:30:Board3:singledispatch decorator should not be used with methods, use singledispatchmethod instead.:INFERENCE -diff --git a/tests/functional/s/singledispatch/singledispatchmethod_function.txt b/tests/functional/s/singledispatch/singledispatchmethod_function.txt -index c25f70c..6884f38 100644 ---- a/tests/functional/s/singledispatch/singledispatchmethod_function.txt -+++ b/tests/functional/s/singledispatch/singledispatchmethod_function.txt -@@ -1,3 +1,3 @@ --singledispatchmethod-function:9:1:9:21:convert_position2:singledispatchmethod decorator should not be used with functions, use singledispatch instead.:HIGH --singledispatchmethod-function:13:1:13:27:_:singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE --singledispatchmethod-function:18:1:18:27:_:singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE -+singledispatchmethod-function:9:1:9:21::singledispatchmethod decorator should not be used with functions, use singledispatch instead.:HIGH -+singledispatchmethod-function:13:1:13:27::singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE -+singledispatchmethod-function:18:1:18:27::singledispatchmethod decorator should not be used with functions, use singledispatch instead.:INFERENCE -diff --git a/tests/functional/u/undefined/undefined_variable.314.txt b/tests/functional/u/undefined/undefined_variable.314.txt -index de83d83..6c0f81a 100644 ---- a/tests/functional/u/undefined/undefined_variable.314.txt -+++ b/tests/functional/u/undefined/undefined_variable.314.txt -@@ -30,6 +30,6 @@ undefined-variable:234:25:234:37:LambdaClass5.<lambda>:Undefined variable 'Lambd - undefined-variable:291:18:291:24:not_using_loop_variable_accordingly:Undefined variable 'iteree':UNDEFINED - undefined-variable:308:27:308:28:undefined_annotation:Undefined variable 'x':UNDEFINED - used-before-assignment:309:7:309:8:undefined_annotation:Using variable 'x' before assignment:HIGH --undefined-variable:339:11:339:12:decorated3:Undefined variable 'x':UNDEFINED --undefined-variable:344:19:344:20:decorated4:Undefined variable 'y':UNDEFINED -+undefined-variable:339:11:339:12::Undefined variable 'x':UNDEFINED -+undefined-variable:344:19:344:20::Undefined variable 'y':UNDEFINED - undefined-variable:365:10:365:20:global_var_mixed_assignment:Undefined variable 'GLOBAL_VAR':HIGH -diff --git a/tests/functional/u/undefined/undefined_variable.txt b/tests/functional/u/undefined/undefined_variable.txt -index c527c76..b85ad8a 100644 ---- a/tests/functional/u/undefined/undefined_variable.txt -+++ b/tests/functional/u/undefined/undefined_variable.txt -@@ -31,8 +31,8 @@ used-before-assignment:255:26:255:34:func_should_fail:Using variable 'datetime' - undefined-variable:291:18:291:24:not_using_loop_variable_accordingly:Undefined variable 'iteree':UNDEFINED - undefined-variable:308:27:308:28:undefined_annotation:Undefined variable 'x':UNDEFINED - used-before-assignment:309:7:309:8:undefined_annotation:Using variable 'x' before assignment:HIGH --undefined-variable:339:11:339:12:decorated3:Undefined variable 'x':UNDEFINED --undefined-variable:344:19:344:20:decorated4:Undefined variable 'y':UNDEFINED -+undefined-variable:339:11:339:12::Undefined variable 'x':UNDEFINED -+undefined-variable:344:19:344:20::Undefined variable 'y':UNDEFINED - undefined-variable:365:10:365:20:global_var_mixed_assignment:Undefined variable 'GLOBAL_VAR':HIGH - undefined-variable:377:19:377:44:RepeatedReturnAnnotations.x:Undefined variable 'RepeatedReturnAnnotations':UNDEFINED - undefined-variable:379:19:379:44:RepeatedReturnAnnotations.y:Undefined variable 'RepeatedReturnAnnotations':UNDEFINED -diff --git a/tests/functional/u/unsupported/unsupported_version_for_final.txt b/tests/functional/u/unsupported/unsupported_version_for_final.txt -index 326bffd..99558dc 100644 ---- a/tests/functional/u/unsupported/unsupported_version_for_final.txt -+++ b/tests/functional/u/unsupported/unsupported_version_for_final.txt -@@ -1,9 +1,9 @@ --using-final-decorator-in-unsupported-version:10:1:10:6:MyClass1:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:12:5:12:10:MyClass1.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:13:5:13:10:MyClass1.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:18:1:18:8:MyClass2:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:20:5:20:12:MyClass2.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:25:1:25:13:MyClass3:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:27:5:27:17:MyClass3.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:32:1:32:15:MyClass4:typing.final is not supported by all versions included in the py-version setting:HIGH --using-final-decorator-in-unsupported-version:34:5:34:19:MyClass4.my_method:typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:10:1:10:6::typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:12:5:12:10:MyClass1:typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:13:5:13:10:MyClass1:typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:18:1:18:8::typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:20:5:20:12:MyClass2:typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:25:1:25:13::typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:27:5:27:17:MyClass3:typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:32:1:32:15::typing.final is not supported by all versions included in the py-version setting:HIGH -+using-final-decorator-in-unsupported-version:34:5:34:19:MyClass4:typing.final is not supported by all versions included in the py-version setting:HIGH -diff --git a/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt b/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt -index 4ae1b27..fa76615 100644 ---- a/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt -+++ b/tests/functional/u/unsupported/unsupported_version_for_posonly_args.txt -@@ -1 +1 @@ --using-positional-only-args-in-unsupported-version:2:0:None:None:add:Positional-only arguments are not supported by all versions included in the py-version setting:HIGH -+using-positional-only-args-in-unsupported-version:2:0:2:None:add:Positional-only arguments are not supported by all versions included in the py-version setting:HIGH -diff --git a/tests/functional/u/unused/unused_argument.txt b/tests/functional/u/unused/unused_argument.txt -index bca2700..50f6c66 100644 ---- a/tests/functional/u/unused/unused_argument.txt -+++ b/tests/functional/u/unused/unused_argument.txt -@@ -3,8 +3,8 @@ unused-argument:3:23:3:29:test_unused:Unused argument 'second':HIGH - unused-argument:32:29:32:32:Sub.newmethod:Unused argument 'aay':INFERENCE - unused-argument:59:13:59:16:function:Unused argument 'arg':HIGH - unused-argument:66:21:66:24:AAAA.method:Unused argument 'arg':INFERENCE --unused-argument:73:0:None:None:AAAA.selected:Unused argument 'args':INFERENCE --unused-argument:73:0:None:None:AAAA.selected:Unused argument 'kwargs':INFERENCE -+unused-argument:73:0:73:None:AAAA.selected:Unused argument 'args':INFERENCE -+unused-argument:73:0:73:None:AAAA.selected:Unused argument 'kwargs':INFERENCE - unused-argument:92:23:92:26:BBBB.__init__:Unused argument 'arg':INFERENCE - unused-argument:103:34:103:39:Ancestor.set_thing:Unused argument 'other':INFERENCE - unused-argument:129:21:129:25:TestClassWithOnlyNew.__new__:Unused argument 'argA':INFERENCE diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_4.0.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_4.1.3.bb index 90ee93e4f9..25f6c916f0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_4.0.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylint_4.1.3.bb @@ -3,11 +3,9 @@ HOMEPAGE = "https://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRCREV = "ecb84baf74ae152a511e5fdada5000c85250a48f" +SRCREV = "e75de10c69103381c875601f638d4b977ff0fcaf" SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https;tag=v${PV} \ file://0001-Adjust-test-expectations-for-ptest.patch \ - file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ - file://0003-astroid-4.1.2-endlineno.patch \ file://run-ptest \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb index 49f4f7da8b..8228766f12 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pylyrics_1.1.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://setup.py;beginline=14;endline=14;md5=95d480cd6f8471ab SRC_URI[sha256sum] = "c5f36e8ef0ed3b487a9242ce34c19f9684e418a5bbffd5d367dc1d1604b4cd0b" -PYPI_PACKAGE = "PyLyrics" +PYPI_PACKAGE_SDIST = "PyLyrics" PYPI_PACKAGE_EXT = "zip" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb index f47711c6b5..9ceeaef95b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymemcache_4.0.0.bb @@ -11,7 +11,6 @@ inherit pypi setuptools3 DEPENDS += " \ python3-setuptools-scm-native \ - python3-six-native \ " RDEPENDS:${PN} += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.34.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.34.4.bb index 7a82ab5e18..f0754899da 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.34.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymisp_2.5.34.4.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/MISP/PyMISP" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=a3639cf5780f71b125d3e9d1dc127c20" -SRC_URI[sha256sum] = "cbf42d6753e788ec4eabeb3b4cfdece12faf36d43551869d4b7cec2329ee9aaf" +SRC_URI[sha256sum] = "0e5563d4fb1d5850f808c4e53d0ea8cd4e2c7877453034d966e7b2b70c32cdd9" inherit python_poetry_core pypi @@ -12,7 +12,6 @@ RDEPENDS:${PN} += " \ python3-json \ python3-jsonschema \ python3-requests \ - python3-six \ python3-deprecated \ python3-wrapt \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.15.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.16.2.bb index 0c70d91cd6..7497a9772f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.15.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymodbus_3.16.2.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/riptideio/pymodbus/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=12a490c6cffa2e76a6df8aa1fa29e183" -SRC_URI[sha256sum] = "4c5f715128bfeba59f4c9fb3542b0c32a8afd4b90081111e39c12f7af0c89aae" +SRC_URI[sha256sum] = "64057981fac117ed4b75ea8ef6035369f6ae803247700a5efdf75d76a2be8aef" inherit pypi python_setuptools_build_meta @@ -27,5 +27,4 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \ python3-pyserial \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_4.19.0.bb index 4255650834..820dc4bc14 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_4.17.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_4.19.0.bb @@ -8,7 +8,7 @@ HOMEPAGE = "https://github.com/mongodb/mongo-python-driver" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[sha256sum] = "70ffa08ba641468cc068cf46c06b34f01a8ce3489f6411309fcb5ceabe6b2fc0" +SRC_URI[sha256sum] = "3c510dd3c5d9b392d3b33bb5d2a594758acfe8f026fca654253f947ce0af9d40" CVE_PRODUCT = "mongodb:python_driver mongodb:pymongo" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.2.3.bb index 12a9e25aa0..3bda908ff8 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pymysql_1.2.3.bb @@ -8,7 +8,7 @@ HOMEPAGE = "https://pymysql.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc" -SRC_URI[sha256sum] = "6c7b17ca686988104d7426c27895b455cdeea3e9d3ceb1270f0c3704fead8c33" +SRC_URI[sha256sum] = "d5b288529782e536ae171866df3ca9dc4f6cbfb3cc2f18e6f837fbb90dbc262b" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb index 10bc227d8e..f2e30f308f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pynacl_1.6.2.bb @@ -23,7 +23,6 @@ do_install:prepend() { } RDEPENDS:${PN} = "\ - python3-six \ python3-cffi \ libsodium \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_2.10.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_2.10.0.bb index 39b8ee8470..5566f314de 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_2.10.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyperf_2.10.0.bb @@ -15,8 +15,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=78bc2e6e87c8c61272937b879e6dc2f8" SRC_URI[sha256sum] = "dd93ccfda79214725293e95f1fa6e00cb4a64adcf1326039486d4e1f91caaa62" -DEPENDS += "python3-six-native" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "python3-misc python3-statistics" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch index 6e230d1055..46153fa3bd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj/rpath.patch @@ -1,12 +1,22 @@ +From a5fa6c3d4162c67550cb36261f0660b4867e811b Mon Sep 17 00:00:00 2001 +From: Bas Couwenberg <sebastic@debian.org> +Date: Mon, 19 Aug 2024 15:58:07 -0700 +Subject: [PATCH] python3-pyproj: Fix buildpaths QA Error + Description: Don't set RPATH in libraries. -Author: Bas Couwenberg <sebastic@debian.org> Forwarded: not-needed Upstream-Status: Inappropriate [OE-Specific] Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + setup.py | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/setup.py b/setup.py +index 54d6820..bbd11a8 100644 --- a/setup.py +++ b/setup.py -@@ -193,9 +193,6 @@ def get_extension_modules(): +@@ -194,9 +194,6 @@ def get_extension_modules(): ext_options = { "include_dirs": include_dirs, "library_dirs": library_dirs, diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.8.0.bb index d2cce709cb..529e1f7549 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.7.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproj_3.8.0.bb @@ -7,7 +7,7 @@ inherit pypi python_setuptools_build_meta cython SRC_URI += "file://rpath.patch" -SRC_URI[sha256sum] = "39a0cf1ecc7e282d1d30f36594ebd55c9fae1fda8a2622cee5d100430628f88c" +SRC_URI[sha256sum] = "efa59725bba68bf97fa808b61302df32934acdceb6a5c92a8dd0e71dc266a876" DEPENDS = "proj proj-native python3-wheel-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.11.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.12.0.bb index d0e3c90ac8..299df5f913 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.11.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyproject-api_1.12.0.bb @@ -6,9 +6,7 @@ HOMEPAGE = "https://pyproject-api.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" -SRC_URI[sha256sum] = "b8807d85a293e6c9f133e6575946fed45f1d42b22d58c780b33aa2421a799549" - -PYPI_PACKAGE = "pyproject_api" +SRC_URI[sha256sum] = "2e83226079dc446a8e2357def7622c01c733284e39afc8e332d9f722fe0c2beb" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.5.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.6.0.bb index 8a12c07e89..fed20ae2ca 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.5.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyrad_2.6.0.bb @@ -1,9 +1,10 @@ SUMMARY = "RADIUS tools" +DESCRIPTION = "Python RADIUS Implementation" SECTION = "devel/python" LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=53dbfa56f61b90215a9f8f0d527c043d" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c97c15f70e2734c8ce7c0d636e662aa8" -SRC_URI[sha256sum] = "e039c48a026c988d49276bd7c75795f55e0e4c2788f7ddf09419ce0e191a154d" +SRC_URI[sha256sum] = "26d23ca80cde9f50d5ef0167d4c7f2bbfe218d85e207f2c0ca31dddd00a5deee" inherit pypi python_setuptools_build_meta @@ -14,7 +15,6 @@ RDEPENDS:${PN} += " \ python3-io \ python3-logging \ python3-netaddr \ - python3-six \ " CVE_PRODUCT = "pyrad" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb index ec72b450ee..a0abcd2514 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.9.7.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce" -SRC_URI[sha256sum] = "6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2" +SRC_URI[sha256sum] = "a678b098478c46ec51d6bf9a03c3cd2ac0172dffa590e9e8c1eeab633d0c17c6" inherit python_setuptools_build_meta pypi ptest-python-pytest @@ -20,6 +20,7 @@ RDEPENDS:${PN} += " \ python3-pickle \ python3-pkgutil \ python3-pprint \ + python3-resource \ python3-shell \ python3-sqlite3 \ python3-unittest \ @@ -35,6 +36,11 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + # Remove test_frozen.py because it is missing some components + # and is not present in the project's upstream GitHub repository. + rm ${D}${PTEST_PATH}/tests/test_unit/test_frozen.py + # Fix paths sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ - ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py + ${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py \ + ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_nl80211_station.py } diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb index 30ff62a7ed..2642bf3af1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyserial-asyncio_0.6.bb @@ -7,4 +7,6 @@ SRC_URI[sha256sum] = "b6032923e05e9d75ec17a5af9a98429c46d2839adfaf80604d52e0faac inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "pyserial-asyncio" + RDEPENDS:${PN} += "python3-asyncio python3-core python3-pyserial" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.1.bb index 91a619eab1..f4ccb8de75 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-aiohttp_1.1.1.bb @@ -12,8 +12,6 @@ DEPENDS = "\ SRC_URI[sha256sum] = "3aa9c9fe26e543eaccc7eb0add381c685ba3ed3e2fed0af74540f63bcd31458d" -PYPI_PACKAGE = "pytest_aiohttp" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "python3-aiohttp" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.4.1.post1.bb index ad3b2e2d2b..21d5d5f669 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.4.1.post1.bb @@ -3,12 +3,10 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-asyncio" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77" -SRC_URI[sha256sum] = "c6c0d2259945122819f171a32ecea2c349ead889ee28176caaf492143424be42" +SRC_URI[sha256sum] = "f582d9ea4a1c082195abe8bd29a1fe106aeb1cd435e3dad2d3bc2749935c36a2" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "pytest_asyncio" - DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb deleted file mode 100644 index ae4b12c210..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.1.0.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." -HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" - -SRC_URI[sha256sum] = "9ea661cdc292e8231f7cd4c10b0319e56a2118e2c09d9f50e1b3d150d2aca105" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += "python3-core python3-py-cpuinfo python3-pytest python3-aspectlib" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.3.1.bb new file mode 100644 index 0000000000..f202424087 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-benchmark_5.3.1.bb @@ -0,0 +1,24 @@ +SUMMARY = "A ``pytest`` fixture for benchmarking code. It will group the tests into rounds that are calibrated to the chosen timer." +HOMEPAGE = "https://github.com/ionelmc/pytest-benchmark" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1d907de309286ace60c424a81666867d" + +SRC_URI[sha256sum] = "c1ee70a58f9bfb1ac955cc634247a340b0df7bcb949071cfca396f16c6fc3516" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += "\ + python3-aspectlib \ + python3-core \ + python3-datetime \ + python3-json \ + python3-misc \ + python3-netclient \ + python3-numbers \ + python3-profile \ + python3-py-cpuinfo \ + python3-pytest \ + python3-statistics \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_5.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_5.0.4.bb index 9ed6659a77..84559eafaf 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_5.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-codspeed_5.0.4.bb @@ -4,10 +4,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=2856cbe664e8843cd4fd4c1d1d85c2c3" DEPENDS = "python3-cffi-native" -SRC_URI[sha256sum] = "91afef90e6a96b013495e4702ef5d6358614a449e71008cdc194ef668778b92f" +SRC_URI[sha256sum] = "5098065fb9f91d80a7a81752d1970153e44036fe36ce0b6a7afa6bf7881b9d3e" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "pytest_codspeed" - RDEPENDS:${PN} = "python3-cffi python3-filelock python3-pytest python3-rich python3-statistics" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_7.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_7.1.0.bb index 7673a8c569..1dd90db458 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_7.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_7.1.0.bb @@ -12,6 +12,4 @@ inherit pypi python_setuptools_build_meta python_hatchling DEPENDS += "python3-setuptools-scm-native python3-hatch-fancy-pypi-readme-native" RDEPENDS:${PN} += "python3-coverage python3-pytest python3-pluggy" -PYPI_PACKAGE = "pytest_cov" - BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-env_1.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-env_1.8.1.bb index 86fd2c9418..c42da7c67e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-env_1.7.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-env_1.8.1.bb @@ -5,12 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b70ef84b3d8d608b13b0287ed49df651" RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>" DEPENDS = "python3-hatch-vcs-native python3-hatchling-native" -SRC_URI[sha256sum] = "0c1dc1101fb8d3ab3611e8f8d657ba06c3c0c167fc85c90457e5b27f2508f43e" +SRC_URI[sha256sum] = "996f86ad78b6c7b5335e0d493f9e9ecd3e421174e056742856f91da439e1cbd9" inherit pypi python_hatchling ptest-python-pytest -PYPI_PACKAGE = "pytest_env" - RDEPENDS:${PN} = "python3-pytest python3-tomli" RDEPENDS:${PN}-ptest += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb index a4fd03cf56..68a0c863d7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-examples_0.0.18.bb @@ -15,8 +15,6 @@ RDEPENDS:${PN} += "\ inherit pypi python_hatchling -PYPI_PACKAGE = "pytest_examples" - SRC_URI[sha256sum] = "9a464f007f805b113677a15e2f8942ebb92d7d3eb5312e9a405d018478ec9801" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked/0001-Fix-report-serialization-with-pytest-9.2.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked/0001-Fix-report-serialization-with-pytest-9.2.patch new file mode 100644 index 0000000000..55c7e8feee --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked/0001-Fix-report-serialization-with-pytest-9.2.patch @@ -0,0 +1,142 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Fish Wang <fishw@asu.edu> +Date: Wed, 28 Oct 2026 01:55:59 +0000 +Subject: [PATCH] Fix report serialization with pytest 9.2. + +pytest 9.2 turned TestReport.nodeid into a property backed by a NodeId +object. It is not marshalable, so pytest-forked breaks. + +- Now serialize_report emits a plain nodeid string. +- Crash reports use the call phase; pytest 9.2 prints the phase in the + short summary, which exposed the ??? placeholder. +- The forked child writes its traceback to the captured stderr file + before exiting with "status 3," so the next similar failure is easier + to spot. + +Upstream-Status: Submitted [https://github.com/pytest-dev/pytest-forked/pull/112] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + CHANGELOG.rst | 9 ++++++++ + src/pytest_forked/__init__.py | 19 +++++++++++----- + testing/test_boxed.py | 43 +++++++++++++++++++++++++++++++++++ + 3 files changed, 65 insertions(+), 6 deletions(-) + +diff --git a/CHANGELOG.rst b/CHANGELOG.rst +index fe6e527..20d76c0 100644 +--- a/CHANGELOG.rst ++++ b/CHANGELOG.rst +@@ -1,3 +1,12 @@ ++Unreleased ++========== ++ ++* Fix compatibility with pytest 9.2: reports now carry a ``NodeId`` object that ++ ``marshal`` cannot serialize, which made every forked test exit with status 3. ++* Report crashes as the ``call`` phase instead of ``???``. ++* Show the traceback when the forked child fails outside the test itself. ++ ++ + v1.7.5 + ====== + +diff --git a/src/pytest_forked/__init__.py b/src/pytest_forked/__init__.py +index 6d135cb..2f53266 100644 +--- a/src/pytest_forked/__init__.py ++++ b/src/pytest_forked/__init__.py +@@ -13,6 +13,10 @@ from _pytest import runner + # copied from xdist remote + def serialize_report(rep): + d = rep.__dict__.copy() ++ # pytest >= 9.2 stores a NodeId object in ``_id`` and exposes ``nodeid`` ++ # as a property. convert it to a plain string. ++ if "_id" in d: ++ d["nodeid"] = str(d.pop("_id")) + if hasattr(rep.longrepr, "toterminal"): + d["longrepr"] = str(rep.longrepr) + else: +@@ -97,6 +101,11 @@ def _worker(runforked_fn, stdout_path, stderr_path, retval_path): + code = e.code if e.code is not None else 0 + os._exit(int(code)) + except Exception: ++ import traceback ++ ++ # pytest's capture has restored fd 2 by now; write to the file directly ++ with open(stderr_path, "a") as f: ++ traceback.print_exc(file=f) + os._exit(EXITSTATUS_EXCEPTION) + finally: + try: +@@ -221,12 +230,10 @@ def report_process_crash(item, result): + + from _pytest import runner + +- # pytest >= 4.1 +- has_from_call = getattr(runner.CallInfo, "from_call", None) is not None +- if has_from_call: +- call = runner.CallInfo.from_call(lambda: 0 / 0, "???") +- else: +- call = runner.CallInfo(lambda: 0 / 0, "???") ++ # The child died while running the test body, so report it as the ++ # "call" phase. ++ # pytest >= 9.2 prints the phase in the short summary; handle it here. ++ call = runner.CallInfo.from_call(lambda: 0 / 0, "call") + call.excinfo = info + rep = runner.pytest_runtest_makereport(item, call) + if result.out: +diff --git a/testing/test_boxed.py b/testing/test_boxed.py +index 3d67a9c..269c2a4 100644 +--- a/testing/test_boxed.py ++++ b/testing/test_boxed.py +@@ -1,6 +1,10 @@ ++import marshal + import os + + import pytest ++from _pytest.reports import TestReport ++ ++from pytest_forked import serialize_report + + needsfork = pytest.mark.skipif(not hasattr(os, "fork"), reason="os.fork required") + +@@ -119,3 +123,42 @@ def test_forked_followed_by_other_test_tears_down(testdir): + def test_is_not_boxed_by_default(testdir): + config = testdir.parseconfig(testdir.tmpdir) + assert not config.option.forked ++ ++ ++def test_serialize_report_roundtrips_through_marshal(): ++ rep = TestReport( ++ "test_x.py::test_y", ++ ("test_x.py", 1, "test_y"), ++ {}, ++ "passed", ++ None, ++ "call", ++ [], ++ 0.1, ++ 0.0, ++ 0.1, ++ [], ++ ) ++ d = marshal.loads(marshal.dumps(serialize_report(rep))) ++ assert "_id" not in d ++ rebuilt = TestReport(**d) ++ assert rebuilt.nodeid == rep.nodeid ++ assert rebuilt.outcome == "passed" ++ ++ ++@needsfork ++def test_child_exception_traceback_is_reported(testdir): ++ p1 = testdir.makepyfile( ++ """ ++ def test_function(record_property): ++ record_property("obj", object()) ++ """ ++ ) ++ result = testdir.runpytest(p1, "--forked") ++ result.stdout.fnmatch_lines( ++ [ ++ "*EXITED with status 3*", ++ "*ValueError: unmarshallable object*", ++ "*1 failed*", ++ ] ++ ) diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked_1.6.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked_1.7.5.bb index f573bf0523..e75443a431 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked_1.6.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-forked_1.7.5.bb @@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/pytest-dev/pytest-forked" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=772fcdaca14b378878d05c7d857e6c3e" -SRC_URI[sha256sum] = "4dafd46a9a600f65d822b8f605133ecf5b3e1941ebb3588e943b4e3eb71a5a3f" +SRC_URI += "file://0001-Fix-report-serialization-with-pytest-9.2.patch" + +SRC_URI[sha256sum] = "00f2bee51612f29b8e6b81eed2c3b2975e824c2693394f5bdaf7a1369078ba5f" inherit pypi python_setuptools_build_meta @@ -12,6 +14,6 @@ PEP517_BUILD_OPTS = "--skip-dependency-check" DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += " \ - python3-py \ + python3-multiprocessing \ python3-pytest \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb index cd09a5c325..c7bef48e62 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-freezer_0.4.9.bb @@ -11,5 +11,3 @@ RDEPENDS:${PN} = "\ python3-freezegun (>=1.0) \ python3-pytest (>=3.6) \ " - -PYPI_PACKAGE = "pytest_freezer" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2021.12.29.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2021.12.29.bb index 6698b6dde3..e63b255f7b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2021.12.29.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-helpers-namespace_2021.12.29.bb @@ -8,6 +8,8 @@ SRC_URI[sha256sum] = "792038247e0021beb966a7ea6e3a70ff5fcfba77eb72c6ec8fd6287af8 inherit pypi python_setuptools_build_meta +PYPI_PACKAGE_SDIST = "pytest-helpers-namespace" + DEPENDS += "python3-setuptools-scm-native python3-setuptools-declarative-requirements-native" RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.2.0.bb index 0889417ad0..63a36c841f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-html_4.2.0.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=5d425c8f3157dbf212db2ec53d9e5132" SRC_URI[sha256sum] = "b6a88cba507500d8709959201e2e757d3941e859fd17cfd4ed87b16fc0c67912" -PYPI_PACKAGE = "pytest_html" - inherit pypi python_hatchling DEPENDS += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.1.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.2.0.bb index 4421260005..d98525fff7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.1.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpserver_1.2.0.bb @@ -4,9 +4,7 @@ HOMEPAGE = "https://github.com/csernazs/pytest-httpserver" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=7f54416ccc5478427995b27e5ef38e92" -SRC_URI[sha256sum] = "dc3d82e1fe00e491829d8939c549bf4bd9b39a260f87113c619b9d517c2f8ff1" - -PYPI_PACKAGE = "pytest_httpserver" +SRC_URI[sha256sum] = "d07744ce2efaafa0575ed3081d416b999c773b09e84aa95065138bedc3e12352" inherit pypi python_poetry_core ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.2.bb index 2309a96fa5..c255073197 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-httpx_0.36.2.bb @@ -19,5 +19,3 @@ RDEPENDS:${PN}-ptest += "\ python3-pytest-cov \ python3-pytest-asyncio \ " - -PYPI_PACKAGE = "pytest_httpx" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-json-report_1.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-json-report_1.5.0.bb index 8834a6b586..53f4d223b9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-json-report_1.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-json-report_1.5.0.bb @@ -5,9 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8b4ca2f2ad5aaaebd8eb24f262f8fe60" SRC_URI[sha256sum] = "2dde3c647851a19b5f3700729e8310a6e66efb2077d674f27ddea3d34dc615de" - inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "pytest-json-report" + DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} = "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.4.bb index 64aa5d3ce1..9cac9b8552 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-lazy-fixtures_1.1.4.bb @@ -16,6 +16,4 @@ SRC_URI[sha256sum] = "c494b52d798890033d64b28687a4d52807c8b0f606d56316e139df0cbe inherit pypi python_poetry_core -PYPI_PACKAGE = "pytest_lazy_fixtures" - RDEPENDS:${PN} = "python3-pytest" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb index e9500bd3db..d60004769f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb @@ -7,6 +7,8 @@ DEPENDS += "python3-setuptools-scm-native" inherit pypi python_setuptools_build_meta ptest-python-pytest +PYPI_PACKAGE_SDIST = "pytest-localserver" + SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" RDEPENDS:${PN}-ptest += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb index 64589b31b6..e33fd746d1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-metadata_3.1.1.bb @@ -8,8 +8,6 @@ SRC_URI[sha256sum] = "d2a29b0355fbc03f168aa96d41ff88b1a3b44a3b02acbe491801c98a04 inherit pypi python_hatchling -PYPI_PACKAGE = "pytest_metadata" - DEPENDS += "python3-hatch-vcs-native" RDEPENDS:${PN} = " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-mock_3.15.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-mock_3.17.0.bb index 5ed97e436d..6bbc8511d4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-mock_3.15.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-mock_3.17.0.bb @@ -8,12 +8,10 @@ LIC_FILES_CHKSUM = " \ SRC_URI += " \ file://run-ptest \ " -SRC_URI[sha256sum] = "1849a238f6f396da19762269de72cb1814ab44416fa73a8686deac10b0d87a0f" +SRC_URI[sha256sum] = "e36576e0985e01027e999891e7a966c67822d40c89ef1b4c8b6e22737e3590b4" inherit pypi python_setuptools_build_meta ptest -PYPI_PACKAGE = "pytest_mock" - DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN}-ptest += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb index 449af2623e..68f028e620 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb @@ -15,5 +15,3 @@ RDEPENDS:${PN} += "\ git \ python3-pytest (>=3.7.0) \ " - -PYPI_PACKAGE = "pytest_picked" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-relaxed_2.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-relaxed_2.0.2.bb index 6e56d20b8d..28e941e61c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-relaxed_2.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-relaxed_2.0.2.bb @@ -9,6 +9,8 @@ SRC_URI[sha256sum] = "956ea028ec30dbbfb680dd8e7b4a7fb8f80a239595e88bace018bf2c0d inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "pytest-relaxed" + RDEPENDS:${PN} += " \ python3-core \ python3-pytest \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb index dd3a8d0234..7b9395ad79 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb @@ -14,6 +14,8 @@ inherit pypi python_setuptools_build_meta DEPENDS += " \ python3-setuptools-scm-native" +PYPI_PACKAGE_SDIST = "pytest-runner" + RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket/0001-pyproject.toml-allow-uv_build-0.13.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket/0001-pyproject.toml-allow-uv_build-0.13.patch new file mode 100644 index 0000000000..6a1c364310 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket/0001-pyproject.toml-allow-uv_build-0.13.patch @@ -0,0 +1,25 @@ +From e3ed717f36fe4794adc50712873e7c33fd43a581 Mon Sep 17 00:00:00 2001 +From: Mike Fiedler <miketheman@gmail.com> +Date: Mon, 12 Oct 2026 13:05:41 -0400 +Subject: [PATCH] pyproject.toml: allow uv_build 0.13 + +Only the build-system part of the upstream commit "chore: add Python +3.15 support", which raised the uv_build bound to < 0.14.0. + +Upstream-Status: Backport [https://github.com/miketheman/pytest-socket/commit/e3ed717f36fe4794adc50712873e7c33fd43a581] +AI-Generated: Claude Code, Claude Opus 5.5 +Signed-off-by: Thomas Roos <thomas@roosesweb.de> +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -92,5 +92,5 @@ + ] + + [build-system] +-requires = ["uv_build>=0.7.20,<0.13.0"] ++requires = ["uv_build>=0.7.20,<0.14.0"] + build-backend = "uv_build" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.8.1.bb index 86b03724a0..b320feebb1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.7.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-socket_0.8.1.bb @@ -3,12 +3,11 @@ HOMEPAGE = "https://github.com/miketheman/pytest-socket" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=1752f63a3a8a02fed42e580e9b94a081" -SRC_URI[sha256sum] = "71ab048cbbcb085c15a4423b73b619a8b35d6a307f46f78ea46be51b1b7e11b3" +SRC_URI += "file://0001-pyproject.toml-allow-uv_build-0.13.patch" +SRC_URI[sha256sum] = "2f57787914ad2e1308d09ce141b95c3e55741fbb4fb7b7556593a6b063e0c9c7" -inherit pypi python_poetry_core +inherit pypi python_uv_build RDEPENDS:${PN} = "python3-pytest" BBCLASSEXTEND = "native nativesdk" - -PYPI_PACKAGE = "pytest_socket" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-sugar_1.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-sugar_1.1.1.bb index 22eb3d52ff..c401374768 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-sugar_1.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-sugar_1.1.1.bb @@ -8,6 +8,8 @@ SRC_URI[sha256sum] = "73b8b65163ebf10f9f671efab9eed3d56f20d2ca68bda83fa64740a92c inherit pypi python_poetry_core ptest-python-pytest +PYPI_PACKAGE_SDIST = "pytest-sugar" + DEPENDS += "python3-wheel-native" PACKAGECONFIG ?= "" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb index b161b016bc..e74d2705ef 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-tempdir_2019.10.12.bb @@ -8,6 +8,8 @@ SRC_URI[sha256sum] = "e7d91813a9aa991db87dacdef8cfd3f1657632d731d56d06238c5ffb63 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "pytest-tempdir" + RDEPENDS:${PN} += " \ python3-pytest \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_2.5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_2.5.0.bb index 8990e29bba..27f8f688bf 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_2.5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-timeout_2.5.0.bb @@ -6,8 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d8048cd156eda3df2e7f111b0ae9ceff" SRC_URI[sha256sum] = "68c9d82dfe95fa65712e107010c9344e7d8b4afe8c975a7be0d273d939583a93" -PYPI_PACKAGE = "pytest_timeout" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-unordered_0.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-unordered_0.8.0.bb index 293d193f7c..5aa4f9762d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-unordered_0.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-unordered_0.8.0.bb @@ -10,5 +10,3 @@ inherit pypi setuptools3 RDEPENDS:${PN} += "python3-pytest" BBCLASSEXTEND = "native nativesdk" - -PYPI_PACKAGE = "pytest_unordered" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb index 7b340e8920..72d3c91502 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-xdist_3.8.0.bb @@ -13,5 +13,3 @@ RDEPENDS:${PN} += " \ python3-execnet \ python3-pytest \ " - -PYPI_PACKAGE = "pytest_xdist" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb index b16d3c766b..416dec3a17 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb @@ -15,8 +15,6 @@ PACKAGECONFIG ?= "" PACKAGECONFIG:append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' cli', '', d)}" PACKAGECONFIG[cli] = ",,,python3-click" -PYPI_PACKAGE = "python_dotenv" - RDEPENDS:${PN}-ptest += "\ coreutils \ python3-sh \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.32.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb index db1a9e0415..b196f40183 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.32.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-multipart_0.0.33.bb @@ -2,14 +2,12 @@ SUMMARY = "A streaming multipart parser for Python" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "be54b7f3fa167bb83e4fcd936b887b708f4e57fe75911c02aebf53efaf8d938e" +SRC_URI[sha256sum] = "b8112424a6abd162ec08d390565dd113ad699f2fe6fef3c987b8bbcbfe9e390d" inherit pypi python_hatchling ptest-python-pytest -PYPI_PACKAGE = "python_multipart" CVE_PRODUCT = "python-multipart" RDEPENDS:${PN}-ptest += " \ python3-pyyaml \ " - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.21203.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.21203.bb index 44a14348b2..68009d33fe 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.21203.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-vlc_3.0.21203.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "52d0544b276b11e58b6c0b748c3e0518f94f74b1b4cd328c83a59eacabead1ec" -PYPI_PACKAGE = "python_vlc" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb index 3a269744d9..6a2853cf4b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-python-xmp-toolkit_2.1.0.bb @@ -8,8 +8,6 @@ SRC_URI[sha256sum] = "ca0aa2c60d418dd2558767db59953ab5954fb5b87dc0b50cecd60566b0 inherit pypi python_flit_core ptest-python-pytest -PYPI_PACKAGE = "python_xmp_toolkit" - DEPENDS += "\ python3-pytz-native \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2026.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2026.6.bb new file mode 100644 index 0000000000..69cfa530ca --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pytz_2026.6.bb @@ -0,0 +1,25 @@ +SUMMARY = "World timezone definitions, modern and historical" +HOMEPAGE = "http://pythonhosted.org/pytz" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1a67fc46c1b596cce5d21209bbe75999" + +inherit pypi setuptools3 ptest-python-pytest + +PTEST_PYTEST_DIR = "pytz/tests" + +SRC_URI[sha256sum] = "3b0fc2727707663d6e517936f444fd8a8b240f1fc32f4bf7ee03274245945284" + +RDEPENDS:${PN}:class-target += "\ + python3-datetime \ + python3-doctest \ + python3-io \ + python3-pickle \ + python3-pprint \ + python3-threading \ +" + +BBCLASSEXTEND = "native nativesdk" + +do_install_ptest:append() { + cp -f ${S}/README.rst ${D}${PTEST_PATH}/ +} diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..87a6ab9fa0 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f/0001-drop-the-six-dependency.patch @@ -0,0 +1,70 @@ +From eb27c7a2a85f2ac21ea9fa0d30979b04fdb0f671 Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:23:08 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and pyu2f does not need it on +Python 3: six.moves.queue and six.moves.range are queue and range, and +six.moves.input is input. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + pyu2f/convenience/localauthenticator.py | 3 +-- + pyu2f/hid/macos.py | 3 +-- + setup.py | 3 --- + 3 files changed, 2 insertions(+), 7 deletions(-) + +diff --git a/pyu2f/convenience/localauthenticator.py b/pyu2f/convenience/localauthenticator.py +index b03fa57..2b6b22a 100644 +--- a/pyu2f/convenience/localauthenticator.py ++++ b/pyu2f/convenience/localauthenticator.py +@@ -13,7 +13,6 @@ + # limitations under the License. + + """Convenience class for U2F signing with local security keys.""" +-import six + import base64 + import sys + +@@ -36,7 +35,7 @@ class LocalAuthenticator(baseauthenticator.BaseAuthenticator): + device = u2f.GetLocalU2FInterface(origin=self.origin) + except errors.NoDeviceFoundError: + print_callback('Please insert your security key and press enter...') +- six.moves.input() ++ input() + device = u2f.GetLocalU2FInterface(origin=self.origin) + + print_callback('Please touch your security key.\n') +diff --git a/pyu2f/hid/macos.py b/pyu2f/hid/macos.py +index 905bce2..a2ed2e6 100644 +--- a/pyu2f/hid/macos.py ++++ b/pyu2f/hid/macos.py +@@ -13,11 +13,10 @@ + # limitations under the License. + + """Implements HID device interface on MacOS using IOKit and HIDManager.""" +-from six.moves import queue +-from six.moves import range + import ctypes + import ctypes.util + import logging ++import queue + import sys + import threading + +diff --git a/setup.py b/setup.py +index 663706b..184be89 100644 +--- a/setup.py ++++ b/setup.py +@@ -36,9 +36,6 @@ setuptools.setup( + author_email='pyu2f-team@google.com', + # Contained modules and scripts. + packages=setuptools.find_packages(exclude=["pyu2f.tests", "pyu2f.tests.*"]), +- install_requires=[ +- 'six', +- ], + tests_require=[ + 'unittest2>=0.5.1', + 'pyfakefs>=2.4', diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f_0.1.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f_0.1.5.bb index 5a2899e132..083fed68f6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f_0.1.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyu2f_0.1.5.bb @@ -3,6 +3,7 @@ HOMEPAGE = "https://github.com/google/pyu2f/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "a3caa3a11842fc7d5746376f37195e6af5f17c0a15737538bb1cebf656fb306b" inherit pypi setuptools3 @@ -16,5 +17,4 @@ RDEPENDS:${PN} += " \ python3-logging \ python3-netclient \ python3-threading \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb index 559b828fcb..c75d822c48 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyudev_0.24.4.bb @@ -15,7 +15,6 @@ do_configure:prepend() { RDEPENDS:${PN} = "\ python3-ctypes \ python3-misc \ - python3-six \ python3-threading \ python3-fcntl \ libudev \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyunormalize_17.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyunormalize_17.0.0.bb deleted file mode 100644 index fe367aa112..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyunormalize_17.0.0.bb +++ /dev/null @@ -1,8 +0,0 @@ -SUMMARY = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." -HOMEPAGE = "https://github.com/mlodewijck/pyunormalize" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1d882216fa7fde0aec58695aa05ef72f" - -SRC_URI[sha256sum] = "0949a3e56817e287febcaf1b0cc4b5adf0bb107628d379335938040947eec792" - -inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyunormalize_18.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyunormalize_18.0.0.bb new file mode 100644 index 0000000000..3b079ca418 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyunormalize_18.0.0.bb @@ -0,0 +1,8 @@ +SUMMARY = "Unicode normalization forms (NFC, NFKC, NFD, NFKD). A library independent from the Python core Unicode database." +HOMEPAGE = "https://github.com/mlodewijck/pyunormalize" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fcc278e239c8cbad362b2a7229f69b5c" + +SRC_URI[sha256sum] = "2b2e65201e688bb38c66ab66ef1071cc07b32e9840e5ae07aab716db6ede7d6d" + +inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest index e7e14951c2..bfe76654e4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq/run-ptest @@ -7,5 +7,9 @@ # of exiting 0. Reproduces reliably on target but never locally (isolated, # whole-file, or whole-suite runs all pass), consistent with an # environment-specific fork-safety issue rather than a logic bug. +# +# test_retry_poll expects a message sent 0.2s later by another thread to +# arrive within a 0.5s poll window; on a loaded host it misses that window. +# Upstream marks it flaky(reruns=3), which needs pytest-rerunfailures. pytest --automake \ --k 'not test_callable_check and not test_on_recv_basic and not test_on_recv_wake and not test_on_recv_async and not test_on_recv_async_error and not test_curve and not test_process_teardown' +-k 'not test_callable_check and not test_on_recv_basic and not test_on_recv_wake and not test_on_recv_async and not test_on_recv_async_error and not test_curve and not test_process_teardown and not test_retry_poll' diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_27.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_27.2.0.bb index 606e34e69f..4cbf46cf0a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_27.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-pyzmq_27.2.0.bb @@ -61,3 +61,9 @@ do_install_ptest() { cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH}/pytest.ini } + +do_install_ptest:append:libc-musl() { + sed -i -e "s/ and not test_retry_poll'/ and not test_retry_poll and not test_close_all_fds'/" \ + ${D}${PTEST_PATH}/run-ptest + grep -q "not test_close_all_fds'" ${D}${PTEST_PATH}/run-ptest || bbfatal "failed to skip test_close_all_fds in run-ptest" +} diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..e4722a021b --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface/0001-drop-the-six-dependency.patch @@ -0,0 +1,27 @@ +From 306a9a40b6056c9d07037282bec645ca393ed4b2 Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:31:21 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim; qface declares it in +install_requires but no longer imports it anywhere. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + setup.py | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 3dca1d3..d2734d3 100644 +--- a/setup.py ++++ b/setup.py +@@ -51,7 +51,6 @@ setup( + 'jinja2>=2.10.3', + 'pyyaml>=5.1', + 'watchdog>=1.0', +- 'six>=1.11.0', + 'coloredlogs>=10.0', + ], + extras_require={ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb index 9e78074e0e..a8a4083b23 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-qface_2.0.14.bb @@ -2,6 +2,7 @@ SUMMARY = "A generator framework based on a common modern IDL" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=eee61e10a40b0e3045ee5965bcd9a8b5" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "df31014fbe95b3d910d059ce1a8e827d57d234aca3a5c42094d6ad096fd8f39e" inherit pypi setuptools3 @@ -11,7 +12,6 @@ DEPS = "\ python3-click \ python3-pyyaml \ python3-pytest \ - python3-six \ python3-path \ python3-antlr4-runtime \ python3-watchdog \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb index 761676d2ce..357a4c8f3c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb @@ -10,6 +10,7 @@ SRC_URI[sha256sum] = "81e7260f6297cad564389b700783c0a33de71310b9eb01fd013faec5e7 inherit setuptools3 pypi ptest-python-pytest PYPI_PACKAGE = "python-rapidjson" +PYPI_PACKAGE_SDIST = "python-rapidjson" SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2026.8.31.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2026.9.29.bb index 2889b14fd0..238ec46751 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2026.8.31.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-regex_2026.9.29.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7b5751ddd6b643203c31ff873051d069" inherit pypi python_setuptools_build_meta -SRC_URI[sha256sum] = "9350fd448a6442ae27853ab9d4b8d5a0bcb6d7774923a4fdfddd104c4458b35f" +SRC_URI[sha256sum] = "8b5fcc4771732191b2b7d1dd68d8f0353f47f8d90b6150f6dce58bf1112442cb" RDEPENDS:${PN} += " \ python3-stringold \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-reportlab_5.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-reportlab_5.1.0.bb index 07d0467696..367c9527cc 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-reportlab_5.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-reportlab_5.1.0.bb @@ -4,7 +4,7 @@ DESCRIPTION = "An Open Source Python library for generating PDFs and graphics." LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=cf24392f451ff6710fca1e96cefa0424" -SRC_URI[sha256sum] = "ebd13154be1c8515e665de70bd2d303ae9ddc3ef47e44afd5116441ca0283a26" +SRC_URI[sha256sum] = "6878200464527e87672d19e9f7cfc6bb890e3a6931e74ac6a1a8d1754aa55671" CVE_PRODUCT = "reportlab" CVE_STATUS[CVE-2020-28463] = "fixed-version: has been fixed since 3.5.55" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_3.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_3.0.1.bb index 16f04a4cad..f5d6e3cb58 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_3.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-file_3.0.1.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9cc728d6087e43796227b0a31422de6b" SRC_URI[sha256sum] = "f14243d7796c588f3521bd423c5dea2ee4cc730e54a3cac9574d78aca1272576" -PYPI_PACKAGE = "requests_file" - inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "python3-setuptools-scm-native" @@ -14,4 +12,3 @@ DEPENDS += "python3-setuptools-scm-native" RDEPENDS:${PN} += " \ python3-requests \ " - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb index db7c5fee0b..206e380da6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-ftp_0.3.1.bb @@ -12,3 +12,4 @@ RDEPENDS:${PN} += " \ python3-requests \ " +PYPI_PACKAGE_SDIST = "requests-ftp" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_1.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_1.1.0.bb index 5714c3498d..345ce5f578 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_1.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-futures_1.1.0.bb @@ -3,13 +3,10 @@ HOMEPAGE = "https://github.com/ross/requests-futures" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=e1e50798d0afe0e1f87594c6619a2fa5" -SRC_URI[sha256sum] = "6b7eb57940336e800faebc3dab506360edec9478f7b22dc570858ad3aa7458da" +SRC_URI[sha256sum] = "f839cf536e6638a6e0ca1cfd54ac761bf3bb2b5a7ecf9349557e53acc5244d36" -PYPI_PACKAGE = "requests_futures" - -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta RDEPENDS:${PN} += " \ python3-requests \ " - diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb index 248526b00b..678e0fb48e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-mock_1.12.1.bb @@ -7,3 +7,5 @@ DEPENDS = "python3-setuptools-scm-native" SRC_URI[sha256sum] = "e9e12e333b525156e82a3c852f22016b9158220d2f47454de9cae8a77d371401" inherit pypi python_setuptools_build_meta + +PYPI_PACKAGE_SDIST = "requests-mock" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_2.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_2.0.0.bb index 71cafb513d..6cbf54f4a8 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_2.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-oauthlib_2.0.0.bb @@ -5,4 +5,6 @@ SRC_URI[sha256sum] = "b3dffaebd884d8cd778494369603a9e7b58d29111bf6b41bdc2dcd8720 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "requests-oauthlib" + RDEPENDS:${PN} += "python3-requests python3-oauthlib" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb index 8956dee1f1..aa8e0a08f3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb @@ -13,6 +13,8 @@ SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c8 inherit pypi setuptools3 ptest-python-pytest +PYPI_PACKAGE_SDIST = "requests-toolbelt" + RDEPENDS:${PN} += " \ python3-requests (>=2.0.1) \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-unixsocket_0.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-unixsocket_0.4.1.bb index bf199e75b7..9cad8044ee 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-unixsocket_0.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-requests-unixsocket_0.4.1.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" SRC_URI[sha256sum] = "b2596158c356ecee68d27ba469a52211230ac6fb0cde8b66afb19f0ed47a1995" -PYPI_PACKAGE = "requests_unixsocket" - inherit pypi python_setuptools_build_meta DEPENDS += "python3-setuptools-scm-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb index 28904ef18d..af7d9ff715 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rfc3986-validator_0.1.1.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6" SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055" -PYPI_PACKAGE = "rfc3986_validator" - inherit pypi setuptools3 SRC_URI += "\ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-argparse_1.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-argparse_1.8.0.bb index fa9761b72b..eee904b34c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-argparse_1.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-argparse_1.8.0.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://github.com/hamdanal/rich-argparse" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=06f5c372171ce02f7e6a18f5f57f0b69" -PYPI_PACKAGE = "rich_argparse" - SRC_URI[sha256sum] = "679df3d832fa94ad6e4bdb07ded088cd7ea2dddc58ae9b2b46346a40b06cbc0c" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-toolkit_0.20.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-toolkit_0.20.3.bb index a0b1eed56e..94c2f0ffc4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-toolkit_0.20.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-rich-toolkit_0.20.3.bb @@ -7,8 +7,6 @@ SRC_URI[sha256sum] = "223dd2cfba325ed55e94933b9e53f3aca13e9fdf76622bd564c18109a2 inherit pypi python_hatchling ptest-python-pytest -PYPI_PACKAGE = "rich_toolkit" - RDEPENDS:${PN} = "\ python3-click \ python3-rich \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb index 4a8fcde41b..9baf45e910 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework-seriallibrary_0.4.3.bb @@ -6,9 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ad407cda031a6aaf51a1fecaaa6e7d29" SRC_URI += "file://0001-pyproject.toml-Replace-install_requires.patch" SRC_URI[sha256sum] = "f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb" - inherit pypi python_poetry_core +PYPI_PACKAGE_SDIST = "robotframework-seriallibrary" + RDEPENDS:${PN} += " \ python3-pyserial \ python3-robotframework \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.4.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.5.1.bb index 5c83d923d4..72b3425fc5 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.4.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-robotframework_7.5.1.bb @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit pypi setuptools3 -SRC_URI[sha256sum] = "1c934e7f43600de407860cd2bd2fdc41adad4a4a785d8b46b1ed485fdc0f6c9f" +SRC_URI[sha256sum] = "00f63dc7b0477a137f8a9c1f2e14db8084a4d187a76f3fec6c2567875c32b932" RDEPENDS:${PN} += " \ python3-shell \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff-crates.inc b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff-crates.inc index 4491d6e3bf..f657504ad7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff-crates.inc +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff-crates.inc @@ -32,35 +32,35 @@ SRC_URI += " \ crate://crates.io/bit-set/0.8.0 \ crate://crates.io/bit-vec/0.8.0 \ crate://crates.io/bitflags/1.3.2 \ - crate://crates.io/bitflags/2.13.1 \ + crate://crates.io/bitflags/2.13.2 \ crate://crates.io/bitvec/1.1.1 \ crate://crates.io/block-buffer/0.10.4 \ crate://crates.io/block2/0.6.2 \ crate://crates.io/boxcar/0.2.14 \ - crate://crates.io/bstr/1.13.0 \ + crate://crates.io/bstr/1.13.1 \ crate://crates.io/bumpalo/3.19.0 \ crate://crates.io/bytecheck/0.8.2 \ crate://crates.io/bytecheck_derive/0.8.2 \ crate://crates.io/bytes/1.12.0 \ crate://crates.io/cachedir/0.3.1 \ - crate://crates.io/camino/1.2.5 \ + crate://crates.io/camino/1.2.6 \ crate://crates.io/cast/0.3.0 \ crate://crates.io/castaway/0.2.4 \ crate://crates.io/cc/1.2.65 \ crate://crates.io/cfg-if/1.0.4 \ crate://crates.io/cfg_aliases/0.2.1 \ crate://crates.io/chacha20/0.10.0 \ - crate://crates.io/char_str/0.0.2 \ - crate://crates.io/chrono/0.4.44 \ + crate://crates.io/char_str/0.0.4 \ + crate://crates.io/chrono/0.4.45 \ crate://crates.io/ciborium/0.2.2 \ crate://crates.io/ciborium-io/0.2.2 \ crate://crates.io/ciborium-ll/0.2.2 \ - crate://crates.io/clap/4.6.5 \ - crate://crates.io/clap_builder/4.6.5 \ + crate://crates.io/clap/4.6.7 \ + crate://crates.io/clap_builder/4.6.7 \ crate://crates.io/clap_complete/4.5.58 \ crate://crates.io/clap_complete_command/0.6.1 \ crate://crates.io/clap_complete_nushell/4.5.8 \ - crate://crates.io/clap_derive/4.6.4 \ + crate://crates.io/clap_derive/4.6.7 \ crate://crates.io/clap_lex/1.0.0 \ crate://crates.io/clearscreen/4.0.6 \ crate://crates.io/codspeed/5.0.1 \ @@ -85,7 +85,7 @@ SRC_URI += " \ crate://crates.io/criterion/0.8.2 \ crate://crates.io/criterion-plot/0.5.0 \ crate://crates.io/criterion-plot/0.8.2 \ - crate://crates.io/crossbeam/0.8.4 \ + crate://crates.io/crossbeam/0.8.5 \ crate://crates.io/crossbeam-channel/0.5.15 \ crate://crates.io/crossbeam-deque/0.8.6 \ crate://crates.io/crossbeam-epoch/0.9.18 \ @@ -138,9 +138,8 @@ SRC_URI += " \ crate://crates.io/futures-util/0.3.32 \ crate://crates.io/gen-lsp-types/0.11.0 \ crate://crates.io/generic-array/0.14.7 \ - crate://crates.io/get-size-derive2/0.10.3 \ - crate://crates.io/get-size2/0.10.3 \ - crate://crates.io/getopts/0.2.24 \ + crate://crates.io/get-size-derive2/0.11.0 \ + crate://crates.io/get-size2/0.11.0 \ crate://crates.io/getrandom/0.2.16 \ crate://crates.io/getrandom/0.3.4 \ crate://crates.io/getrandom/0.4.2 \ @@ -157,20 +156,20 @@ SRC_URI += " \ crate://crates.io/html-escape/0.2.13 \ crate://crates.io/iana-time-zone/0.1.64 \ crate://crates.io/iana-time-zone-haiku/0.1.2 \ - crate://crates.io/icu_collections/2.2.0 \ - crate://crates.io/icu_locale_core/2.2.0 \ - crate://crates.io/icu_normalizer/2.2.0 \ - crate://crates.io/icu_normalizer_data/2.2.0 \ - crate://crates.io/icu_properties/2.2.0 \ - crate://crates.io/icu_properties_data/2.2.0 \ - crate://crates.io/icu_provider/2.2.0 \ + crate://crates.io/icu_collections/2.3.0 \ + crate://crates.io/icu_locale_core/2.3.0 \ + crate://crates.io/icu_normalizer/2.3.0 \ + crate://crates.io/icu_normalizer_data/2.3.0 \ + crate://crates.io/icu_properties/2.3.0 \ + crate://crates.io/icu_properties_data/2.3.0 \ + crate://crates.io/icu_provider/2.3.1 \ crate://crates.io/id-arena/2.3.0 \ crate://crates.io/idna/1.1.0 \ crate://crates.io/idna_adapter/1.2.1 \ crate://crates.io/ignore/0.4.33 \ crate://crates.io/imara-diff/0.2.0 \ crate://crates.io/imperative/1.0.7 \ - crate://crates.io/indexmap/2.14.0 \ + crate://crates.io/indexmap/2.14.2 \ crate://crates.io/indicatif/0.18.6 \ crate://crates.io/indoc/2.0.7 \ crate://crates.io/inotify/0.11.0 \ @@ -180,7 +179,7 @@ SRC_URI += " \ crate://crates.io/interpolator/0.5.0 \ crate://crates.io/intrusive-collections/0.10.1 \ crate://crates.io/inventory/0.3.24 \ - crate://crates.io/is-macro/0.3.7 \ + crate://crates.io/is-macro/0.3.8 \ crate://crates.io/is-terminal/0.4.16 \ crate://crates.io/is_terminal_polyfill/1.70.1 \ crate://crates.io/itertools/0.10.5 \ @@ -188,9 +187,9 @@ SRC_URI += " \ crate://crates.io/itertools/0.14.0 \ crate://crates.io/itertools/0.15.0 \ crate://crates.io/itoa/1.0.15 \ - crate://crates.io/jiff/0.2.35 \ + crate://crates.io/jiff/0.2.37 \ crate://crates.io/jiff-core/0.1.0 \ - crate://crates.io/jiff-static/0.2.35 \ + crate://crates.io/jiff-static/0.2.37 \ crate://crates.io/jiff-tzdb/0.1.4 \ crate://crates.io/jiff-tzdb-platform/0.1.3 \ crate://crates.io/jobserver/0.1.34 \ @@ -201,8 +200,8 @@ SRC_URI += " \ crate://crates.io/lazy_static/1.5.0 \ crate://crates.io/leb128fmt/0.1.0 \ crate://crates.io/libc/0.2.189 \ - crate://crates.io/libcst/1.8.6 \ - crate://crates.io/libcst_derive/1.8.6 \ + crate://crates.io/libcst/1.9.0 \ + crate://crates.io/libcst_derive/1.9.0 \ crate://crates.io/libm/0.2.16 \ crate://crates.io/libmimalloc-sys/0.1.49 \ crate://crates.io/libredox/0.1.10 \ @@ -211,7 +210,7 @@ SRC_URI += " \ crate://crates.io/linux-raw-sys/0.12.1 \ crate://crates.io/litemap/0.8.0 \ crate://crates.io/lock_api/0.4.14 \ - crate://crates.io/log/0.4.33 \ + crate://crates.io/log/0.4.34 \ crate://crates.io/lsp-server/0.10.0 \ crate://crates.io/manyhow/0.11.4 \ crate://crates.io/manyhow-macros/0.11.4 \ @@ -243,7 +242,7 @@ SRC_URI += " \ crate://crates.io/once_cell_polyfill/1.70.1 \ crate://crates.io/oorandom/11.1.5 \ crate://crates.io/option-ext/0.2.0 \ - crate://crates.io/ordermap/1.2.0 \ + crate://crates.io/ordermap/1.2.2 \ crate://crates.io/os_pipe/1.2.2 \ crate://crates.io/os_str_bytes/7.1.1 \ crate://crates.io/page_size/0.6.0 \ @@ -266,16 +265,19 @@ SRC_URI += " \ crate://crates.io/pest_meta/2.8.2 \ crate://crates.io/phf/0.11.3 \ crate://crates.io/phf/0.13.1 \ + crate://crates.io/phf/0.14.0 \ crate://crates.io/phf_codegen/0.11.3 \ + crate://crates.io/phf_codegen/0.14.0 \ crate://crates.io/phf_generator/0.11.3 \ + crate://crates.io/phf_generator/0.14.0 \ crate://crates.io/phf_shared/0.11.3 \ crate://crates.io/phf_shared/0.13.1 \ + crate://crates.io/phf_shared/0.14.0 \ crate://crates.io/pin-project-lite/0.2.16 \ crate://crates.io/pkg-config/0.3.32 \ crate://crates.io/portable-atomic/1.13.1 \ crate://crates.io/portable-atomic-util/0.2.4 \ crate://crates.io/potential_utf/0.1.3 \ - crate://crates.io/ppv-lite86/0.2.21 \ crate://crates.io/predicates/3.1.4 \ crate://crates.io/predicates-core/1.0.10 \ crate://crates.io/predicates-tree/1.0.13 \ @@ -290,7 +292,7 @@ SRC_URI += " \ crate://crates.io/ptr_meta/0.3.1 \ crate://crates.io/ptr_meta_derive/0.3.1 \ crate://crates.io/pyproject-toml/0.13.7 \ - crate://crates.io/quick-junit/0.6.1 \ + crate://crates.io/quick-junit/0.8.0 \ crate://crates.io/quick-xml/0.41.0 \ crate://crates.io/quickcheck/1.1.0 \ crate://crates.io/quickcheck_macros/1.2.0 \ @@ -301,9 +303,8 @@ SRC_URI += " \ crate://crates.io/r-efi/6.0.0 \ crate://crates.io/radium/0.7.0 \ crate://crates.io/rancor/0.1.1 \ - crate://crates.io/rand/0.8.5 \ - crate://crates.io/rand/0.10.2 \ - crate://crates.io/rand_chacha/0.3.1 \ + crate://crates.io/rand/0.8.8 \ + crate://crates.io/rand/0.10.3 \ crate://crates.io/rand_core/0.6.4 \ crate://crates.io/rand_core/0.10.0 \ crate://crates.io/rayon/1.12.0 \ @@ -317,18 +318,18 @@ SRC_URI += " \ crate://crates.io/regex-lite/0.1.7 \ crate://crates.io/regex-syntax/0.8.11 \ crate://crates.io/rend/0.5.3 \ - crate://crates.io/rkyv/0.8.17 \ - crate://crates.io/rkyv_derive/0.8.17 \ + crate://crates.io/rkyv/0.8.18 \ + crate://crates.io/rkyv_derive/0.8.18 \ crate://crates.io/ron/0.12.0 \ crate://crates.io/rust-stemmers/1.2.0 \ crate://crates.io/rustc-hash/2.1.3 \ crate://crates.io/rustc-stable-hash/0.1.2 \ - crate://crates.io/rustix/1.1.4 \ + crate://crates.io/rustix/1.1.5 \ crate://crates.io/rustversion/1.0.22 \ crate://crates.io/ryu/1.0.20 \ - crate://crates.io/salsa/0.28.2 \ - crate://crates.io/salsa-macro-rules/0.28.2 \ - crate://crates.io/salsa-macros/0.28.2 \ + crate://crates.io/salsa/0.28.5 \ + crate://crates.io/salsa-macro-rules/0.28.5 \ + crate://crates.io/salsa-macros/0.28.5 \ crate://crates.io/same-file/1.0.6 \ crate://crates.io/schemars/1.2.2 \ crate://crates.io/schemars_derive/1.2.2 \ @@ -349,10 +350,10 @@ SRC_URI += " \ crate://crates.io/shlex/2.0.1 \ crate://crates.io/simdutf8/0.1.5 \ crate://crates.io/similar/2.7.0 \ - crate://crates.io/similar/3.1.2 \ + crate://crates.io/similar/3.2.0 \ crate://crates.io/siphasher/1.0.1 \ crate://crates.io/slab/0.4.12 \ - crate://crates.io/smallvec/1.15.2 \ + crate://crates.io/smallvec/1.16.1 \ crate://crates.io/snapbox/1.0.0 \ crate://crates.io/snapbox-macros/1.0.0 \ crate://crates.io/stable_deref_trait/1.2.0 \ @@ -365,7 +366,7 @@ SRC_URI += " \ crate://crates.io/strum_macros/0.28.0 \ crate://crates.io/supports-hyperlinks/3.2.0 \ crate://crates.io/syn/2.0.119 \ - crate://crates.io/syn/3.0.3 \ + crate://crates.io/syn/3.0.6 \ crate://crates.io/synstructure/0.13.2 \ crate://crates.io/tap/1.0.1 \ crate://crates.io/tempfile/3.27.0 \ @@ -375,20 +376,20 @@ SRC_URI += " \ crate://crates.io/test-case/3.3.1 \ crate://crates.io/test-case-core/3.3.1 \ crate://crates.io/test-case-macros/3.3.1 \ - crate://crates.io/thin-vec/0.2.19 \ + crate://crates.io/thin-vec/0.2.20 \ crate://crates.io/thiserror/1.0.69 \ - crate://crates.io/thiserror/2.0.19 \ + crate://crates.io/thiserror/2.0.20 \ crate://crates.io/thiserror-impl/1.0.69 \ - crate://crates.io/thiserror-impl/2.0.19 \ + crate://crates.io/thiserror-impl/2.0.20 \ crate://crates.io/thread_local/1.1.9 \ crate://crates.io/tikv-jemalloc-sys/0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 \ crate://crates.io/tikv-jemallocator/0.6.1 \ - crate://crates.io/tinystr/0.8.3 \ + crate://crates.io/tinystr/0.8.4 \ crate://crates.io/tinytemplate/1.2.1 \ crate://crates.io/tinyvec/1.10.0 \ crate://crates.io/tinyvec_macros/0.1.1 \ crate://crates.io/toml/0.9.12+spec-1.1.0 \ - crate://crates.io/toml/1.1.4+spec-1.1.0 \ + crate://crates.io/toml/1.1.6+spec-1.1.0 \ crate://crates.io/toml_datetime/0.7.5+spec-1.1.0 \ crate://crates.io/toml_datetime/1.1.1+spec-1.1.0 \ crate://crates.io/toml_edit/0.25.12+spec-1.1.0 \ @@ -408,11 +409,9 @@ SRC_URI += " \ crate://crates.io/ucd-trie/0.1.7 \ crate://crates.io/unicode-id/0.3.6 \ crate://crates.io/unicode-ident/1.0.24 \ - crate://crates.io/unicode-normalization/0.1.24 \ + crate://crates.io/unicode-normalization/0.1.25 \ crate://crates.io/unicode-width/0.2.2 \ crate://crates.io/unicode-xid/0.2.6 \ - crate://crates.io/unicode_names2/1.3.0 \ - crate://crates.io/unicode_names2_generator/1.3.0 \ crate://crates.io/unit-prefix/0.5.1 \ crate://crates.io/unscanny/0.1.0 \ crate://crates.io/url/2.5.8 \ @@ -420,7 +419,7 @@ SRC_URI += " \ crate://crates.io/utf8-width/0.1.7 \ crate://crates.io/utf8_iter/1.0.4 \ crate://crates.io/utf8parse/0.2.2 \ - crate://crates.io/uuid/1.24.0 \ + crate://crates.io/uuid/1.26.1 \ crate://crates.io/valuable/0.1.1 \ crate://crates.io/version-ranges/0.1.1 \ crate://crates.io/version_check/0.9.5 \ @@ -445,7 +444,7 @@ SRC_URI += " \ crate://crates.io/wasmparser/0.244.0 \ crate://crates.io/web-sys/0.3.100 \ crate://crates.io/web-time/1.1.0 \ - crate://crates.io/which/8.0.5 \ + crate://crates.io/which/8.0.6 \ crate://crates.io/wild/2.2.1 \ crate://crates.io/winapi/0.3.9 \ crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ @@ -489,18 +488,16 @@ SRC_URI += " \ crate://crates.io/wit-bindgen-rust-macro/0.51.0 \ crate://crates.io/wit-component/0.244.0 \ crate://crates.io/wit-parser/0.244.0 \ - crate://crates.io/writeable/0.6.2 \ + crate://crates.io/writeable/0.6.4 \ crate://crates.io/wyz/0.5.1 \ crate://crates.io/yansi/1.0.1 \ - crate://crates.io/yoke/0.8.2 \ + crate://crates.io/yoke/0.8.3 \ crate://crates.io/yoke-derive/0.8.2 \ - crate://crates.io/zerocopy/0.8.27 \ - crate://crates.io/zerocopy-derive/0.8.27 \ crate://crates.io/zerofrom/0.1.6 \ crate://crates.io/zerofrom-derive/0.1.6 \ - crate://crates.io/zerotrie/0.2.4 \ - crate://crates.io/zerovec/0.11.6 \ - crate://crates.io/zerovec-derive/0.11.3 \ + crate://crates.io/zerotrie/0.2.5 \ + crate://crates.io/zerovec/0.11.8 \ + crate://crates.io/zerovec-derive/0.11.6 \ crate://crates.io/zip/8.6.0 \ crate://crates.io/zlib-rs/0.5.5 \ crate://crates.io/zmij/1.0.10 \ @@ -539,35 +536,35 @@ SRC_URI[autocfg-1.5.0.sha256sum] = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954e SRC_URI[bit-set-0.8.0.sha256sum] = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3" SRC_URI[bit-vec-0.8.0.sha256sum] = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7" SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -SRC_URI[bitflags-2.13.1.sha256sum] = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da" +SRC_URI[bitflags-2.13.2.sha256sum] = "3ded4057c258ba199e2d26386d3af3780957ecaee6c4ef4041c6b4b8b97c0b06" SRC_URI[bitvec-1.1.1.sha256sum] = "ddcec3d12c579d40898fe0a9a358a803c23e9c52ca3c425707f81c9436211837" SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" SRC_URI[block2-0.6.2.sha256sum] = "cdeb9d870516001442e364c5220d3574d2da8dc765554b4a617230d33fa58ef5" SRC_URI[boxcar-0.2.14.sha256sum] = "36f64beae40a84da1b4b26ff2761a5b895c12adc41dc25aaee1c4f2bbfe97a6e" -SRC_URI[bstr-1.13.0.sha256sum] = "1f7dc094d718f2e1c1559ad110e27eeaae14a5465d3d56dd6dbd793079fbd530" +SRC_URI[bstr-1.13.1.sha256sum] = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f" SRC_URI[bumpalo-3.19.0.sha256sum] = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43" SRC_URI[bytecheck-0.8.2.sha256sum] = "0caa33a2c0edca0419d15ac723dff03f1956f7978329b1e3b5fdaaaed9d3ca8b" SRC_URI[bytecheck_derive-0.8.2.sha256sum] = "89385e82b5d1821d2219e0b095efa2cc1f246cbf99080f3be46a1a85c0d392d9" SRC_URI[bytes-1.12.0.sha256sum] = "8ae3f5d315924270530207e2a68396c3cc547f6dca3fbdca317cfb1a51edb593" SRC_URI[cachedir-0.3.1.sha256sum] = "4703f3937077db8fa35bee3c8789343c1aec2585f0146f09d658d4ccc0e8d873" -SRC_URI[camino-1.2.5.sha256sum] = "bb1307f12aa967b5a58416e87b3653360e0fd614a016b6e970db08fecbb1b80d" +SRC_URI[camino-1.2.6.sha256sum] = "bbbad30e4b4c14a39e3cc8aed085a12a327257c316619c93581e017bc52be591" SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" SRC_URI[castaway-0.2.4.sha256sum] = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a" SRC_URI[cc-1.2.65.sha256sum] = "e228eec9be7c17ccb640b59b36a5cd805ea2a564a4c5e162c2f659fea30d3b96" SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" SRC_URI[cfg_aliases-0.2.1.sha256sum] = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724" SRC_URI[chacha20-0.10.0.sha256sum] = "6f8d983286843e49675a4b7a2d174efe136dc93a18d69130dd18198a6c167601" -SRC_URI[char_str-0.0.2.sha256sum] = "576ba56f6ca18ebb069d0d07260407171712aff4dfe15ee3f8982dc16a455bcf" -SRC_URI[chrono-0.4.44.sha256sum] = "c673075a2e0e5f4a1dde27ce9dee1ea4558c7ffe648f576438a20ca1d2acc4b0" +SRC_URI[char_str-0.0.4.sha256sum] = "c9cba78a5abb515610e10af297615434b019755b5d7be14e559ff5340dff50c4" +SRC_URI[chrono-0.4.45.sha256sum] = "1aa79e62e7697b8e29b513a68abacf485adcd1fe8284a4316c5ae868e6633327" SRC_URI[ciborium-0.2.2.sha256sum] = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" SRC_URI[ciborium-io-0.2.2.sha256sum] = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" SRC_URI[ciborium-ll-0.2.2.sha256sum] = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" -SRC_URI[clap-4.6.5.sha256sum] = "301b56658598e48f3648647ac6fc887be7e7108eddfa4e9b63fcf3ec58c0cadf" -SRC_URI[clap_builder-4.6.5.sha256sum] = "94a65403d1a1bd28f7dc68eb8506e8874808ee5eecb59298de588e2e1407a078" +SRC_URI[clap-4.6.7.sha256sum] = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +SRC_URI[clap_builder-4.6.7.sha256sum] = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" SRC_URI[clap_complete-4.5.58.sha256sum] = "75bf0b32ad2e152de789bb635ea4d3078f6b838ad7974143e99b99f45a04af4a" SRC_URI[clap_complete_command-0.6.1.sha256sum] = "da8e198c052315686d36371e8a3c5778b7852fc75cc313e4e11eeb7a644a1b62" SRC_URI[clap_complete_nushell-4.5.8.sha256sum] = "0a0c951694691e65bf9d421d597d68416c22de9632e884c28412cb8cd8b73dce" -SRC_URI[clap_derive-4.6.4.sha256sum] = "d012d2b9d65aca7f18f4d9878a045bc17899bba951561ba5ec3c2ba1eed9a061" +SRC_URI[clap_derive-4.6.7.sha256sum] = "f9c751b79415d4e559e3d1fcf128e09e720eb673a06d26cf6f392d37d75b66e0" SRC_URI[clap_lex-1.0.0.sha256sum] = "3a822ea5bc7590f9d40f1ba12c0dc3c2760f3482c6984db1573ad11031420831" SRC_URI[clearscreen-4.0.6.sha256sum] = "d669bb552908e336ad5681789752033b45566b7e591aeaac7a614e58e5d6d8f2" SRC_URI[codspeed-5.0.1.sha256sum] = "7083f253260bcb4aaa3b4aa4c52973703dabc1a85c2f193997e2689aafa8a919" @@ -592,7 +589,7 @@ SRC_URI[crc32fast-1.5.0.sha256sum] = "9481c1c90cbf2ac953f07c8d4a58aa3945c425b718 SRC_URI[criterion-0.8.2.sha256sum] = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3" SRC_URI[criterion-plot-0.5.0.sha256sum] = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" SRC_URI[criterion-plot-0.8.2.sha256sum] = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" -SRC_URI[crossbeam-0.8.4.sha256sum] = "1137cd7e7fc0fb5d3c5a8678be38ec56e819125d8d7907411fe24ccb943faca8" +SRC_URI[crossbeam-0.8.5.sha256sum] = "e71406cd8807725f7ac2f999a4cdd32e98f829fdf65f528343cebf945e41df1e" SRC_URI[crossbeam-channel-0.5.15.sha256sum] = "82b8f8f868b36967f9606790d1903570de9ceaf870a7bf9fbbd3016d636a2cb2" SRC_URI[crossbeam-deque-0.8.6.sha256sum] = "9dd111b7b7f7d55b72c0a6ae361660ee5853c9af73f70c3c2ef6858b950e2e51" SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" @@ -645,9 +642,8 @@ SRC_URI[futures-task-0.3.32.sha256sum] = "037711b3d59c33004d3856fbdc83b99d4ff37a SRC_URI[futures-util-0.3.32.sha256sum] = "389ca41296e6190b48053de0321d02a77f32f8a5d2461dd38762c0593805c6d6" SRC_URI[gen-lsp-types-0.11.0.sha256sum] = "b64887ac3a8083427ae935a7296db876871582cd57eac077564f8bc18fa49116" SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" -SRC_URI[get-size-derive2-0.10.3.sha256sum] = "c736d226c32e496b8377813b52269e11ad3a48d8373b68862d0364f04fd1229d" -SRC_URI[get-size2-0.10.3.sha256sum] = "b411f34418305908ab15a82ff78958c2a9aee9a272b2a2e663836b20a4e4b9d3" -SRC_URI[getopts-0.2.24.sha256sum] = "cfe4fbac503b8d1f88e6676011885f34b7174f46e59956bba534ba83abded4df" +SRC_URI[get-size-derive2-0.11.0.sha256sum] = "7efe46d2adb529015748742f1a38594039ce357dbb21e6d178de342cfce468d4" +SRC_URI[get-size2-0.11.0.sha256sum] = "d4d338de392104417fe6fdbe588c52383b9236956d8afe5654f0077176edc632" SRC_URI[getrandom-0.2.16.sha256sum] = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592" SRC_URI[getrandom-0.3.4.sha256sum] = "899def5c37c4fd7b2664648c28120ecec138e4d395b459e5ca34f9cce2dd77fd" SRC_URI[getrandom-0.4.2.sha256sum] = "0de51e6874e94e7bf76d726fc5d13ba782deca734ff60d5bb2fb2607c7406555" @@ -664,20 +660,20 @@ SRC_URI[hermit-abi-0.5.2.sha256sum] = "fc0fef456e4baa96da950455cd02c081ca953b141 SRC_URI[html-escape-0.2.13.sha256sum] = "6d1ad449764d627e22bfd7cd5e8868264fc9236e07c752972b4080cd351cb476" SRC_URI[iana-time-zone-0.1.64.sha256sum] = "33e57f83510bb73707521ebaffa789ec8caf86f9657cad665b092b581d40e9fb" SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" -SRC_URI[icu_collections-2.2.0.sha256sum] = "2984d1cd16c883d7935b9e07e44071dca8d917fd52ecc02c04d5fa0b5a3f191c" -SRC_URI[icu_locale_core-2.2.0.sha256sum] = "92219b62b3e2b4d88ac5119f8904c10f8f61bf7e95b640d25ba3075e6cac2c29" -SRC_URI[icu_normalizer-2.2.0.sha256sum] = "c56e5ee99d6e3d33bd91c5d85458b6005a22140021cc324cea84dd0e72cff3b4" -SRC_URI[icu_normalizer_data-2.2.0.sha256sum] = "da3be0ae77ea334f4da67c12f149704f19f81d1adf7c51cf482943e84a2bad38" -SRC_URI[icu_properties-2.2.0.sha256sum] = "bee3b67d0ea5c2cca5003417989af8996f8604e34fb9ddf96208a033901e70de" -SRC_URI[icu_properties_data-2.2.0.sha256sum] = "8e2bbb201e0c04f7b4b3e14382af113e17ba4f63e2c9d2ee626b720cbce54a14" -SRC_URI[icu_provider-2.2.0.sha256sum] = "139c4cf31c8b5f33d7e199446eff9c1e02decfc2f0eec2c8d71f65befa45b421" +SRC_URI[icu_collections-2.3.0.sha256sum] = "fa68d21081c4a05d5a901a1c62add574c77048b6a1c67be3b50ce0b60d4ca513" +SRC_URI[icu_locale_core-2.3.0.sha256sum] = "d56e28588da92eee5c3201a6eff33fabdd49b62269c8938d4ff050ce4d900deb" +SRC_URI[icu_normalizer-2.3.0.sha256sum] = "12f9cf5f235641ed274641dd81c3f28d870e276763d0797aeeab72317b1c646f" +SRC_URI[icu_normalizer_data-2.3.0.sha256sum] = "1563da1ed3e0b3bf3d74c9b85917ac9c56464d2f57242270c09c9e752f8021a0" +SRC_URI[icu_properties-2.3.0.sha256sum] = "7e7ca276ad3145661a65914e6daf131ca5120cd3dcee8f8f3214b8875184a148" +SRC_URI[icu_properties_data-2.3.0.sha256sum] = "e590f038c1464a96894fd6d10127e90a8be4509f56ff7ecef851b15cee0b7caa" +SRC_URI[icu_provider-2.3.1.sha256sum] = "d27bbb9d3abbefac45d55f647c9de1d44aafcd1186eb91879afef17c396c3e73" SRC_URI[id-arena-2.3.0.sha256sum] = "3d3067d79b975e8844ca9eb072e16b31c3c1c36928edf9c6789548c524d0d954" SRC_URI[idna-1.1.0.sha256sum] = "3b0875f23caa03898994f6ddc501886a45c7d3d62d04d2d90788d47be1b1e4de" SRC_URI[idna_adapter-1.2.1.sha256sum] = "3acae9609540aa318d1bc588455225fb2085b9ed0c4f6bd0d9d5bcd86f1a0344" SRC_URI[ignore-0.4.33.sha256sum] = "00b69833ed729dc5aa7d19541d96d6cf8e9137194207a04916d658e43168402f" SRC_URI[imara-diff-0.2.0.sha256sum] = "2f01d462f766df78ab820dd06f5eb700233c51f0f4c2e846520eaf4ba6aa5c5c" SRC_URI[imperative-1.0.7.sha256sum] = "35e1d0bd9c575c52e59aad8e122a11786e852a154678d0c86e9e243d55273970" -SRC_URI[indexmap-2.14.0.sha256sum] = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9" +SRC_URI[indexmap-2.14.2.sha256sum] = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" SRC_URI[indicatif-0.18.6.sha256sum] = "9433806cd6b4ec1aba79c021c7e4c58fb4c3b9977c085062e611ac929998fb0c" SRC_URI[indoc-2.0.7.sha256sum] = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706" SRC_URI[inotify-0.11.0.sha256sum] = "f37dccff2791ab604f9babef0ba14fbe0be30bd368dc541e2b08d07c8aa908f3" @@ -687,7 +683,7 @@ SRC_URI[insta-cmd-0.7.0.sha256sum] = "bffdf4af1db390cf0401535d7c1303cd079a074d28 SRC_URI[interpolator-0.5.0.sha256sum] = "71dd52191aae121e8611f1e8dc3e324dd0dd1dee1e6dd91d10ee07a3cfb4d9d8" SRC_URI[intrusive-collections-0.10.1.sha256sum] = "80e165935eba36cb526af8389effd2005a741adcbb6ed32106cc68e3f7b92960" SRC_URI[inventory-0.3.24.sha256sum] = "a4f0c30c76f2f4ccee3fe55a2435f691ca00c0e4bd87abe4f4a851b1d4dac39b" -SRC_URI[is-macro-0.3.7.sha256sum] = "1d57a3e447e24c22647738e4607f1df1e0ec6f72e16182c4cd199f647cdfb0e4" +SRC_URI[is-macro-0.3.8.sha256sum] = "8267aa6001e25494f3015f9663bbd88a18240c74483afa5f0934a1b3e4c388e9" SRC_URI[is-terminal-0.4.16.sha256sum] = "e04d7f318608d35d4b61ddd75cbdaee86b023ebe2bd5a66ee0915f0bf93095a9" SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" @@ -695,9 +691,9 @@ SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c08819 SRC_URI[itertools-0.14.0.sha256sum] = "2b192c782037fadd9cfa75548310488aabdbf3d2da73885b31bd0abd03351285" SRC_URI[itertools-0.15.0.sha256sum] = "8b4baf93f58d4425749ca49a51c50ebab072c5df6994d08fed93541c331481dc" SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" -SRC_URI[jiff-0.2.35.sha256sum] = "668b7183bd07af9a4885f5c35b0cc5c83c4607a913c16b7e17291832910d2dcc" +SRC_URI[jiff-0.2.37.sha256sum] = "0ab1baf72f08796de0260609515130699b890ac25f30e610ad894bc5856cafdb" SRC_URI[jiff-core-0.1.0.sha256sum] = "7feca88439efe53da3754500c1851dedf3cb36c524dd5cf8225cc0794de95d09" -SRC_URI[jiff-static-0.2.35.sha256sum] = "3a69dcb3a21cfb32ce1cd056169337ca284af0766dd766e7878819b251a49204" +SRC_URI[jiff-static-0.2.37.sha256sum] = "378268a1116ad67ae6228701118ac9f491d78fda38a40a1f1a9e1348de6f7212" SRC_URI[jiff-tzdb-0.1.4.sha256sum] = "c1283705eb0a21404d2bfd6eef2a7593d240bc42a0bdb39db0ad6fa2ec026524" SRC_URI[jiff-tzdb-platform-0.1.3.sha256sum] = "875a5a69ac2bab1a891711cf5eccbec1ce0341ea805560dcd90b7a2e925132e8" SRC_URI[jobserver-0.1.34.sha256sum] = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" @@ -708,8 +704,8 @@ SRC_URI[kqueue-sys-1.0.4.sha256sum] = "ed9625ffda8729b85e45cf04090035ac368927b8c SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" SRC_URI[leb128fmt-0.1.0.sha256sum] = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" SRC_URI[libc-0.2.189.sha256sum] = "3eaf3ede3fee6db1a4c2ee091bf8a8b4dccdc6d17f656fb07896ee72867612f2" -SRC_URI[libcst-1.8.6.sha256sum] = "6aea7143e4a0ed59b87a1ee71e198500889f8b005311136be15e84c97a6fcd8d" -SRC_URI[libcst_derive-1.8.6.sha256sum] = "0903173ea316c34a44d0497161e04d9210af44f5f5e89bf2f55d9a254c9a0e8d" +SRC_URI[libcst-1.9.0.sha256sum] = "21b68d9c60cba9c333f89596ef5c4d3b6c9bd0b7d2e48a9810df6fa7976102a3" +SRC_URI[libcst_derive-1.9.0.sha256sum] = "57a1ac6fb3fbdc3408a2f138e54d11c3dd338f12c2efc3db47477cc2227d89c2" SRC_URI[libm-0.2.16.sha256sum] = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" SRC_URI[libmimalloc-sys-0.1.49.sha256sum] = "6a45a52f43e1c16f667ccfe4dd8c85b7f7c204fd5e3bf46c5b0db9a5c3c0b8e9" SRC_URI[libredox-0.1.10.sha256sum] = "416f7e718bdb06000964960ffa43b4335ad4012ae8b99060261aa4a8088d5ccb" @@ -718,7 +714,7 @@ SRC_URI[libz-rs-sys-0.5.5.sha256sum] = "c10501e7805cee23da17c7790e59df2870c0d404 SRC_URI[linux-raw-sys-0.12.1.sha256sum] = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53" SRC_URI[litemap-0.8.0.sha256sum] = "241eaef5fd12c88705a01fc1066c48c4b36e0dd4377dcdc7ec3942cea7a69956" SRC_URI[lock_api-0.4.14.sha256sum] = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965" -SRC_URI[log-0.4.33.sha256sum] = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad" +SRC_URI[log-0.4.34.sha256sum] = "f9f8bd3e56ce4dfc153cf470fffbfa98c7620958b312ca5c3a4b8d5181fd13c6" SRC_URI[lsp-server-0.10.0.sha256sum] = "3ee25a31f2e571e426eef2896179450cafc7e2f5be00d8a93b1c2d21c0ff7656" SRC_URI[manyhow-0.11.4.sha256sum] = "b33efb3ca6d3b07393750d4030418d594ab1139cee518f0dc88db70fec873587" SRC_URI[manyhow-macros-0.11.4.sha256sum] = "46fce34d199b78b6e6073abf984c9cf5fd3e9330145a93ee0738a7443e371495" @@ -750,7 +746,7 @@ SRC_URI[once_cell-1.21.4.sha256sum] = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d0 SRC_URI[once_cell_polyfill-1.70.1.sha256sum] = "a4895175b425cb1f87721b59f0f286c2092bd4af812243672510e1ac53e2e0ad" SRC_URI[oorandom-11.1.5.sha256sum] = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" SRC_URI[option-ext-0.2.0.sha256sum] = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d" -SRC_URI[ordermap-1.2.0.sha256sum] = "7f7476a5b122ff1fce7208e7ee9dccd0a516e835f5b8b19b8f3c98a34cf757c1" +SRC_URI[ordermap-1.2.2.sha256sum] = "16a756ddcdeb6c0efc8927bdf0ed112885815a35ba350472a467be5104f01ca1" SRC_URI[os_pipe-1.2.2.sha256sum] = "db335f4760b14ead6290116f2427bf33a14d4f0617d49f78a246de10c1831224" SRC_URI[os_str_bytes-7.1.1.sha256sum] = "63eceb7b5d757011a87d08eb2123db15d87fb0c281f65d101ce30a1e96c3ad5c" SRC_URI[page_size-0.6.0.sha256sum] = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" @@ -773,16 +769,19 @@ SRC_URI[pest_generator-2.8.2.sha256sum] = "6d4f36811dfe07f7b8573462465d5cb8965ff SRC_URI[pest_meta-2.8.2.sha256sum] = "42919b05089acbd0a5dcd5405fb304d17d1053847b81163d09c4ad18ce8e8420" SRC_URI[phf-0.11.3.sha256sum] = "1fd6780a80ae0c52cc120a26a1a42c1ae51b247a253e4e06113d23d2c2edd078" SRC_URI[phf-0.13.1.sha256sum] = "c1562dc717473dbaa4c1f85a36410e03c047b2e7df7f45ee938fbef64ae7fadf" +SRC_URI[phf-0.14.0.sha256sum] = "010378780309880b08997fae13be7834dba947d36393bd372f2b1556deb2a2f6" SRC_URI[phf_codegen-0.11.3.sha256sum] = "aef8048c789fa5e851558d709946d6d79a8ff88c0440c587967f8e94bfb1216a" +SRC_URI[phf_codegen-0.14.0.sha256sum] = "41b585a510fb76fdebead6897982ef2a03a21d8e6cbcca904999742a4afc6ffe" SRC_URI[phf_generator-0.11.3.sha256sum] = "3c80231409c20246a13fddb31776fb942c38553c51e871f8cbd687a4cfb5843d" +SRC_URI[phf_generator-0.14.0.sha256sum] = "aeb62e0959d5a1bebc965f4d15d9e2b7cea002b6b0f5ba8cde6cc26738467100" SRC_URI[phf_shared-0.11.3.sha256sum] = "67eabc2ef2a60eb7faa00097bd1ffdb5bd28e62bf39990626a582201b7a754e5" SRC_URI[phf_shared-0.13.1.sha256sum] = "e57fef6bc5981e38c2ce2d63bfa546861309f875b8a75f092d1d54ae2d64f266" +SRC_URI[phf_shared-0.14.0.sha256sum] = "c6fd9027e2d9319be6349febd1db4e8d02aa544921200c9b777720ac34a3aa89" SRC_URI[pin-project-lite-0.2.16.sha256sum] = "3b3cff922bd51709b605d9ead9aa71031d81447142d828eb4a6eba76fe619f9b" SRC_URI[pkg-config-0.3.32.sha256sum] = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c" SRC_URI[portable-atomic-1.13.1.sha256sum] = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49" SRC_URI[portable-atomic-util-0.2.4.sha256sum] = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" SRC_URI[potential_utf-0.1.3.sha256sum] = "84df19adbe5b5a0782edcab45899906947ab039ccf4573713735ee7de1e6b08a" -SRC_URI[ppv-lite86-0.2.21.sha256sum] = "85eae3c4ed2f50dcfe72643da4befc30deadb458a9b590d720cde2f2b1e97da9" SRC_URI[predicates-3.1.4.sha256sum] = "ada8f2932f28a27ee7b70dd6c1c39ea0675c55a36879ab92f3a715eaa1e63cfe" SRC_URI[predicates-core-1.0.10.sha256sum] = "cad38746f3166b4031b1a0d39ad9f954dd291e7854fcc0eed52ee41a0b50d144" SRC_URI[predicates-tree-1.0.13.sha256sum] = "d0de1b847b39c8131db0467e9df1ff60e6d0562ab8e9a16e568ad0fdb372e2f2" @@ -797,7 +796,7 @@ SRC_URI[psm-0.1.32.sha256sum] = "4dcd034599e63b970727f70d79e02d62390a4a84f7c6b82 SRC_URI[ptr_meta-0.3.1.sha256sum] = "0b9a0cf95a1196af61d4f1cbdab967179516d9a4a4312af1f31948f8f6224a79" SRC_URI[ptr_meta_derive-0.3.1.sha256sum] = "7347867d0a7e1208d93b46767be83e2b8f978c3dad35f775ac8d8847551d6fe1" SRC_URI[pyproject-toml-0.13.7.sha256sum] = "f6d755483ad14b49e76713b52285235461a5b4f73f17612353e11a5de36a5fd2" -SRC_URI[quick-junit-0.6.1.sha256sum] = "8216516c957e00535b3c91770524c219dd7df90dec439a182547f750dfe41591" +SRC_URI[quick-junit-0.8.0.sha256sum] = "bae23b8e1a59a90f7bf98caa2f4c8c2eedf6df011c6c88ed633e85a87c84526e" SRC_URI[quick-xml-0.41.0.sha256sum] = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1" SRC_URI[quickcheck-1.1.0.sha256sum] = "95c589f335db0f6aaa168a7cd27b1fc6920f5e1470c804f814d9cd6e62a0f70b" SRC_URI[quickcheck_macros-1.2.0.sha256sum] = "a9a28b8493dd664c8b171dd944da82d933f7d456b829bfb236738e1fe06c5ba4" @@ -808,9 +807,8 @@ SRC_URI[r-efi-5.3.0.sha256sum] = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847 SRC_URI[r-efi-6.0.0.sha256sum] = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" SRC_URI[radium-0.7.0.sha256sum] = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" SRC_URI[rancor-0.1.1.sha256sum] = "a063ea72381527c2a0561da9c80000ef822bdd7c3241b1cc1b12100e3df081ee" -SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" -SRC_URI[rand-0.10.2.sha256sum] = "c7f5fa3a058cd35567ef9bfa5e75732bee0f9e4c55fa90477bef2dfcdbc4be80" -SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +SRC_URI[rand-0.8.8.sha256sum] = "e058c7de0b26af77780c769414d6257830bb240f3c38477dbc2c16e5f54d6d4c" +SRC_URI[rand-0.10.3.sha256sum] = "65c9fb96cbc91e3478eaae79a69fcd3f1ae4ad052e471fe6732fff548984b4af" SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" SRC_URI[rand_core-0.10.0.sha256sum] = "0c8d0fd677905edcbeedbf2edb6494d676f0e98d54d5cf9bda0b061cb8fb8aba" SRC_URI[rayon-1.12.0.sha256sum] = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" @@ -824,18 +822,18 @@ SRC_URI[regex-automata-0.4.18.sha256sum] = "ad8553b9b26413251cbf30e620595c7a41b3 SRC_URI[regex-lite-0.1.7.sha256sum] = "943f41321c63ef1c92fd763bfe054d2668f7f225a5c29f0105903dc2fc04ba30" SRC_URI[regex-syntax-0.8.11.sha256sum] = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" SRC_URI[rend-0.5.3.sha256sum] = "cadadef317c2f20755a64d7fdc48f9e7178ee6b0e1f7fce33fa60f1d68a276e6" -SRC_URI[rkyv-0.8.17.sha256sum] = "815cc8a37159a463064825246cadb07961e25cd9885908606f6d08a98d8f8874" -SRC_URI[rkyv_derive-0.8.17.sha256sum] = "c0ed1a78a1b19d184b0daa629dd9a024573173ec7d485b287cb369fb3607cc1c" +SRC_URI[rkyv-0.8.18.sha256sum] = "d9776093b7ca170454ab1406954f7b7d97a57c51dc6c0642957fb2ef25c2d399" +SRC_URI[rkyv_derive-0.8.18.sha256sum] = "1c25ef604ac7dd839d44d64648952ea23c97866f124ff671b0ed2cf3ad9bb06e" SRC_URI[ron-0.12.0.sha256sum] = "fd490c5b18261893f14449cbd28cb9c0b637aebf161cd77900bfdedaff21ec32" SRC_URI[rust-stemmers-1.2.0.sha256sum] = "e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54" SRC_URI[rustc-hash-2.1.3.sha256sum] = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d" SRC_URI[rustc-stable-hash-0.1.2.sha256sum] = "781442f29170c5c93b7185ad559492601acdc71d5bb0706f5868094f45cfcd08" -SRC_URI[rustix-1.1.4.sha256sum] = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190" +SRC_URI[rustix-1.1.5.sha256sum] = "891efababe418670775f199f0d233d84843c227a0949a883ce15b37c78d6629d" SRC_URI[rustversion-1.0.22.sha256sum] = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" -SRC_URI[salsa-0.28.2.sha256sum] = "cf0e374215cd2db2b5c75d7b3a99cb0cc052c0595335dfdefc03d4eb08f4aa81" -SRC_URI[salsa-macro-rules-0.28.2.sha256sum] = "85f4b7d4405540bbd6d4ffa52d4322d983f3781954d3073067ac1bdb028459b3" -SRC_URI[salsa-macros-0.28.2.sha256sum] = "445be2bfbb2f67cb663225ecd7bc5a25370c0250fca30f9d8cbad9a913650370" +SRC_URI[salsa-0.28.5.sha256sum] = "27d2e6e19e39591cd99c01ac4141544b4d012cfd0831348629b8187fa9fe6d34" +SRC_URI[salsa-macro-rules-0.28.5.sha256sum] = "baf90a551c38f25ed8489111d3d5827aa18e1b85963f5e6a298505b1d1e2cb7e" +SRC_URI[salsa-macros-0.28.5.sha256sum] = "69dd77f86ec10e72e314f4ddf7c44c8d349e73cdff1aad524ba9668603fb0549" SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" SRC_URI[schemars-1.2.2.sha256sum] = "687274d293b6cdc6e73e0fee520bf2049650090d7164f87672d212a3c530cf4a" SRC_URI[schemars_derive-1.2.2.sha256sum] = "d98c67716b46af2f0b8cf752abc930f6f9aecfbf671ecfb531db8a31dbe4e2ba" @@ -856,10 +854,10 @@ SRC_URI[shellexpand-3.1.2.sha256sum] = "32824fab5e16e6c4d86dc1ba84489390419a39f9 SRC_URI[shlex-2.0.1.sha256sum] = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" SRC_URI[simdutf8-0.1.5.sha256sum] = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" SRC_URI[similar-2.7.0.sha256sum] = "bbbb5d9659141646ae647b42fe094daf6c6192d1620870b449d9557f748b2daa" -SRC_URI[similar-3.1.2.sha256sum] = "85ee016af5d736b69fc89e19254540fa4b5f5492853fb5503920f084011c78b6" +SRC_URI[similar-3.2.0.sha256sum] = "4f66ca1f7aca2474dc10c942eb22feffc897735f54cd1db90138c2fddb490987" SRC_URI[siphasher-1.0.1.sha256sum] = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d" SRC_URI[slab-0.4.12.sha256sum] = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" -SRC_URI[smallvec-1.15.2.sha256sum] = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90" +SRC_URI[smallvec-1.16.1.sha256sum] = "ba467056f1b547ed52077911161fc86985becbc60e8e1857c8a144dab0def891" SRC_URI[snapbox-1.0.0.sha256sum] = "71d70a71b68054cbe88708f77abfc4bd2daf75028f8f55f4f1cff63565df89ea" SRC_URI[snapbox-macros-1.0.0.sha256sum] = "d248cef42e1456ab2f7149c0376985351b7d849ea9ad2a957bf15ddfebf1fdf9" SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" @@ -872,7 +870,7 @@ SRC_URI[strum-0.28.0.sha256sum] = "9628de9b8791db39ceda2b119bbe13134770b56c138ec SRC_URI[strum_macros-0.28.0.sha256sum] = "ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664" SRC_URI[supports-hyperlinks-3.2.0.sha256sum] = "e396b6523b11ccb83120b115a0b7366de372751aa6edf19844dfb13a6af97e91" SRC_URI[syn-2.0.119.sha256sum] = "872831b642d1a07999a962a351ed35b955ea2cfc8f3862091e2a240a84f17297" -SRC_URI[syn-3.0.3.sha256sum] = "53e9bae58849f64dfa4f5d5ae372c8341f7305f82a3868709269343628b659a3" +SRC_URI[syn-3.0.6.sha256sum] = "8593e8e72159ed2257d083c7a454a85cbf854f37a0966d8d483aff8c8a3ebcee" SRC_URI[synstructure-0.13.2.sha256sum] = "728a70f3dbaf5bab7f0c4b1ac8d7ae5ea60a4b5549c8a5914361c99147a709d2" SRC_URI[tap-1.0.1.sha256sum] = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" SRC_URI[tempfile-3.27.0.sha256sum] = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" @@ -882,20 +880,20 @@ SRC_URI[termtree-0.5.1.sha256sum] = "8f50febec83f5ee1df3015341d8bd429f2d1cc62bcb SRC_URI[test-case-3.3.1.sha256sum] = "eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8" SRC_URI[test-case-core-3.3.1.sha256sum] = "adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f" SRC_URI[test-case-macros-3.3.1.sha256sum] = "5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb" -SRC_URI[thin-vec-0.2.19.sha256sum] = "79def32ffcd477db1ff26f76dab9e3a91f0bd42a85ca96577089b24623056f9d" +SRC_URI[thin-vec-0.2.20.sha256sum] = "4568d7e143ec86d2021c338bae2afa88699e84b8e0af523626654fe6f03a1748" SRC_URI[thiserror-1.0.69.sha256sum] = "b6aaf5339b578ea85b50e080feb250a3e8ae8cfcdff9a461c9ec2904bc923f52" -SRC_URI[thiserror-2.0.19.sha256sum] = "09a43598840e33d5b0331f38c5e30d13bb11c11210a4b58f0d9b18a5a5eefcd9" +SRC_URI[thiserror-2.0.20.sha256sum] = "ec86235f5fcc2a73650310756d2ac5b138a5780bbbdfae3eeccec992c435ba4f" SRC_URI[thiserror-impl-1.0.69.sha256sum] = "4fee6c4efc90059e10f81e6d42c60a18f76588c3d74cb83a0b242a2b6c7504c1" -SRC_URI[thiserror-impl-2.0.19.sha256sum] = "43cbfe0cf76104d42a574802844187e84a305e531ed54455f11fbde0f10541cd" +SRC_URI[thiserror-impl-2.0.20.sha256sum] = "bc04cd3e1236dd4a98afca4569f2deb3f120e5422a4023be2cb683f8486292af" SRC_URI[thread_local-1.1.9.sha256sum] = "f60246a4944f24f6e018aa17cdeffb7818b76356965d03b07d6a9886e8962185" SRC_URI[tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7.sha256sum] = "cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b" SRC_URI[tikv-jemallocator-0.6.1.sha256sum] = "0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a" -SRC_URI[tinystr-0.8.3.sha256sum] = "c8323304221c2a851516f22236c5722a72eaa19749016521d6dff0824447d96d" +SRC_URI[tinystr-0.8.4.sha256sum] = "b1e27c91459209c2986af3dcf603a5a74a4368754ce37414f59acc971167f643" SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" SRC_URI[tinyvec-1.10.0.sha256sum] = "bfa5fdc3bce6191a1dbc8c02d5c8bffcf557bafa17c124c5264a458f1b0613fa" SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" SRC_URI[toml-0.9.12+spec-1.1.0.sha256sum] = "cf92845e79fc2e2def6a5d828f0801e29a2f8acc037becc5ab08595c7d5e9863" -SRC_URI[toml-1.1.4+spec-1.1.0.sha256sum] = "3aace63f4bbcdfc2c965b059de67119c89c4017a70d633be6c104910f67056f5" +SRC_URI[toml-1.1.6+spec-1.1.0.sha256sum] = "920602543f0911ab71da12c50d59701da54c196d1a2bf5cb4b75667f137a406a" SRC_URI[toml_datetime-0.7.5+spec-1.1.0.sha256sum] = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347" SRC_URI[toml_datetime-1.1.1+spec-1.1.0.sha256sum] = "3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7" SRC_URI[toml_edit-0.25.12+spec-1.1.0.sha256sum] = "d2153edc6955a6c354fad8f5efd38b6a8769bdccf9fe50f8e1329f81b0baa5d7" @@ -915,11 +913,9 @@ SRC_URI[typenum-1.18.0.sha256sum] = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e SRC_URI[ucd-trie-0.1.7.sha256sum] = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971" SRC_URI[unicode-id-0.3.6.sha256sum] = "70ba288e709927c043cbe476718d37be306be53fb1fafecd0dbe36d072be2580" SRC_URI[unicode-ident-1.0.24.sha256sum] = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" -SRC_URI[unicode-normalization-0.1.24.sha256sum] = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" +SRC_URI[unicode-normalization-0.1.25.sha256sum] = "5fd4f6878c9cb28d874b009da9e8d183b5abc80117c40bbd187a1fde336be6e8" SRC_URI[unicode-width-0.2.2.sha256sum] = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" SRC_URI[unicode-xid-0.2.6.sha256sum] = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" -SRC_URI[unicode_names2-1.3.0.sha256sum] = "d1673eca9782c84de5f81b82e4109dcfb3611c8ba0d52930ec4a9478f547b2dd" -SRC_URI[unicode_names2_generator-1.3.0.sha256sum] = "b91e5b84611016120197efd7dc93ef76774f4e084cd73c9fb3ea4a86c570c56e" SRC_URI[unit-prefix-0.5.1.sha256sum] = "323402cff2dd658f39ca17c789b502021b3f18707c91cdf22e3838e1b4023817" SRC_URI[unscanny-0.1.0.sha256sum] = "e9df2af067a7953e9c3831320f35c1cc0600c30d44d9f7a12b01db1cd88d6b47" SRC_URI[url-2.5.8.sha256sum] = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed" @@ -927,7 +923,7 @@ SRC_URI[urlencoding-2.1.3.sha256sum] = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdf SRC_URI[utf8-width-0.1.7.sha256sum] = "86bd8d4e895da8537e5315b8254664e6b769c4ff3db18321b297a1e7004392e3" SRC_URI[utf8_iter-1.0.4.sha256sum] = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" -SRC_URI[uuid-1.24.0.sha256sum] = "bf3923a6f5c4c6382e0b653c4117f48d631ea17f38ed86e2a828e6f7412f5239" +SRC_URI[uuid-1.26.1.sha256sum] = "2ef6dac1e96601b4fb3acccccff2139741fcb757cb9a36089bf5be91cfb285ce" SRC_URI[valuable-0.1.1.sha256sum] = "ba73ea9cf16a25df0c8caa16c51acb937d5712a8429db78a3ee29d5dcacd3a65" SRC_URI[version-ranges-0.1.1.sha256sum] = "f8d079415ceb2be83fc355adbadafe401307d5c309c7e6ade6638e6f9f42f42d" SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" @@ -952,7 +948,7 @@ SRC_URI[wasm-metadata-0.244.0.sha256sum] = "bb0e353e6a2fbdc176932bbaab493762eb12 SRC_URI[wasmparser-0.244.0.sha256sum] = "47b807c72e1bac69382b3a6fb3dbe8ea4c0ed87ff5629b8685ae6b9a611028fe" SRC_URI[web-sys-0.3.100.sha256sum] = "6e0871acf327f283dc6da28a1696cdc64fb355ba9f935d052021fa77f35cce69" SRC_URI[web-time-1.1.0.sha256sum] = "5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb" -SRC_URI[which-8.0.5.sha256sum] = "8f3ef584124b911bcc3875c2f1472e80f24361ceb789bd1c62b3e9a3df9ff43c" +SRC_URI[which-8.0.6.sha256sum] = "bae2f2b2b816647a1cab1acc91f5bd20812d53cb344382635ec2181940c8034f" SRC_URI[wild-2.2.1.sha256sum] = "a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1" SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" @@ -996,18 +992,16 @@ SRC_URI[wit-bindgen-rust-0.51.0.sha256sum] = "b7c566e0f4b284dd6561c786d9cb0142da SRC_URI[wit-bindgen-rust-macro-0.51.0.sha256sum] = "0c0f9bfd77e6a48eccf51359e3ae77140a7f50b1e2ebfe62422d8afdaffab17a" SRC_URI[wit-component-0.244.0.sha256sum] = "9d66ea20e9553b30172b5e831994e35fbde2d165325bec84fc43dbf6f4eb9cb2" SRC_URI[wit-parser-0.244.0.sha256sum] = "ecc8ac4bc1dc3381b7f59c34f00b67e18f910c2c0f50015669dde7def656a736" -SRC_URI[writeable-0.6.2.sha256sum] = "9edde0db4769d2dc68579893f2306b26c6ecfbe0ef499b013d731b7b9247e0b9" +SRC_URI[writeable-0.6.4.sha256sum] = "3ad82d2a33cdc9674dc7465672f271e096168fcdbe0f799d9e6db8c5892679dc" SRC_URI[wyz-0.5.1.sha256sum] = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" SRC_URI[yansi-1.0.1.sha256sum] = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049" -SRC_URI[yoke-0.8.2.sha256sum] = "abe8c5fda708d9ca3df187cae8bfb9ceda00dd96231bed36e445a1a48e66f9ca" +SRC_URI[yoke-0.8.3.sha256sum] = "709fe23a0424b6a435d82152b1bd3fdfb0833487d5fa90d05d42762a9891fef5" SRC_URI[yoke-derive-0.8.2.sha256sum] = "de844c262c8848816172cef550288e7dc6c7b7814b4ee56b3e1553f275f1858e" -SRC_URI[zerocopy-0.8.27.sha256sum] = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c" -SRC_URI[zerocopy-derive-0.8.27.sha256sum] = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831" SRC_URI[zerofrom-0.1.6.sha256sum] = "50cc42e0333e05660c3587f3bf9d0478688e15d870fab3346451ce7f8c9fbea5" SRC_URI[zerofrom-derive-0.1.6.sha256sum] = "d71e5d6e06ab090c67b5e44993ec16b72dcbaabc526db883a360057678b48502" -SRC_URI[zerotrie-0.2.4.sha256sum] = "0f9152d31db0792fa83f70fb2f83148effb5c1f5b8c7686c3459e361d9bc20bf" -SRC_URI[zerovec-0.11.6.sha256sum] = "90f911cbc359ab6af17377d242225f4d75119aec87ea711a880987b18cd7b239" -SRC_URI[zerovec-derive-0.11.3.sha256sum] = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" +SRC_URI[zerotrie-0.2.5.sha256sum] = "4ea269c3bd32f0a32c321907a2ae912ba6f4649bb0fc764a15627e99a7095a3f" +SRC_URI[zerovec-0.11.8.sha256sum] = "bb0464e17806c1d976d5cba29399c7f08e516e279e2ba493f63123b5fca67dd8" +SRC_URI[zerovec-derive-0.11.6.sha256sum] = "34df6fc39dbd26ddc9c10e6a2984476e13acce22e64e4487636ef494369225da" SRC_URI[zip-8.6.0.sha256sum] = "2d04a6b5381502aa6087c94c669499eb1602eb9c5e8198e534de571f7154809b" SRC_URI[zlib-rs-0.5.5.sha256sum] = "40990edd51aae2c2b6907af74ffb635029d5788228222c4bb811e9351c0caad3" SRC_URI[zmij-1.0.10.sha256sum] = "30e0d8dffbae3d840f64bda38e28391faef673a7b5a6017840f2a106c8145868" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch new file mode 100644 index 0000000000..2fbda610aa --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff/0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch @@ -0,0 +1,171 @@ +From 3db4e7361ecdafec16b5ea23a2a21e62bc5d87bd Mon Sep 17 00:00:00 2001 +From: Khem Raj <khem.raj@oss.qualcomm.com> +Date: Wed, 21 Oct 2026 18:00:00 -0700 +Subject: [PATCH] ruff: Use portable-atomic for AtomicU64 on targets without + 64-bit atomics + +std only provides AtomicU64 on targets with 64-bit atomics, so ruff +fails to build for e.g. riscv32: + + error[E0432]: unresolved import `std::sync::atomic::AtomicU64` + --> crates/ruff/src/cache.rs:7:25 + | + 7 | use std::sync::atomic::{AtomicU64, Ordering}; + | ^^^^^^^^^ no `AtomicU64` in `sync::atomic` + +FileCache::last_seen holds milliseconds since the Unix epoch, so it has +to stay 64-bit. On targets without 64-bit atomics, use the AtomicU64 +from portable-atomic, which is already in the dependency tree, instead. +rkyv's AtomicLoad wrapper only supports the std atomics, so add an +equivalent wrapper that archives it as an ArchivedU64, which keeps the +on-disk cache format the same on all targets. Targets with 64-bit +atomics keep using std's AtomicU64 unchanged. + +Upstream-Status: Submitted [https://github.com/astral-sh/ruff/pull/29627] +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + Cargo.lock | 1 + + Cargo.toml | 1 + + crates/ruff/Cargo.toml | 3 +++ + crates/ruff/src/cache.rs | 57 +++++++++++++++++++++++++++++++++++++--- + 4 files changed, 58 insertions(+), 4 deletions(-) + +diff --git a/Cargo.lock b/Cargo.lock +index 84eda7b..4444142 100644 +--- a/Cargo.lock ++++ b/Cargo.lock +@@ -3123,6 +3123,7 @@ dependencies = [ + "mimalloc", + "notify", + "path-absolutize", ++ "portable-atomic", + "rayon", + "regex", + "rkyv", +diff --git a/Cargo.toml b/Cargo.toml +index f5f3f6c..288535a 100644 +--- a/Cargo.toml ++++ b/Cargo.toml +@@ -172,6 +172,7 @@ pathdiff = { version = "0.2.1", default-features = false } + phf = { version = "0.14.0", default-features = false } + phf_codegen = { version = "0.14.0", default-features = false } + pep440_rs = { version = "0.7.1", default-features = false } ++portable-atomic = { version = "1.13.1", default-features = false, features = ["fallback"] } + pretty_assertions = { version = "1.3.0", default-features = false, features = ["std"] } + proc-macro2 = { version = "1.0.79", default-features = false, features = ["proc-macro"] } + pyproject-toml = { version = "0.13.4", default-features = false } +diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml +index d88c322..a0de836 100644 +--- a/crates/ruff/Cargo.toml ++++ b/crates/ruff/Cargo.toml +@@ -77,6 +77,9 @@ tikv-jemallocator = { workspace = true } + [target.'cfg(target_os = "windows")'.dependencies] + mimalloc = { workspace = true } + ++[target.'cfg(not(target_has_atomic = "64"))'.dependencies] ++portable-atomic = { workspace = true } ++ + [dev-dependencies] + # Enable test rules during development + ruff_linter = { workspace = true, features = ["clap", "test-rules"] } +diff --git a/crates/ruff/src/cache.rs b/crates/ruff/src/cache.rs +index 94ca467..3fca85e 100644 +--- a/crates/ruff/src/cache.rs ++++ b/crates/ruff/src/cache.rs +@@ -4,7 +4,9 @@ use std::hash::Hasher; + use std::io::{self, Write}; + use std::path::{Path, PathBuf}; + use std::sync::Mutex; +-use std::sync::atomic::{AtomicU64, Ordering}; ++#[cfg(target_has_atomic = "64")] ++use std::sync::atomic::AtomicU64; ++use std::sync::atomic::Ordering; + use std::time::{Duration, SystemTime}; + + use anyhow::{Context, Result}; +@@ -23,6 +25,10 @@ use ruff_macros::CacheKey; + use ruff_workspace::Settings; + use ruff_workspace::resolver::Resolver; + ++// `std` only provides `AtomicU64` on targets with 64-bit atomics. ++#[cfg(not(target_has_atomic = "64"))] ++use portable_atomic::AtomicU64; ++ + /// [`Path`] that is relative to the package root in [`PackageCache`]. + pub(crate) type RelativePath = Path; + /// [`PathBuf`] that is relative to the package root in [`PackageCache`]. +@@ -341,12 +347,56 @@ pub(crate) struct FileCache { + /// + /// Represented as the number of milliseconds since Unix epoch. This will + /// break in 1970 + ~584 years (~2554). +- #[rkyv(with = rkyv::with::AtomicLoad<rkyv::with::Relaxed>)] ++ #[cfg_attr( ++ target_has_atomic = "64", ++ rkyv(with = rkyv::with::AtomicLoad<rkyv::with::Relaxed>) ++ )] ++ #[cfg_attr(not(target_has_atomic = "64"), rkyv(with = AtomicU64LoadRelaxed))] + last_seen: AtomicU64, + + data: FileCacheData, + } + ++/// Archives a [`portable_atomic::AtomicU64`] as its value, like ++/// [`rkyv::with::AtomicLoad`] with [`rkyv::with::Relaxed`] does for the `std` ++/// one, so the on-disk format is the same on all targets. ++#[cfg(not(target_has_atomic = "64"))] ++struct AtomicU64LoadRelaxed; ++ ++#[cfg(not(target_has_atomic = "64"))] ++impl rkyv::with::ArchiveWith<AtomicU64> for AtomicU64LoadRelaxed { ++ type Archived = rkyv::primitive::ArchivedU64; ++ type Resolver = (); ++ ++ fn resolve_with(field: &AtomicU64, (): Self::Resolver, out: rkyv::Place<Self::Archived>) { ++ out.write(rkyv::primitive::ArchivedU64::from_native( ++ field.load(Ordering::Relaxed), ++ )); ++ } ++} ++ ++#[cfg(not(target_has_atomic = "64"))] ++impl<S: rkyv::rancor::Fallible + ?Sized> rkyv::with::SerializeWith<AtomicU64, S> ++ for AtomicU64LoadRelaxed ++{ ++ fn serialize_with(_: &AtomicU64, _: &mut S) -> std::result::Result<Self::Resolver, S::Error> { ++ Ok(()) ++ } ++} ++ ++#[cfg(not(target_has_atomic = "64"))] ++impl<D: rkyv::rancor::Fallible + ?Sized> ++ rkyv::with::DeserializeWith<rkyv::primitive::ArchivedU64, AtomicU64, D> ++ for AtomicU64LoadRelaxed ++{ ++ fn deserialize_with( ++ field: &rkyv::primitive::ArchivedU64, ++ _: &mut D, ++ ) -> std::result::Result<AtomicU64, D::Error> { ++ Ok(AtomicU64::new(field.to_native())) ++ } ++} ++ + impl FileCache { + /// Return whether or not the file in the cache was linted and found to have no diagnostics. + pub(crate) fn linted(&self) -> bool { +@@ -503,7 +553,6 @@ mod tests { + use std::io; + use std::io::Write; + use std::path::{Path, PathBuf}; +- use std::sync::atomic::AtomicU64; + use std::time::SystemTime; + + use anyhow::Result; +@@ -522,7 +571,7 @@ mod tests { + use ruff_workspace::Settings; + + use crate::cache::{self, ChangeData, FileCache, FileCacheData, FileCacheKey}; +- use crate::cache::{Cache, RelativePathBuf}; ++ use crate::cache::{AtomicU64, Cache, RelativePathBuf}; + use crate::commands::format::{FormatCommandError, FormatMode, FormatResult, format_path}; + use crate::diagnostics::{Diagnostics, lint_path}; + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.16.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb index 8afbb76183..0c3a0dec55 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.16.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ruff_0.17.3.bb @@ -4,11 +4,11 @@ HOMEPAGE = "https://docs.astral.sh/ruff/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=e679ca4f742cbfa29ab6a499529c2d39" -DEPENDS += "python3-maturin-native" +SRC_URI += "file://0001-ruff-Use-portable-atomic-for-AtomicU64-on-targets-wi.patch" -SRC_URI[sha256sum] = "13171aa9d9af2240ee3504e639de73122c67e74036de5ba2e1d01422cd17e3dc" +SRC_URI[sha256sum] = "a57049c8addb3662073859bb55a7ad35aa54f8a7c9ed268911d1333c5aadaaa9" -inherit pypi python_setuptools3_rust cargo-update-recipe-crates +inherit pypi python_maturin cargo-update-recipe-crates CARGO_SRC_DIR = "rust" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_1.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_1.0.3.bb index ff5e4c0da0..a3beddb07c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_1.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build-core_1.0.3.bb @@ -2,8 +2,6 @@ SUMMARY = "Build backend for CMake based projects" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b4e748e5f102e31c9390dcd6fa66f09" -PYPI_PACKAGE = "scikit_build_core" - DEPENDS = "python3-hatch-vcs-native" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.19.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.19.1.bb index f10e27a049..0e4a403040 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.19.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-scikit-build_0.19.1.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7c96d2b08b3cec6d3c67fb864d1fd8cc" DEPENDS = "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" -PYPI_PACKAGE = "scikit_build" - inherit pypi python_hatchling SRC_URI[sha256sum] = "b9a8d07fca2d5d10d93220bc57a685161d72af1fc76285d55c564ddaa862e584" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.0.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.1.0.bb index acac3bf3ca..45664c6be9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.0.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-semver_3.1.0.bb @@ -4,7 +4,7 @@ BUGTRACKER = "https://github.com/python-semver/python-semver" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3ce011bad2c5218ddd4973952a6db93a" -SRC_URI[sha256sum] = "afc7d8c584a5ed0a11033af086e8af226a9c0b206f313e0301f8dd7b6b589602" +SRC_URI[sha256sum] = "14bc073439513d7773662a338f4db9829cf16c12b74b9568e2d2689975fbd7fc" inherit pypi python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_2.64.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_2.73.0.bb index 5366444963..b946bafaac 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_2.64.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sentry-sdk_2.73.0.bb @@ -5,18 +5,17 @@ HOMEPAGE = "https://github.com/getsentry/sentry-python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=03dc788d9a9486be5e6a1d99c2c1ce3a" -RDEPENDS:${PN} += "\ - python3-urllib3 \ - python3-core \ - python3-json \ - python3-logging \ - python3-threading \ - python3-compression \ - python3-datetime \ +RDEPENDS:${PN} += " \ + python3-urllib3 \ + python3-core \ + python3-json \ + python3-logging \ + python3-threading \ + python3-compression \ + python3-datetime \ + python3-certifi \ " -SRC_URI[sha256sum] = "68be2c29e14ae310f8a39e1a79916b6d85c6cb41dcce789d14ff05fe293e4c55" - -PYPI_PACKAGE = "sentry_sdk" +SRC_URI[sha256sum] = "4a2ab97b16e4693c325ab361c7bbbb346dbc7d0bc0150922d795a25bac8d5280" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_26.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_26.1.0.bb index a603cb247b..e09e205474 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_26.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-service-identity_26.1.0.bb @@ -8,8 +8,6 @@ SRC_URI[sha256sum] = "6358c52882c96e66ac4a55eb3a72c7dd4a70763f8cc6fa4e70abde2656 inherit pypi python_hatchling ptest-python-pytest -PYPI_PACKAGE = "service_identity" - DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" RDEPENDS:${PN} += " \ @@ -20,6 +18,5 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-attrs \ - python3-six \ python3-pyopenssl \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setproctitle_1.3.7.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setproctitle_1.3.8.bb index 6abfcf8502..a38203819c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setproctitle_1.3.7.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setproctitle_1.3.8.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a9efff04c3ae658687dd38e20398a20d" inherit pypi setuptools3 ptest -SRC_URI[sha256sum] = "bc2bc917691c1537d5b9bca1468437176809c7e11e5694ca79a9ca12345dcb9e" +SRC_URI[sha256sum] = "cafe209d064a6efb88cb45a03e97981ff8832802b2b5d009dde0197a3b7b41c8" SRC_URI += " \ file://run-ptest \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.3.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.3.0.bb index 44a51b42fb..1eec33bdfd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.3.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.3.0.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "57a5b9bb9ad350c278e8aa6be4cdebbcd925b9ba71d6a712a178a618cf inherit pypi python_setuptools_build_meta +PYPI_PACKAGE_SDIST = "setuptools-declarative-requirements" + DEPENDS += "python3-wheel-native" DEPENDS += "python3-setuptools-scm-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb index d39fefd7f0..aa274a46f8 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.2.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://setuptools-git-versioning.readthedocs.io" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8" -SRC_URI[sha256sum] = "612dfcf184addac9e1c2216f4f229724b2390e5bf613fb925ae80b84f2529172" +SRC_URI[sha256sum] = "27aa1ad0409b632ee49947ea592cc27e16fbb2a1605cc22efeb7c353fd790b31" inherit pypi python_setuptools_build_meta @@ -16,6 +16,4 @@ RDEPENDS:${PN} += "python3-core python3-datetime python3-logging \ python3-packaging python3-pprint python3-setuptools \ python3-tomllib" -PYPI_PACKAGE = "setuptools_git_versioning" - BBCLASSEXTEND += "native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb index dcb9e64d61..28f7935139 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sijax_0.3.2.bb @@ -6,6 +6,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=16e213d75641a392478df50cf0841903" SRC_URI[sha256sum] = "11b062f4a8b2aad95c87e7c09e5daf5a6b0d0f08abf9efe5f91a0075c6be7c0d" -PYPI_PACKAGE = "Sijax" +PYPI_PACKAGE_SDIST = "Sijax" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket/0001-Async-test-improvements-for-Python-3.14-48.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket/0001-Async-test-improvements-for-Python-3.14-48.patch new file mode 100644 index 0000000000..2be661c29e --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket/0001-Async-test-improvements-for-Python-3.14-48.patch @@ -0,0 +1,422 @@ +From 03832db418f11a818051eefcd774495798b203af Mon Sep 17 00:00:00 2001 +From: Miguel Grinberg <miguel.grinberg@gmail.com> +Date: Sun, 12 Apr 2026 10:38:44 +0100 +Subject: [PATCH] Async test improvements for Python 3.14 (#48) + +Python 3.14 no longer creates an event loop in asyncio.get_event_loop(), +so the make_sync() test helper fails with "There is no current event +loop in thread 'MainThread'". Run the async tests with pytest-asyncio. + +Upstream-Status: Backport [https://github.com/miguelgrinberg/simple-websocket/commit/2005dbb96b5b42a4ebf309d10ac1d33daaddb99f] +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + tests/helpers.py | 25 ------------------------- + tests/test_aioclient.py | 39 ++++++++++++++------------------------- + tests/test_aioserver.py | 39 +++++++++++++-------------------------- + tests/test_server.py | 2 +- + 4 files changed, 28 insertions(+), 77 deletions(-) + delete mode 100644 tests/helpers.py + +diff --git a/tests/helpers.py b/tests/helpers.py +deleted file mode 100644 +index a7c1a46..0000000 +--- a/tests/helpers.py ++++ /dev/null +@@ -1,25 +0,0 @@ +-import asyncio +-from unittest import mock +- +- +-def AsyncMock(*args, **kwargs): +- """Return a mock asynchronous function.""" +- m = mock.MagicMock(*args, **kwargs) +- +- async def mock_coro(*args, **kwargs): +- return m(*args, **kwargs) +- +- mock_coro.mock = m +- return mock_coro +- +- +-def _run(coro): +- """Run the given coroutine.""" +- return asyncio.get_event_loop().run_until_complete(coro) +- +- +-def make_sync(coro): +- """Wrap a coroutine so that it can be executed by pytest.""" +- def wrapper(*args, **kwargs): +- return _run(coro(*args, **kwargs)) +- return wrapper +diff --git a/tests/test_aioclient.py b/tests/test_aioclient.py +index 01a772a..5ec12ff 100644 +--- a/tests/test_aioclient.py ++++ b/tests/test_aioclient.py +@@ -1,15 +1,14 @@ + import asyncio +-import unittest + from unittest import mock + import pytest # noqa: F401 + + from wsproto.events import AcceptConnection, CloseConnection, TextMessage, \ + BytesMessage, Ping + import simple_websocket +-from .helpers import make_sync, AsyncMock + + +-class AioSimpleWebSocketClientTestCase(unittest.TestCase): ++@pytest.mark.asyncio ++class TestAioSimpleWebSocketClient: + async def get_client(self, mock_wsconn, url, events=[], subprotocols=None, + headers=None): + mock_wsconn().events.side_effect = \ +@@ -19,11 +18,10 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + return await simple_websocket.AioClient.connect( + url, subprotocols=subprotocols, headers=headers) + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_make_client(self, mock_wsconn, mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client(mock_wsconn, 'ws://example.com/ws?a=1') +@@ -40,12 +38,11 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + assert client.port == 80 + assert client.path == '/ws?a=1' + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_make_client_subprotocol(self, mock_wsconn, + mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', +@@ -55,12 +52,11 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + b"Request(host='example.com', target='/ws?a=1', extensions=[], " + b"extra_headers=[], subprotocols=['foo'])") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_make_client_subprotocols(self, mock_wsconn, + mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', +@@ -70,12 +66,11 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + b"Request(host='example.com', target='/ws?a=1', extensions=[], " + b"extra_headers=[], subprotocols=['foo', 'bar'])") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_make_client_headers(self, mock_wsconn, + mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', +@@ -84,12 +79,11 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + b"Request(host='example.com', target='/ws?a=1', extensions=[], " + b"extra_headers=[('Foo', 'Bar')], subprotocols=[])") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_make_client_headers2(self, mock_wsconn, + mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client( +@@ -100,11 +94,10 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + b"extra_headers=[('Foo', 'Bar'), ('Foo', 'Baz')], " + b"subprotocols=[])") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_send(self, mock_wsconn, mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client(mock_wsconn, 'ws://example.com/ws') +@@ -123,11 +116,10 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + b"Message(data=b'hello', frame_finished=True, " + b"message_finished=True)") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive(self, mock_wsconn, mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client( +@@ -142,12 +134,11 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + assert await client.receive() == b'hello' + assert await client.receive(timeout=0) is None + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_after_close(self, mock_wsconn, + mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client( +@@ -160,11 +151,10 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + with pytest.raises(simple_websocket.ConnectionClosed): + await client.receive() + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_ping(self, mock_wsconn, mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) +@@ -176,11 +166,11 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + await asyncio.sleep(0.01) + wsock.write.assert_any_call(b"Pong(payload=b'hello')") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_empty(self, mock_wsconn, mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(side_effect=[b'x', b'x', b''])) ++ rsock = mock.MagicMock(read=mock.AsyncMock( ++ side_effect=[b'x', b'x', b''])) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client( +@@ -193,11 +183,10 @@ class AioSimpleWebSocketClientTestCase(unittest.TestCase): + assert await client.receive() == 'hello' + assert await client.receive(timeout=0) is None + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_close(self, mock_wsconn, mock_open_connection): +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + client = await self.get_client( +diff --git a/tests/test_aioserver.py b/tests/test_aioserver.py +index a274019..071e035 100644 +--- a/tests/test_aioserver.py ++++ b/tests/test_aioserver.py +@@ -1,15 +1,14 @@ + import asyncio +-import unittest + from unittest import mock + import pytest # noqa: F401 + + from wsproto.events import Request, CloseConnection, TextMessage, \ + BytesMessage, Ping, Pong + import simple_websocket +-from .helpers import make_sync, AsyncMock + + +-class AioSimpleWebSocketServerTestCase(unittest.TestCase): ++@pytest.mark.asyncio ++class TestAioSimpleWebSocketServer: + async def get_server(self, mock_wsconn, request, events=[], + client_subprotocols=None, server_subprotocols=None, + **kwargs): +@@ -29,12 +28,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + return await simple_websocket.AioServer.accept( + aiohttp=request, subprotocols=server_subprotocols, **kwargs) + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_aiohttp(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request) +@@ -53,19 +51,17 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + b'Sec-Websocket-Version: 13\r\n\r\n') + assert server.is_server + +- @make_sync + async def test_invalid_request(self): + with pytest.raises(ValueError): + await simple_websocket.AioServer.accept(aiohttp='foo', asgi='bar') + with pytest.raises(ValueError): + await simple_websocket.AioServer.accept(asgi='bar', sock='baz') + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_send(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request) +@@ -84,12 +80,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + b"Message(data=b'hello', frame_finished=True, " + b"message_finished=True)") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -103,13 +98,12 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + assert await server.receive() == b'hello' + assert await server.receive(timeout=0) is None + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_after_close(self, mock_wsconn, + mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -121,13 +115,12 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + with pytest.raises(simple_websocket.ConnectionClosed): + await server.receive() + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_split_messages(self, mock_wsconn, + mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -151,12 +144,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + assert await server.receive() == b'hello' + assert await server.receive(timeout=0) is None + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_ping(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -166,12 +158,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + await asyncio.sleep(0.01) + wsock.write.assert_any_call(b"Pong(payload=b'hello')") + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_empty(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -183,12 +174,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + assert await server.receive() == 'hello' + assert await server.receive(timeout=0) is None + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_receive_large(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -201,12 +191,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + assert await server.receive() == 'hello' + assert await server.receive(timeout=0) is None + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_close(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request) +@@ -222,7 +211,6 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + b'CloseConnection(code=<CloseReason.NORMAL_CLOSURE: 1000>, ' + b'reason=None)') + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + @mock.patch('simple_websocket.aiows.time') +@@ -230,7 +218,7 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + async def test_ping_pong(self, mock_wait_for, mock_time, mock_wsconn, + mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock()) ++ rsock = mock.MagicMock(read=mock.AsyncMock()) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + server = await self.get_server(mock_wsconn, mock_request, events=[ +@@ -246,12 +234,11 @@ class AioSimpleWebSocketServerTestCase(unittest.TestCase): + assert wsock.write.call_args_list[2][0][0].startswith(b'Ping') + assert wsock.write.call_args_list[3][0][0].startswith(b'Close') + +- @make_sync + @mock.patch('simple_websocket.aiows.asyncio.open_connection') + @mock.patch('simple_websocket.aiows.WSConnection') + async def test_subprotocols(self, mock_wsconn, mock_open_connection): + mock_request = mock.MagicMock(headers={}) +- rsock = mock.MagicMock(read=AsyncMock(return_value=b'x')) ++ rsock = mock.MagicMock(read=mock.AsyncMock(return_value=b'x')) + wsock = mock.MagicMock() + mock_open_connection.return_value = (rsock, wsock) + +diff --git a/tests/test_server.py b/tests/test_server.py +index 7be5d15..ca5fe99 100644 +--- a/tests/test_server.py ++++ b/tests/test_server.py +@@ -92,7 +92,7 @@ class SimpleWebSocketServerTestCase(unittest.TestCase): + b"message_finished=True)") + server.connected = True + server.send(b'hello') +- mock_socket.send.assert_called_with( ++ mock_socket.send.assert_any_call( + b"Message(data=b'hello', frame_finished=True, " + b"message_finished=True)") + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket/0002-Removed-net-access-requirement-in-client-unit-tests.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket/0002-Removed-net-access-requirement-in-client-unit-tests.patch new file mode 100644 index 0000000000..7266ee57f3 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket/0002-Removed-net-access-requirement-in-client-unit-tests.patch @@ -0,0 +1,141 @@ +From 159e030c7c23060de989cebec6d98d776c75bcbd Mon Sep 17 00:00:00 2001 +From: Miguel Grinberg <miguel.grinberg@gmail.com> +Date: Sun, 13 Oct 2024 15:11:39 +0100 +Subject: [PATCH] Removed net access requirement in client unit tests (Fixes + #40) + +Upstream-Status: Backport [https://github.com/miguelgrinberg/simple-websocket/commit/159e030c7c23060de989cebec6d98d776c75bcbd] +Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> +--- + tests/test_client.py | 34 +++++++++++++++++----------------- + 1 file changed, 17 insertions(+), 17 deletions(-) + +diff --git a/tests/test_client.py b/tests/test_client.py +index d986520..898b423 100644 +--- a/tests/test_client.py ++++ b/tests/test_client.py +@@ -22,16 +22,16 @@ def get_client(self, mock_wsconn, url, events=[], subprotocols=None, + @mock.patch('simple_websocket.ws.WSConnection') + def test_make_client(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws?a=1') ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws?a=1') + assert client.sock == mock_socket() + assert client.receive_bytes == 4096 + assert client.input_buffer == [] + assert client.event.__class__.__name__ == 'Event' + client.sock.send.assert_called_with( +- b"Request(host='example.com', target='/ws?a=1', extensions=[], " ++ b"Request(host='localhost', target='/ws?a=1', extensions=[], " + b"extra_headers=[], subprotocols=[])") + assert not client.is_server +- assert client.host == 'example.com' ++ assert client.host == 'localhost' + assert client.port == 80 + assert client.path == '/ws?a=1' + +@@ -39,42 +39,42 @@ def test_make_client(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_make_client_subprotocol(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws?a=1', + subprotocols='foo') + assert client.subprotocols == ['foo'] + client.sock.send.assert_called_with( +- b"Request(host='example.com', target='/ws?a=1', extensions=[], " ++ b"Request(host='localhost', target='/ws?a=1', extensions=[], " + b"extra_headers=[], subprotocols=['foo'])") + + @mock.patch('simple_websocket.ws.socket.socket') + @mock.patch('simple_websocket.ws.WSConnection') + def test_make_client_subprotocols(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws?a=1', + subprotocols=['foo', 'bar']) + assert client.subprotocols == ['foo', 'bar'] + client.sock.send.assert_called_with( +- b"Request(host='example.com', target='/ws?a=1', extensions=[], " ++ b"Request(host='localhost', target='/ws?a=1', extensions=[], " + b"extra_headers=[], subprotocols=['foo', 'bar'])") + + @mock.patch('simple_websocket.ws.socket.socket') + @mock.patch('simple_websocket.ws.WSConnection') + def test_make_client_headers(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws?a=1', + headers={'Foo': 'Bar'}) + client.sock.send.assert_called_with( +- b"Request(host='example.com', target='/ws?a=1', extensions=[], " ++ b"Request(host='localhost', target='/ws?a=1', extensions=[], " + b"extra_headers=[('Foo', 'Bar')], subprotocols=[])") + + @mock.patch('simple_websocket.ws.socket.socket') + @mock.patch('simple_websocket.ws.WSConnection') + def test_make_client_headers2(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws?a=1', ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws?a=1', + headers=[('Foo', 'Bar'), ('Foo', 'Baz')]) + client.sock.send.assert_called_with( +- b"Request(host='example.com', target='/ws?a=1', extensions=[], " ++ b"Request(host='localhost', target='/ws?a=1', extensions=[], " + b"extra_headers=[('Foo', 'Bar'), ('Foo', 'Baz')], " + b"subprotocols=[])") + +@@ -82,7 +82,7 @@ def test_make_client_headers2(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_send(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws') ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws') + while client.connected: + time.sleep(0.01) + with pytest.raises(simple_websocket.ConnectionClosed): +@@ -102,7 +102,7 @@ def test_send(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_receive(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws', events=[ ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws', events=[ + [TextMessage('hello')], + [BytesMessage(b'hello')], + ]) +@@ -117,7 +117,7 @@ def test_receive(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_receive_after_close(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws', events=[ ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws', events=[ + [TextMessage('hello')], + ]) + while client.connected: +@@ -130,7 +130,7 @@ def test_receive_after_close(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_receive_ping(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws', events=[ ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws', events=[ + [Ping(b'hello')], + ]) + while client.connected: +@@ -141,7 +141,7 @@ def test_receive_ping(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_receive_empty(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.side_effect = [b'x', b'x', b''] +- client = self.get_client(mock_wsconn, 'ws://example.com/ws', events=[ ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws', events=[ + [TextMessage('hello')], + ]) + while client.connected: +@@ -154,7 +154,7 @@ def test_receive_empty(self, mock_wsconn, mock_socket): + @mock.patch('simple_websocket.ws.WSConnection') + def test_close(self, mock_wsconn, mock_socket): + mock_socket.return_value.recv.return_value = b'x' +- client = self.get_client(mock_wsconn, 'ws://example.com/ws') ++ client = self.get_client(mock_wsconn, 'ws://localhost/ws') + while client.connected: + time.sleep(0.01) + with pytest.raises(simple_websocket.ConnectionClosed): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket_1.1.0.bb new file mode 100644 index 0000000000..2438495dd3 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simple-websocket_1.1.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "Simple WebSocket server and client for Python" +HOMEPAGE = "https://github.com/miguelgrinberg/simple-websocket" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=9d272c9fe2437531b5bbecf4fcc82e24" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +SRC_URI += "file://0001-Async-test-improvements-for-Python-3.14-48.patch \ + file://0002-Removed-net-access-requirement-in-client-unit-tests.patch \ + " +SRC_URI[sha256sum] = "7939234e7aa067c534abdab3a9ed933ec9ce4691b0713c78acb195560aa52ae4" + +RDEPENDS:${PN} += " \ + python3-asyncio \ + python3-io \ + python3-wsproto \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest-asyncio \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.7.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.8.bb index a4fa42ba28..9af99be801 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.7.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.8.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/simpleeval/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=aed013161b2a0bfa75e69eeb4e8a89e7" -SRC_URI[sha256sum] = "1e10e5f9fec597814444e20c0892ed15162fa214c8a88f434b5b077cf2fef85b" +SRC_URI[sha256sum] = "b417f869c11f2de034eb919820a825f35d12ce99f63a43971947ce73679eb9ba" CVE_PRODUCT = "danthedeckie:simpleeval" @@ -16,5 +16,6 @@ RDEPENDS:${PN} += " \ " do_install_ptest:append() { - cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ } diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_4.1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_4.2.0.bb index 0c3c79927d..1f9ba284cd 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_4.1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-simplejson_4.2.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://cheeseshop.python.org/pypi/simplejson" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c6338d7abd321c0b50a2a547e441c52e" -SRC_URI[sha256sum] = "6ae4186f90362e9c03c80a1cd5062a20f3a11ac9d391f7ee0ef0701a0e2b7394" +SRC_URI[sha256sum] = "55b121b70a560f4610bd3a355ab2015aca4f39978f6a82353f24d2013fe85861" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-six_1.17.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-six_1.17.0.bb new file mode 100644 index 0000000000..ca120e0308 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-six_1.17.0.bb @@ -0,0 +1,23 @@ +inherit setuptools3 ptest-python-pytest +require python-six.inc + +SRC_URI[sha256sum] = "ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81" + +PTEST_PYTEST_DIR = "." + +# test_six.py exercises the six.moves mappings, which import these stdlib +# modules that are packaged separately in oe-core. +RDEPENDS:${PN}-ptest += " \ + python3-html \ + python3-netclient \ + python3-xmlrpc \ +" + +do_install_ptest:append() { + # six ships its test at the sdist root; keep only test_six.py plus the + # generated run-ptest, and drop the packaged library sources / bytecode. + rm -f ${D}${PTEST_PATH}/six.py + rm -f ${D}${PTEST_PATH}/setup.py ${D}${PTEST_PATH}/setup.cfg ${D}${PTEST_PATH}/MANIFEST.in + rm -f ${D}${PTEST_PATH}/CHANGES ${D}${PTEST_PATH}/README.rst ${D}${PTEST_PATH}/PKG-INFO ${D}${PTEST_PATH}/LICENSE + rm -rf ${D}${PTEST_PATH}/build ${D}${PTEST_PATH}/documentation ${D}${PTEST_PATH}/six.egg-info ${D}${PTEST_PATH}/__pycache__ +} diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/0002-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/0002-drop-the-six-dependency.patch new file mode 100644 index 0000000000..dcf9239e70 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus/0002-drop-the-six-dependency.patch @@ -0,0 +1,81 @@ +From 42fb66d5ed4a713ce82356cbd00f1f0a40676e1c Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:23:21 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and slip does not need it on +Python 3: six.with_metaclass is the metaclass keyword argument in the +class statement. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + slip/dbus/introspection.py | 3 +-- + slip/dbus/service.py | 3 +-- + slip/util/hookable.py | 3 +-- + 3 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/slip/dbus/introspection.py b/slip/dbus/introspection.py +index 07eb8a7..83dc7e0 100644 +--- a/slip/dbus/introspection.py ++++ b/slip/dbus/introspection.py +@@ -26,7 +26,6 @@ from __future__ import absolute_import + + from xml.etree.ElementTree import ElementTree + from io import StringIO +-from six import with_metaclass + + + class IElemMeta(type): +@@ -73,7 +72,7 @@ class IElemMeta(type): + return kls + + +-class IElem(with_metaclass(IElemMeta, object)): ++class IElem(object, metaclass=IElemMeta): + """Base class for introspection elements.""" + + def __new__(cls, elem, parent=None): +diff --git a/slip/dbus/service.py b/slip/dbus/service.py +index 5d276f8..6a795d6 100644 +--- a/slip/dbus/service.py ++++ b/slip/dbus/service.py +@@ -27,7 +27,6 @@ from __future__ import absolute_import + + import dbus + import dbus.service +-from six import with_metaclass + + from .._wrappers import _glib as GLib + +@@ -182,7 +181,7 @@ class InterfaceType(dbus.service.InterfaceType): + return super(InterfaceType, cls).__new__(cls, name, bases, dct) + + +-class Object(with_metaclass(InterfaceType, dbus.service.Object)): ++class Object(dbus.service.Object, metaclass=InterfaceType): + + # timeout & persistence + +diff --git a/slip/util/hookable.py b/slip/util/hookable.py +index 89c7392..41d1688 100644 +--- a/slip/util/hookable.py ++++ b/slip/util/hookable.py +@@ -24,7 +24,6 @@ + hooks on changes.""" + + import collections.abc +-from six import with_metaclass + + __all__ = ["Hookable", "HookableSet"] + +@@ -121,7 +120,7 @@ class _HookEntry(object): + self.__hook(*self.__args, **self.__kwargs) + + +-class Hookable(with_metaclass(HookableType, object)): ++class Hookable(object, metaclass=HookableType): + + """An object which calls registered hooks on changes.""" + diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb index b706db8d49..99d2f9b7e1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-slip-dbus_0.6.5.bb @@ -17,6 +17,7 @@ SRCNAME = "python-slip" SRC_URI = "https://github.com/nphilipp/${SRCNAME}/releases/download/${SRCNAME}-${PV}/${SRCNAME}-${PV}.tar.bz2 \ file://9b939c0b534c1b7958fa0a3c7aedf30bca910431.patch \ file://0001-setup.py-Use-setuptools-instead-of-distutils.patch \ + file://0002-drop-the-six-dependency.patch \ " SRC_URI[sha256sum] = "c726c086f0dd93a0ac7a0176f383a12af91b6657b78a301e3f5b25d9f8d4d10b" @@ -26,9 +27,6 @@ do_compile:prepend() { sed -e 's/@VERSION@/${PV}/g' ${S}/setup.py.in > ${S}/setup.py } -RDEPENDS:${PN} += "\ - python3-six \ -" # http://errors.yoctoproject.org/Errors/Details/184713/ # python-native/python: can't open file 'setup.py': [Errno 2] No such file or directory CLEANBROKEN = "1" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus/0001-Use-setuptools-as-distutils-is-deprecated.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus/0001-Use-setuptools-as-distutils-is-deprecated.patch deleted file mode 100644 index 6aafd6a952..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus/0001-Use-setuptools-as-distutils-is-deprecated.patch +++ /dev/null @@ -1,25 +0,0 @@ -Upstream-Status: Submitted [https://lore.kernel.org/linux-i2c/20220114134910.3994688-1-ross.burton@arm.com/T/#u] -Signed-off-by: Ross Burton <ross.burton@arm.com> - -From fa522a9a390b1857a58ec1f55da1465c542fd106 Mon Sep 17 00:00:00 2001 -From: Ross Burton <ross.burton@arm.com> -Date: Fri, 14 Jan 2022 13:38:34 +0000 -Subject: [PATCH] Use setuptools as distutils is deprecated - -Signed-off-by: Ross Burton <ross.burton@arm.com> ---- - py-smbus/setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/py-smbus/setup.py b/py-smbus/setup.py -index 28a4500..26db33a 100644 ---- a/py-smbus/setup.py -+++ b/py-smbus/setup.py -@@ -1,6 +1,6 @@ - #!/usr/bin/env python - --from distutils.core import setup, Extension -+from setuptools import setup, Extension - - setup( name="smbus", - version="1.1", diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.4.bb index 4eb2037c5b..f47a9e9c27 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smbus_4.4.bb @@ -1,11 +1,9 @@ SUMMARY = "Set of i2c tools for linux - Python module" LICENSE = "GPL-2.0-only" -LIC_FILES_CHKSUM = "file://py-smbus/smbusmodule.c;beginline=1;endline=18;md5=46e424fb045901ab25e0f92c28c80055" +LIC_FILES_CHKSUM = "file://py-smbus/smbusmodule.c;beginline=1;endline=13;md5=66de33a36142d8c0e706898f7d05b3fd" -SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz \ - file://0001-Use-setuptools-as-distutils-is-deprecated.patch \ - " -SRC_URI[sha256sum] = "eec464e42301d93586cbeca3845ed61bff40f560670e5b35baec57301d438148" +SRC_URI = "${KERNELORG_MIRROR}/software/utils/i2c-tools/i2c-tools-${PV}.tar.gz" +SRC_URI[sha256sum] = "04d1e3b0cd88df8fb96e7709f374dd0b3561191b4c0363eaf873a074b8b7cb22" DEPENDS += "i2c-tools" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..0423fdc455 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib/0001-drop-the-six-dependency.patch @@ -0,0 +1,124 @@ +From ebb5d702a7bff096a75280b1709f5e061857b7d4 Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:24:42 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and smpplib does not need it on +Python 3: six.iteritems is dict.items, six.int2byte is bytes of a single +value and six.b encodes as latin-1. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + setup.py | 1 - + smpplib/command.py | 8 +++----- + smpplib/command_codes.py | 4 +--- + smpplib/gsm.py | 8 +++----- + 4 files changed, 7 insertions(+), 14 deletions(-) + +diff --git a/setup.py b/setup.py +index b12fc31..b3ef37e 100644 +--- a/setup.py ++++ b/setup.py +@@ -16,7 +16,6 @@ setup( + url='https://github.com/python-smpplib/python-smpplib', + description='SMPP library for python', + packages=find_packages(), +- install_requires=['six'], + extras_require=dict( + tests=('typing; python_version < "3.5"', 'pytest', 'mock'), + ), +diff --git a/smpplib/command.py b/smpplib/command.py +index bde5840..40fcac7 100644 +--- a/smpplib/command.py ++++ b/smpplib/command.py +@@ -22,8 +22,6 @@ + import logging + import struct + +-import six +- + from smpplib import consts, exceptions, pdu + from smpplib.ptypes import flag, ostr + +@@ -64,7 +62,7 @@ def get_optional_name(code): + """Return optional_params name by given code. If code is unknown, raise + UnkownCommandError exception""" + +- for key, value in six.iteritems(consts.OPTIONAL_PARAMS): ++ for key, value in consts.OPTIONAL_PARAMS.items(): + if value == code: + return key + +@@ -106,7 +104,7 @@ class Command(pdu.PDU): + + def _set_vars(self, **kwargs): + """set attributes accordingly to kwargs""" +- for key, value in six.iteritems(kwargs): ++ for key, value in kwargs.items(): + if not hasattr(self, key) or getattr(self, key) is None: + setattr(self, key, value) + +@@ -179,7 +177,7 @@ class Command(pdu.PDU): + value = chr(0) + + setattr(self, field, field_value) +- return six.b(value) ++ return value.encode('latin-1') + + def _generate_ostring(self, field): + """Generate octet string value (no null terminator)""" +diff --git a/smpplib/command_codes.py b/smpplib/command_codes.py +index eab6868..a0fc53e 100644 +--- a/smpplib/command_codes.py ++++ b/smpplib/command_codes.py +@@ -1,5 +1,3 @@ +-import six +- + from smpplib import exceptions + + # +@@ -42,7 +40,7 @@ def get_command_name(code): + If code is unknown, raise UnknownCommandError exception. + """ + +- for key, value in six.iteritems(commands): ++ for key, value in commands.items(): + if value == code: + return key + +diff --git a/smpplib/gsm.py b/smpplib/gsm.py +index 9d70f98..77c6d0e 100644 +--- a/smpplib/gsm.py ++++ b/smpplib/gsm.py +@@ -1,8 +1,6 @@ + # -*- coding: utf8 -*- + import random + +-import six +- + from smpplib import consts, exceptions + + +@@ -55,7 +53,7 @@ def gsm_encode(plaintext): + """Performs default GSM 7-bit encoding. Beware it's vendor-specific and not recommended for use.""" + try: + return b''.join( +- six.int2byte(index) if index < 0x80 else b'\x1B' + six.int2byte(index - 0x80) ++ bytes((index,)) if index < 0x80 else b'\x1B' + bytes((index - 0x80,)) + for index in map(GSM_CHARACTER_TABLE.index, plaintext) + ) + except ValueError: +@@ -78,9 +76,9 @@ def make_parts_encoded(encoded_text, part_size): + raise exceptions.MessageTooLong() + + uid = random.randint(0, 255) +- header = b''.join((b'\x05\x00\x03', six.int2byte(uid), six.int2byte(len(chunks)))) ++ header = b''.join((b'\x05\x00\x03', bytes((uid,)), bytes((len(chunks),)))) + +- return [b''.join((header, six.int2byte(i), chunk)) for i, chunk in enumerate(chunks, start=1)] ++ return [b''.join((header, bytes((i,)), chunk)) for i, chunk in enumerate(chunks, start=1)] + + + def split_sequence(sequence, part_size): diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb index e65259a053..f06a71f4f6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-smpplib_2.2.4.bb @@ -3,13 +3,13 @@ SECTION = "devel/python" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "6f3b036fcb2643c1b7a3289bb5ac4c9a720af1bf73e572e2729db6b5d800c273" inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-logging \ - python3-six \ " RDEPENDS:${PN}-ptest += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_3.0.1.bb index 74e6df64a9..2e86094d4e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_3.0.1.bb @@ -3,7 +3,7 @@ SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific too LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI[sha256sum] = "9800562936d21972a212e8e7c6f0f79eff8faf7f1bfb534675875bd06666f28c" +SRC_URI[sha256sum] = "280003da631bb47434d1d5428e713524d6cf8a5ee049ebc5990363af3721dd05" inherit pypi python_setuptools_build_meta @@ -13,7 +13,6 @@ RDEPENDS:${PN} += " \ python3-pyusb \ python3-pyyaml \ python3-setuptools \ - python3-six \ " do_install:append() { diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb index bd0979d0b4..4a3e7bc832 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-snappy_0.6.1.bb @@ -9,5 +9,6 @@ SRC_URI[sha256sum] = "b6a107ab06206acc5359d4c5632bd9b22d448702a79b3169b0c62e0fb8 inherit pypi setuptools3 PYPI_PACKAGE = "python-snappy" +PYPI_PACKAGE_SDIST = "python-snappy" RDEPENDS:${PN} += "snappy" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_5.16.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_5.18.1.bb index 83131b26cb..653760cd17 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_5.16.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-socketio_5.18.1.bb @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=42d0a9e728978f0eeb759c3be91536b8" inherit pypi python_setuptools_build_meta -PYPI_PACKAGE = "python_socketio" +PYPI_PACKAGE = "python-socketio" -SRC_URI[sha256sum] = "f7fa4a43cc8e687930b5c6e44d6e2efc2071eca4bef49b8bb3dc0827f7f92235" +SRC_URI[sha256sum] = "07ab0e7c94a52833a67af1dc05958ad6fb0de69adc87de9198a61b22588c40d4" PACKAGECONFIG ?= "asyncio_client client" PACKAGECONFIG[asyncio_client] = ",,,python3-aiohttp python3-websockets" @@ -22,7 +22,6 @@ RDEPENDS:${PN} += "\ python3-pickle \ python3-json \ python3-threading \ - python3-six \ python3-attrs \ python3-bidict \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.9.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_4.0.bb index e1c329d867..4ada8e4237 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.9.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_4.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/facelessuser/soupsieve" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=74851a2f1e5c07496dcb452af6a6bf54" -SRC_URI[sha256sum] = "4a55d8cf158a9c2e587fa4922f1bbb91d68ac829e2d6f25403a85747c71daf74" +SRC_URI[sha256sum] = "ccd6470b256394ac44b08b86fd94b30a17d335a5335c8a3d15565f7b03d3c8cf" inherit pypi python_hatchling ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.3.bb index 472113b059..a2407d0ad4 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-speedtest-cli_2.1.3.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "5e2773233cedb5fa3d8120eb7f97bcc4974b5221b254d33ff16e2f1d41 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "speedtest-cli" + RDEPENDS:${PN} += " \ python3-misc \ python3-threading \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.52.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.54.bb index 09aa59dbff..ce9553f02c 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.52.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.54.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://www.sqlalchemy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=53a9111717b305b0fae0d704a24925c3" -SRC_URI[sha256sum] = "5e2d46356ac2ccb7d268ab6c2319ac6a2b42f1b8d5fd8bd3d46855cd82abee97" +SRC_URI[sha256sum] = "baa8521e8ee9f24e75dfc7aaabc08020e551ef0d48d7c3e3536f5cddf277586b" inherit pypi python_setuptools_build_meta cython diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb index c5667d34b7..b6f435946d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stack-data_0.6.3.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a3d6c15f7859ae235a78f2758e5a48cf" DEPENDS = "python3-setuptools-scm-native" -PYPI_PACKAGE = "stack_data" - inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_1.6.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_1.10.0.bb index 45ba3a5311..d8d19053c6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_1.6.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_1.10.0.bb @@ -2,7 +2,7 @@ SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a" -SRC_URI[sha256sum] = "d4e3ac5e546444960c710297a3c9fc3f7ebae1b7e963f3d36173b49da535be9b" +SRC_URI[sha256sum] = "b8399098d4c1e3522734f7235dc79b1fc967f96cf139c81e0fa30479e0685f9b" inherit pypi python_hatchling ptest @@ -30,6 +30,9 @@ RDEPENDS:${PN}-ptest += " \ python3-unittest-automake-output \ python3-pyyaml \ python3-httpx2 \ + python3-opentelemetry-api \ + python3-opentelemetry-sdk \ + python3-opentelemetry-semantic-conventions \ " do_install_ptest() { diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stdnum_2.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stdnum_2.2.bb new file mode 100644 index 0000000000..8753a5996a --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-stdnum_2.2.bb @@ -0,0 +1,24 @@ +SUMMARY = "Python module to handle standardized numbers and codes" +HOMEPAGE = "https://arthurdejong.org/python-stdnum/" +LICENSE = "LGPL-2.0-or-later AND LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" + +SRC_URI[sha256sum] = "e95fcfa858a703d4a40130cb3eaac133c60d8808a7f3c98efeedac968c2479b9" + +PYPI_PACKAGE = "python-stdnum" + +inherit pypi setuptools3 + +PACKAGECONFIG[soap] = ",,,python3-zeep" + +RDEPENDS:${PN} += " \ + python3-core \ + python3-crypt \ + python3-datetime \ + python3-io \ + python3-json \ + python3-lxml \ + python3-numbers \ + python3-pydoc \ + python3-requests \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb index cbe7fcc215..7dccd048c7 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-strenum_0.4.15.bb @@ -9,6 +9,6 @@ DEPENDS = "python3-pytest-runner-native" SRC_URI[sha256sum] = "878fb5ab705442070e4dd1929bb5e2249511c0bcf2b0eeacf3bcd80875c82eff" -PYPI_PACKAGE = "StrEnum" +PYPI_PACKAGE_SDIST = "StrEnum" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-svglib_2.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-svglib_2.3.3.bb index 2144ae52dd..9f47ffe581 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-svglib_2.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-svglib_2.3.3.bb @@ -8,11 +8,17 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b52f2d57d10c4f7ee67a7eb9615d5d24" CVE_PRODUCT = "svglib" -SRC_URI[sha256sum] = "455e473dbe7066eea55c39de8194a6a3b646b6c37a255700257fd32115ddb218" +SRC_URI[sha256sum] = "1aef52f3dc651416119b55716e673995d2c9f90c86a07df0b2bcf6de26c7e0ff" inherit pypi python_hatchling BBCLASSEXTEND = "native nativesdk" -RDEPENDS:${PN} = "python3-pillow python3-html python3-cssselect2 python3-webencodings \ - python3-lxml" +RDEPENDS:${PN} = " \ + python3-pillow \ + python3-html \ + python3-cssselect2 \ + python3-webencodings \ + python3-lxml \ + python3-reportlab \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_235.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_235.bb index 269e175cc5..6ff74401d3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_235.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-systemd_235.bb @@ -3,8 +3,9 @@ HOMEPAGE = "https://github.com/systemd/python-systemd" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" - PYPI_PACKAGE = "systemd-python" +PYPI_PACKAGE_SDIST = "systemd-python" + SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch" SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-telnetlib3_5.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-telnetlib3_5.0.1.bb index 45956d7154..2642f08c88 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-telnetlib3_5.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-telnetlib3_5.0.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jquast/telnetlib3" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=15abe157ad6f0b483975cc34bcc1aa99" -SRC_URI[sha256sum] = "b5387d811a270b98698081083a7843530c44765c0a023e3cab6fe8d81f8a2c73" +SRC_URI[sha256sum] = "6fde197ffb71cf26ad27fe2c88694d8364f4b1cc962a37762e0cf7e79b9afaed" inherit pypi python_setuptools_build_meta python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-texttable_1.7.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-texttable_1.7.2.bb index 56448f738e..6815554d00 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-texttable_1.7.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-texttable_1.7.2.bb @@ -5,6 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7a97cdac2d9679ffdcfef3dc036d24f6" inherit pypi setuptools3 -SRC_URI[sha256sum] = "2d2068fb55115807d3ac77a4ca68fa48803e84ebb0ee2340f858107a36522638" +SRC_URI[sha256sum] = "dc16ea6b35fbf5291ba6ef79d79e37d9b3ca6acd7bae3ca3450488d7c2e19c99" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb index 450214a7a4..9b2dd8617d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb @@ -8,8 +8,6 @@ PYPI_SRC_URI = "git://github.com/adamchainz/time-machine;protocol=https;branch=m inherit pypi python_setuptools_build_meta ptest-python-pytest -PYPI_PACKAGE = "time_machine" - RDEPENDS:${PN} += "\ python3-tzdata \ python3-unittest \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb index ec80ef8ed6..8507f497f0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb @@ -10,8 +10,6 @@ inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += "python3-core" -PYPI_PACKAGE = "tokenize_rt" - do_install_ptest:append() { install -d ${D}${PTEST_PATH}/testing/resources cp -rf ${S}/testing/resources/* ${D}${PTEST_PATH}/testing/resources/ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli_2.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli_2.5.0.bb index b95d208a82..73248ca434 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli_2.4.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomli_2.5.0.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" inherit pypi python_flit_core -SRC_URI[sha256sum] = "7c7e1a961a0b2f2472c1ac5b69affa0ae1132c39adcb67aba98568702b9cc23f" +SRC_URI[sha256sum] = "264507556cd8b8c8e7c6ee037cdf443a463f03f4c958e57195e3d369711b8ff6" BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.15.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.15.1.bb deleted file mode 100644 index b0c51f21c5..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tomlkit_0.15.1.bb +++ /dev/null @@ -1,21 +0,0 @@ -SUMMARY = "Style preserving TOML library" -HOMEPAGE = "https://pypi.org/project/tomlkit/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" - -SRC_URI[sha256sum] = "e25bbf38843005246210a12982776f27f99cb9be67160e14434d0c0d21ee1e97" - -inherit pypi python_poetry_core ptest-python-pytest - -RDEPENDS:${PN} += " \ - python3-datetime \ - python3-profile \ - python3-stringold \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-poetry-core \ - python3-pyyaml \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-toolz_1.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-toolz_1.2.0.bb index ec0e02cde7..892bb38276 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-toolz_1.1.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-toolz_1.2.0.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=ca09cab178326d18433aae982d1edf5d" -SRC_URI[sha256sum] = "27a5c770d068c110d9ed9323f24f1543e83b2f300a687b7891c1a6d56b697b5b" +SRC_URI[sha256sum] = "9667a038e9d6ecba37995e26cb2f59ec6420b6ad8dd9677de59db9b956b08490" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.5.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.6.bb index 0f5509536d..440a00ab63 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.5.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tornado_6.6.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://www.tornadoweb.org/en/stable/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "9452e1b208a8bd771e2cb1f2ff564985b9b214bdebbe622793e1799e0a6bd23f" +SRC_URI[sha256sum] = "34c4aa916d7f2b2d5cadee2c6850f5a4a7f3d688cbf58399ea9bd3057af4abd5" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.61.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.67.1.bb index 45584298b5..f6c33af82e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.61.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tox_4.67.1.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://tox.readthedocs.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" -SRC_URI[sha256sum] = "463b6eeaaf0929d60b4f7a87b26f4a7a764fe9832a74bf50b4e9d259b6a8e905" +SRC_URI[sha256sum] = "a68602f64421b199016127364ee47347b958391d19c2b2e53fe95673a8fe98e9" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.69.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.70.1.bb index ed2b0b5d0c..1f1cb72850 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.69.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tqdm_4.70.1.bb @@ -5,7 +5,7 @@ SECTION = "devel/python" LICENSE = "MIT AND MPL-2.0" LIC_FILES_CHKSUM = "file://LICENCE;md5=9a9bed097dea538bf341c8623c8f8852" -SRC_URI[sha256sum] = "2be21080a0ce17e902c2f1baeb6a74bf551b67bbdfa4bc0109fad471d0b4cb0d" +SRC_URI[sha256sum] = "cefd0eca11b2a37a3aee776544d4f4ae913f02688135b5556b8788dfa474afc4" CVE_PRODUCT = "tqdm" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trafaret-config_2.0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trafaret-config_2.0.2.bb index d7a987aa3b..97f24f4d6d 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trafaret-config_2.0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trafaret-config_2.0.2.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "440b6b49e5e975f9a640a2519abb2feddd96eb2aeb1715f87f947a7a07 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "trafaret-config" + RDEPENDS:${PN} += " \ python3-trafaret \ python3-pyyaml \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-traitlets_5.15.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-traitlets_5.16.1.bb index 2bb28a589c..349db5aa02 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-traitlets_5.15.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-traitlets_5.16.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/ipython/traitlets" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=13bed0ee6f46a6f6dbf1f9f9572f250a" -SRC_URI[sha256sum] = "7b1c07854fe25acb39e009bae49f11b79ff6cbb2f27999104e9110e7a6b53722" +SRC_URI[sha256sum] = "ed900c2b631aa3a112811139fa97b8d2c3bad5e989656bba4b7e52c7852c18c1" inherit pypi python_hatchling ptest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..a9011565ab --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions/0001-drop-the-six-dependency.patch @@ -0,0 +1,237 @@ +From 28d8f0047b18afc5b9a9822c548fb20cc676b97b Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:06:58 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim. string_types, iteritems and +add_metaclass have direct Python 3 equivalents, so the state machine +keeps its behaviour without the dependency. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + requirements.txt | 1 - + setup.py | 3 +-- + transitions/core.py | 5 ++--- + transitions/extensions/diagrams_base.py | 4 +--- + transitions/extensions/factory.py | 3 +-- + transitions/extensions/markup.py | 7 +++---- + transitions/extensions/nesting.py | 19 +++++++++---------- + 7 files changed, 17 insertions(+), 25 deletions(-) + +diff --git a/requirements.txt b/requirements.txt +index ffe2fce..e69de29 100644 +--- a/requirements.txt ++++ b/requirements.txt +@@ -1 +0,0 @@ +-six +diff --git a/setup.py b/setup.py +index 680e12a..2c9932a 100644 +--- a/setup.py ++++ b/setup.py +@@ -43,8 +43,7 @@ setup( + "transitions.tests": ["data/*"], + }, + include_package_data=True, +- install_requires=["six"], +- extras_require=extras_require, ++ extras_require=extras_require, + tests_require=tests_require, + license="MIT", + download_url="https://github.com/pytransitions/transitions/archive/%s.tar.gz" +diff --git a/transitions/core.py b/transitions/core.py +index 8eaa3dc..42f3c1a 100644 +--- a/transitions/core.py ++++ b/transitions/core.py +@@ -31,7 +31,6 @@ import warnings + + from collections import OrderedDict, defaultdict, deque + from functools import partial +-from six import string_types + + _LOGGER = logging.getLogger(__name__) + _LOGGER.addHandler(logging.NullHandler()) +@@ -838,7 +837,7 @@ class Machine(object): + states = listify(states) + + for state in states: +- if isinstance(state, (string_types, Enum)): ++ if isinstance(state, (str, Enum)): + state = self._create_state( + state, on_enter=on_enter, on_exit=on_exit, + ignore_invalid_triggers=ignore, **kwargs) +@@ -1205,7 +1204,7 @@ class Machine(object): + Returns: + callable function resolved from string or func + """ +- if isinstance(func, string_types): ++ if isinstance(func, str): + try: + func = getattr(event_data.model, func) + if not callable(func): # if a property or some other not callable attribute was passed +diff --git a/transitions/extensions/diagrams_base.py b/transitions/extensions/diagrams_base.py +index e97bd06..6ead5c6 100644 +--- a/transitions/extensions/diagrams_base.py ++++ b/transitions/extensions/diagrams_base.py +@@ -8,14 +8,12 @@ + import copy + import abc + import logging +-import six + + _LOGGER = logging.getLogger(__name__) + _LOGGER.addHandler(logging.NullHandler()) + + +-@six.add_metaclass(abc.ABCMeta) +-class BaseGraph(object): ++class BaseGraph(object, metaclass=abc.ABCMeta): + """Provides the common foundation for graphs generated either with pygraphviz or graphviz. This abstract class + should not be instantiated directly. Use .(py)graphviz.(Nested)Graph instead. + Attributes: +diff --git a/transitions/extensions/factory.py b/transitions/extensions/factory.py +index e56541c..83b2f19 100644 +--- a/transitions/extensions/factory.py ++++ b/transitions/extensions/factory.py +@@ -9,7 +9,6 @@ + + from functools import partial + import itertools +-from six import iteritems + + from ..core import Machine, Transition + +@@ -78,7 +77,7 @@ class LockedGraphMachine(GraphMachine, LockedMachine): + ", ".join(itertools.chain( + (str(_) for _ in func.args[1:]), + ("%s=%s" % (key, value) +- for key, value in iteritems(func.keywords if func.keywords else {}))))) ++ for key, value in (func.keywords if func.keywords else {}).items())))) + return GraphMachine.format_references(func) + + +diff --git a/transitions/extensions/markup.py b/transitions/extensions/markup.py +index 6961826..f974589 100644 +--- a/transitions/extensions/markup.py ++++ b/transitions/extensions/markup.py +@@ -12,7 +12,6 @@ import importlib + import itertools + import numbers + +-from six import string_types, iteritems + + try: + # Enums are supported for Python 3.4+ and Python 2.7 with enum34 package installed +@@ -143,7 +142,7 @@ class MarkupMachine(Machine): + ", ".join(itertools.chain( + (str(_) for _ in func.args), + ("%s=%s" % (key, value) +- for key, value in iteritems(func.keywords if func.keywords else {}))))) ++ for key, value in (func.keywords if func.keywords else {}).items())))) + return str(func) + + def _convert_states_and_transitions(self, root): +@@ -236,7 +235,7 @@ class HierarchicalMarkupMachine(MarkupMachine, HierarchicalMachine): + + def rep(func, format_references=None): + """Return a string representation for `func`.""" +- if isinstance(func, string_types): ++ if isinstance(func, str): + return func + if isinstance(func, numbers.Number): + return str(func) +@@ -249,7 +248,7 @@ def _convert(obj, attributes, format_references): + val = getattr(obj, key, False) + if not val: + continue +- if isinstance(val, string_types): ++ if isinstance(val, str): + definition[key] = val + elif val is True: + definition[key] = True +diff --git a/transitions/extensions/nesting.py b/transitions/extensions/nesting.py +index b115363..4566cb0 100644 +--- a/transitions/extensions/nesting.py ++++ b/transitions/extensions/nesting.py +@@ -24,7 +24,6 @@ except ImportError: # pragma: no cover + class EnumMeta: # type: ignore + """This is just an EnumMeta stub for Python 2 and Python 3.3 and before without Enum support.""" + +-from six import string_types + + from ..core import State, Machine, Transition, Event, listify, MachineError, EventData + +@@ -417,7 +416,7 @@ class HierarchicalMachine(Machine): + ) + + def __call__(self, to_scope=None): +- if isinstance(to_scope, string_types): ++ if isinstance(to_scope, str): + state_name = to_scope.split(self.state_cls.separator)[0] + state = self.states[state_name] + to_scope = (state, state.states, state.events, self.prefix_path + [state_name]) +@@ -451,7 +450,7 @@ class HierarchicalMachine(Machine): + if hasattr(initial_name, 'name'): + initial_name = initial_name.name + # initial states set by add_model or machine might contain initial states themselves. +- if isinstance(initial_name, string_types): ++ if isinstance(initial_name, str): + initial_states = self._resolve_initial(models, initial_name.split(self.state_cls.separator)) + # when initial is set to a (parallel) state, we accept it as it is + else: +@@ -516,7 +515,7 @@ class HierarchicalMachine(Machine): + state = {'name': state, 'children': state.value} + elif isinstance(state.value, dict): + state = dict(name=state, **state.value) +- if isinstance(state, string_types): ++ if isinstance(state, str): + self._add_string_state(state, on_enter, on_exit, ignore, remap, **kwargs) + elif isinstance(state, Enum): + self._add_enum_state(state, on_enter, on_exit, ignore, remap, **kwargs) +@@ -643,7 +642,7 @@ class HierarchicalMachine(Machine): + """ + if isinstance(state, Enum): + state = self._get_enum_path(state) +- elif isinstance(state, string_types): ++ elif isinstance(state, str): + state = state.split(self.state_cls.separator) + if not hint: + state = copy.copy(state) +@@ -695,11 +694,11 @@ class HierarchicalMachine(Machine): + """ + with self(): + source_path = [] if source == "*" \ +- else source.split(self.state_cls.separator) if isinstance(source, string_types) \ ++ else source.split(self.state_cls.separator) if isinstance(source, str) \ + else self._get_enum_path(source) if isinstance(source, Enum) \ + else self._get_state_path(source) + dest_path = [] if dest == "*" \ +- else dest.split(self.state_cls.separator) if isinstance(dest, string_types) \ ++ else dest.split(self.state_cls.separator) if isinstance(dest, str) \ + else self._get_enum_path(dest) if isinstance(dest, Enum) \ + else self._get_state_path(dest) + matches = self.get_nested_transitions(trigger, source_path, dest_path) +@@ -745,11 +744,11 @@ class HierarchicalMachine(Machine): + """ + with self(): + source_path = [] if source == "*" \ +- else source.split(self.state_cls.separator) if isinstance(source, string_types) \ ++ else source.split(self.state_cls.separator) if isinstance(source, str) \ + else self._get_enum_path(source) if isinstance(source, Enum) \ + else self._get_state_path(source) + dest_path = [] if dest == "*" \ +- else dest.split(self.state_cls.separator) if isinstance(dest, string_types) \ ++ else dest.split(self.state_cls.separator) if isinstance(dest, str) \ + else self._get_enum_path(dest) if isinstance(dest, Enum) \ + else self._get_state_path(dest) + self._remove_nested_transitions(trigger, source_path, dest_path) +@@ -1169,7 +1168,7 @@ class HierarchicalMachine(Machine): + self._init_state(substate) + + def _recursive_initial(self, value): +- if isinstance(value, string_types): ++ if isinstance(value, str): + path = value.split(self.state_cls.separator, 1) + if len(path) > 1: + state_name, suffix = path diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions_0.9.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions_0.9.3.bb index 6a54d3a79a..6bf78f2b9f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions_0.9.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-transitions_0.9.3.bb @@ -4,8 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=de0a0876a688a4483bfafa764773ab39" inherit pypi setuptools3 +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "881fb75bb1654ed55d86060bb067f2c716f8e155f57bb73fd444e53713aafec8" -RDEPENDS:${PN} += "python3-six python3-logging" +RDEPENDS:${PN} += "python3-logging" BBCLASSEXTEND = "native"
\ No newline at end of file diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.34.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.35.0.bb index 79c9e379a2..b7c7a769e1 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.34.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trio_0.35.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=447ea202d14d2aee40d8a2c26c865da9 \ file://LICENSE.APACHE2;md5=3b83ef96387f14655fc854ddc3c6bd57 \ file://LICENSE.MIT;md5=5f229c828e5a6f0a2ce90c7d3c054721" -SRC_URI[sha256sum] = "63b9485408bdfdde544fced107045a8c0086cdc4bd0ef2f797b9e0dd111b964b" +SRC_URI[sha256sum] = "7efb295c78a0ecd1235c5759e620b5da564ca80d2efcb0055423588547248b96" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb index 69606f1fe8..d7c3cd8990 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-trustme_1.2.1.bb @@ -20,5 +20,4 @@ RDEPENDS:${PN}-ptest += " \ python3-pyopenssl \ python3-pyasn1-modules \ python3-service-identity \ - python3-six \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-truststore_0.10.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-truststore_0.10.4.bb new file mode 100644 index 0000000000..1d778a8642 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-truststore_0.10.4.bb @@ -0,0 +1,13 @@ +SUMMARY = "Verify certificates using native system trust stores" +DESCRIPTION = "Truststore is a library which exposes native system \ + certificate stores (ie \"trust stores\") through an ssl.SSLContext-like \ + API." +HOMEPAGE = "https://github.com/sethmlarson/truststore" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=74420fc3965c4558a4a1529e63c2867f" + +SRC_URI[sha256sum] = "9d91bd436463ad5e4ee4aba766628dd6cd7010cf3e2461756b3303710eebc301" + +inherit pypi python_flit_core + +RDEPENDS:${PN} += "python3-io" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_26.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_26.10.0.bb index c294bd2933..8bb22df096 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_26.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twisted_26.10.0.bb @@ -6,7 +6,7 @@ HOMEPAGE = "https://twisted.org" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ff950f7bafa004a86f478dc9eaf8106f" -SRC_URI[sha256sum] = "dbfd0fe1ee409d0243fdd7a6a6ff14f4948cec1fd78e0376291f805e1501fae9" +SRC_URI[sha256sum] = "5f0355403e507fc23ceea85e9dbb4bc59335aabde41dd324e8b8cea180dd38de" CVE_PRODUCT = "twisted:twisted" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb index 6f9c886c35..18375edc61 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-twitter_4.17.0.bb @@ -15,7 +15,6 @@ RDEPENDS:${PN} += "\ python3-pysocks \ python3-requests \ python3-requests-oauthlib \ - python3-six \ " CVE_PRODUCT = "josh_roesslein:tweepy tweepy:tweepy" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus/0001-drop-the-six-dependency.patch b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus/0001-drop-the-six-dependency.patch new file mode 100644 index 0000000000..6ea52c4deb --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus/0001-drop-the-six-dependency.patch @@ -0,0 +1,301 @@ +From f3362adf93eb439e0b9c997b7b8d182da4ed6cf4 Mon Sep 17 00:00:00 2001 +From: Markus Volk <f_l_k@t-online.de> +Date: Mon, 21 Sep 2026 13:25:01 +0200 +Subject: [PATCH] drop the six dependency + +six is a Python 2 compatibility shim and txdbus does not need it on +Python 3: the iteritems/iterkeys/itervalues helpers are the dict +methods, integer_types and string_types are int and str, byte2int is +indexing the bytes object, six.next is next and six.moves.cStringIO is +io.StringIO. + +Upstream-Status: Pending + +AI-Generated: Uses Claude Code (Claude Opus 5) +--- + setup.py | 2 +- + txdbus/authentication.py | 3 +-- + txdbus/client.py | 5 ++--- + txdbus/interface.py | 7 +++---- + txdbus/introspection.py | 4 ++-- + txdbus/marshal.py | 14 ++++++-------- + txdbus/objects.py | 11 +++++------ + txdbus/protocol.py | 3 +-- + txdbus/router.py | 3 +-- + 9 files changed, 22 insertions(+), 30 deletions(-) + +diff --git a/setup.py b/setup.py +index 784cd0f..d4d2758 100755 +--- a/setup.py ++++ b/setup.py +@@ -21,7 +21,7 @@ setup( + url='https://github.com/cocagne/txdbus', + author='Tom Cocagne', + author_email='tom.cocagne@gmail.com', +- install_requires=['twisted>=10.1', 'six'], ++ install_requires=['twisted>=10.1'], + provides=['txdbus'], + packages=['txdbus'], + keywords=['dbus', 'twisted'], +diff --git a/txdbus/authentication.py b/txdbus/authentication.py +index 656fecf..2b91e47 100644 +--- a/txdbus/authentication.py ++++ b/txdbus/authentication.py +@@ -11,7 +11,6 @@ import os + import os.path + import time + +-import six + from twisted.internet import interfaces + from twisted.python import log + from zope.interface import implementer, Interface +@@ -557,7 +556,7 @@ class BusAuthenticator (object): + self.state = None + self.current_mech = None + +- for n, m in six.iteritems(self.authenticators): ++ for n, m in self.authenticators.items(): + self.mechanisms[n] = m + + mechNames = self.authenticators.keys() +diff --git a/txdbus/client.py b/txdbus/client.py +index 986da6c..53b4a25 100644 +--- a/txdbus/client.py ++++ b/txdbus/client.py +@@ -7,7 +7,6 @@ methods over the DBus bus. + @author: Tom Cocagne + """ + +-import six + from twisted.internet import defer, reactor + from twisted.internet.error import ConnectError + from twisted.internet.protocol import Factory +@@ -472,7 +471,7 @@ class DBusClientConnection (txdbus.protocol.BasicDBusProtocol): + return None + + # if not ( +- # isinstance(msg.body[0], six.string_types) and ++ # isinstance(msg.body[0], str) and + # msg.body[0].startswith('<!D') + # ): + # print('RET SIG', msg.signature, 'BODY:', msg.body) +@@ -630,7 +629,7 @@ class DBusClientConnection (txdbus.protocol.BasicDBusProtocol): + e.message = '' + e.values = [] + if merr.body: +- if isinstance(merr.body[0], six.string_types): ++ if isinstance(merr.body[0], str): + e.message = merr.body[0] + e.values = merr.body + d.errback(e) +diff --git a/txdbus/interface.py b/txdbus/interface.py +index 87ad3c4..6b6b677 100644 +--- a/txdbus/interface.py ++++ b/txdbus/interface.py +@@ -5,7 +5,6 @@ model's definition of Interfaces. + + @author: Tom Cocagne + """ +-import six + import twisted + + from txdbus import marshal +@@ -212,7 +211,7 @@ class DBusInterface (object): + l = [] + l.append(' <interface name="%s">' % (self.name,)) + +- k = sorted(six.iterkeys(self.methods)) ++ k = sorted(self.methods) + for m in (self.methods[a] for a in k): + l.append(' <method name="%s">' % (m.name,)) + for arg_sig in marshal.genCompleteTypes(m.sigIn): +@@ -225,14 +224,14 @@ class DBusInterface (object): + (arg_sig,)) + l.append(' </method>') + +- k = sorted(six.iterkeys(self.signals)) ++ k = sorted(self.signals) + for s in (self.signals[a] for a in k): + l.append(' <signal name="%s">' % (s.name,)) + for arg_sig in marshal.genCompleteTypes(s.sig): + l.append(' <arg type="%s"/>' % (arg_sig,)) + l.append(' </signal>') + +- k = list(six.iterkeys(self.properties)) ++ k = list(self.properties) + k.sort() + for p in (self.properties[a] for a in k): + l.append( +diff --git a/txdbus/introspection.py b/txdbus/introspection.py +index 099a74b..b8a85cc 100644 +--- a/txdbus/introspection.py ++++ b/txdbus/introspection.py +@@ -6,7 +6,7 @@ Provides support for DBus introspection + import xml.sax + import xml.sax.handler + +-from six.moves import cStringIO ++from io import StringIO + + from txdbus import interface + +@@ -96,7 +96,7 @@ def getInterfacesFromXML(xmlStr, replaceKnownInterfaces=False): + p.setFeature(xml.sax.handler.feature_validation, False) + p.setFeature(xml.sax.handler.feature_external_ges, False) + p.setContentHandler(handler) +- p.parse(cStringIO(xmlStr)) ++ p.parse(StringIO(xmlStr)) + + return handler.interfaces + +diff --git a/txdbus/marshal.py b/txdbus/marshal.py +index 1867e0b..ac49f15 100644 +--- a/txdbus/marshal.py ++++ b/txdbus/marshal.py +@@ -8,8 +8,6 @@ import codecs + import re + import struct + +-import six +- + from txdbus.error import MarshallingError + + +@@ -262,11 +260,11 @@ def sigFromPy(pobj): + return 'b' + elif isinstance(pobj, int): + return 'i' +- elif isinstance(pobj, six.integer_types): ++ elif isinstance(pobj, int): + return 'x' + elif isinstance(pobj, float): + return 'd' +- elif isinstance(pobj, six.string_types): ++ elif isinstance(pobj, str): + return 's' + elif isinstance(pobj, bytearray): + return 'ay' +@@ -288,7 +286,7 @@ def sigFromPy(pobj): + elif isinstance(pobj, dict): + same = True + vtype = None +- for k, v in six.iteritems(pobj): ++ for k, v in pobj.items(): + if vtype is None: + vtype = type(v) + elif not isinstance(v, vtype): +@@ -376,7 +374,7 @@ def genCompleteTypes(compoundSig): + + elif c == 'a': + g = genCompleteTypes(compoundSig[i + 1:]) +- ct = six.next(g) ++ ct = next(g) + i += len(ct) + yield 'a' + ct + +@@ -468,7 +466,7 @@ def marshal_unix_fd(ct, var, start_byte, lendian, oobFDs): + # 3 - terminating nul byte + # + def marshal_string(ct, var, start_byte, lendian, oobFDs): +- if not isinstance(var, six.string_types): ++ if not isinstance(var, str): + raise MarshallingError('Required string. Received: ' + repr(var)) + if var.find('\0') != -1: + raise MarshallingError( +@@ -525,7 +523,7 @@ def marshal_array(ct, var, start_byte, lendian, oobFDs): + if isinstance(var, (list, tuple, bytearray)): + arr_list = var + elif isinstance(var, dict): +- arr_list = [tpl for tpl in six.iteritems(var)] ++ arr_list = [tpl for tpl in var.items()] + else: + raise MarshallingError( + 'List, Tuple, Bytearray, or Dictionary required for DBus array. ' +diff --git a/txdbus/objects.py b/txdbus/objects.py +index 69d3a3e..e2e7523 100644 +--- a/txdbus/objects.py ++++ b/txdbus/objects.py +@@ -7,7 +7,6 @@ DBus objects + import inspect + import weakref + +-import six + from twisted.internet import defer + from zope.interface import implementer, Interface + +@@ -400,7 +399,7 @@ class DBusObject (object): + + cache = {} + +- for name, obj in six.iteritems(base.__dict__): ++ for name, obj in base.__dict__.items(): + self._cacheInterfaces(base, cache, name, obj) + + base._dbusIfaceCache = cache +@@ -449,7 +448,7 @@ class DBusObject (object): + if key in d: + return d[key] + else: +- for ic in six.itervalues(cache): ++ for ic in cache.values(): + d = getattr(ic, cacheAttr) + if key in d: + return d[key] +@@ -588,14 +587,14 @@ class DBusObject (object): + ifc = cache.get(interfaceName, None) + + if ifc: +- for p in six.itervalues(ifc.properties): ++ for p in ifc.properties.values(): + addp(p) + break + + else: + for cache in self._iterIFaceCaches(): +- for ifc in six.itervalues(cache): +- for p in six.itervalues(ifc.properties): ++ for ifc in cache.values(): ++ for p in ifc.properties.values(): + addp(p) + + return r +diff --git a/txdbus/protocol.py b/txdbus/protocol.py +index 7e6ed8a..1c05f11 100644 +--- a/txdbus/protocol.py ++++ b/txdbus/protocol.py +@@ -6,7 +6,6 @@ This module implements the wire-level DBus protocol. + import os.path + import struct + +-import six + from twisted.internet import interfaces, protocol + from twisted.python import log + from zope.interface import implementer, Interface +@@ -144,7 +143,7 @@ class BasicDBusProtocol(protocol.Protocol): + self.dataReceived(b'') + else: + if not self._client and self._firstByte: +- if six.byte2int(data) != 0: ++ if data[0] != 0: + self.transport.loseConnection() + return + self._firstByte = False +diff --git a/txdbus/router.py b/txdbus/router.py +index a5f8e44..2a7e732 100644 +--- a/txdbus/router.py ++++ b/txdbus/router.py +@@ -4,7 +4,6 @@ to interested connections. + + @author: Tom Cocagne + """ +-import six + from twisted.python import log + + # XXX Replace this simple, inefficient implementation with something a bit +@@ -124,5 +123,5 @@ class MessageRouter (object): + + def routeMessage(self, m): + # print 'ROUTING MSG', m.interface, m.member +- for r in six.itervalues(self._rules): ++ for r in self._rules.values(): + r.match(m) diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb index ef6c248e80..c90f513a1f 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-txdbus_1.1.2.bb @@ -4,8 +4,9 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://README.rst;beginline=32;endline=32;md5=2141358b0bce85fc45216ba91735ad50" +SRC_URI += "file://0001-drop-the-six-dependency.patch" SRC_URI[sha256sum] = "8375a5fb68a12054f0def91af800c821fb2232949337756ed975f88d8ea2bc97" inherit pypi setuptools3 -RDEPENDS:${PN} += "python3-twisted-core python3-six" +RDEPENDS:${PN} += "python3-twisted-core" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.27.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.27.3.bb index 90ec5c750a..a334ad78e6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.27.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typer_0.27.3.bb @@ -7,7 +7,7 @@ HOMEPAGE = "https://github.com/fastapi/typer" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=173d405eb704b1499218013178722617" -SRC_URI[sha256sum] = "269b7eb9d3c202ca84b4bc9618cb04ebb43d3d4d1e567e4c768607232c05f945" +SRC_URI[sha256sum] = "d0396f770a560ab1b0a8504e13b5f254b728cedb05c61cf0359e944e50ce8901" inherit pypi python_pdm ptest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-psutil_7.2.2.20260518.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-psutil_7.2.2.20260518.bb index f7f3f8e758..b56ef83775 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-psutil_7.2.2.20260518.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-psutil_7.2.2.20260518.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://github.com/python/typeshed" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ec038232ab86edd7354b091c54e190e2" -PYPI_PACKAGE = "types_psutil" - inherit pypi python_setuptools_build_meta SRC_URI[sha256sum] = "9f825f631463a5b4d26f19f63aebc9ec25f01140d655026f3ad8a67841f9b331" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb index 09d919dd82..17c710aeca 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-python-dateutil_2.9.0.20241003.bb @@ -6,3 +6,5 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462 SRC_URI[sha256sum] = "58cb85449b2a56d6684e41aeefb4c4280631246a0da1a719bdbe6f3fb0317446" inherit pypi setuptools3 + +PYPI_PACKAGE_SDIST = "types-python-dateutil" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb index b9f35406bd..41b1d0e2c0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-types-setuptools_75.5.0.20241120.bb @@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=c2d9643b4523fdf462 inherit pypi setuptools3 +PYPI_PACKAGE_SDIST = "types-setuptools" + SRC_URI[sha256sum] = "d3c7e95b0598bf87fede29b3b57b19f5cdcd62a85b9298a7b30f8343f6f21c4f" BBCLASSEXTEND = "native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.5.bb index 7694732817..64c547e12b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-typing-inspection_0.4.5.bb @@ -6,12 +6,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dfe2d84c58973d6a532c4e7638dbb3d8" DEPENDS = "python3-hatchling-native" inherit pypi python_hatchling ptest-python-pytest -SRC_URI[sha256sum] = "547274fa6b0a561ccf549cc9524b999a578e737d015d8709d021f9d0d13bea47" +SRC_URI[sha256sum] = "7f16c411e7930dc79596d42ab44672a3fe5f60eb34b781a1647e7872363120c7" RDEPENDS:${PN}-ptest += "python3-typing-extensions" -PYPI_PACKAGE = "typing_inspection" - do_install_ptest:append() { # test_literal_values_unhashable_type asserts that duplicate unhashable # Literal values (e.g. Literal[[1, 'a'], [1, 'a']]) are preserved, but diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2026.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2026.6.bb index 0216d4f0b9..b13eae98f6 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2026.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzdata_2026.6.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=804220b73c90950be376e7ff7b2066bb \ file://licenses/LICENSE_APACHE;md5=86d3f3a95c324c9479bd8986968f4327 \ " -SRC_URI[sha256sum] = "4a1518b8993086a7982523e071643f3c0e5f213e75b21318e78bcabfff9d1415" +SRC_URI[sha256sum] = "85d2cd9c09f81f0bb29db27759fc83af4f1e620efb814f8c5bf8b4cc4feece6d" inherit pypi python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_5.4.4.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_5.4.5.bb index dd9b6ec93e..d55e5ce9e0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_5.4.4.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-tzlocal_5.4.5.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/tzlocal/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" -SRC_URI[sha256sum] = "8dbb8660838688a7b6ba4fed31d18dedf842afb4d47ca050d6d891c2c15f3be4" +SRC_URI[sha256sum] = "ba976898bad27945178c9ca25c222c19e322b30c10342b9f40b46714f70d2d5f" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb index e95e4bbfb0..7538e8a88b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb @@ -7,6 +7,8 @@ SRC_URI[sha256sum] = "b801a83d6ed75e6df41e44518b4f2a9c221dc2da4bcd5380e3a0feda52 inherit pypi setuptools3 ptest-python-pytest +PYPI_PACKAGE_SDIST = "u-msgpack-python" + do_install_ptest:append() { cp -f ${S}/test_umsgpack.py ${D}${PTEST_PATH}/ } diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb index f63cbf22fc..521f8c2822 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uinput_1.0.1.bb @@ -7,6 +7,7 @@ SRC_URI += "file://0001-Deal-with-64bit-time_t-default-on-32bit-architecture.pat SRC_URI[sha256sum] = "853697344b64df5537d4ae32ba6fbcf0515d51a9010910f5d5019959038b6eba" PYPI_PACKAGE = "python-uinput" +PYPI_PACKAGE_SDIST = "python-uinput" inherit pypi python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_6.1.0.bb index 3a9b581f9a..f163be2db0 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_5.13.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-ujson_6.1.0.bb @@ -4,7 +4,7 @@ DESCRIPTION = "UltraJSON is an ultra fast JSON encoder and decoder written in pu LICENSE = "BSD-3-Clause AND TCL" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1e3768cfe2662fa77c49c9c2d3804d87" -SRC_URI[sha256sum] = "d62e3d7625384c08082abad81a077af587fdef2761bb14c3822f4234b8d07d75" +SRC_URI[sha256sum] = "aef7ea4cd9e2e9f8a35c4538a9780d58c80d76c5da66a8dad269b4cc6d930c29" CVE_PRODUCT = "ultrajson:ultrajson ultrajson_project:ultrajson" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb index ac94ae5cee..9d3579c485 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidecode_1.4.0.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" inherit pypi setuptools3 ptest -PYPI_PACKAGE = "Unidecode" +PYPI_PACKAGE_SDIST = "Unidecode" SRC_URI += "file://run-ptest" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_1.0.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_1.0.1.bb index ddc39da626..ad6d30c907 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_1.0.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-unidiff_1.0.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/matiasb/python-unidiff" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" -SRC_URI[sha256sum] = "5e5d5cfab2dc98be819b74747ab7d9f5af8695369ec8710b93f9ab0f0ae6a449" +SRC_URI[sha256sum] = "d9425bc516390c54743a1045b2c1c97f02d245a913a241dd499f958adb2df998" inherit pypi python_setuptools_build_meta ptest-python-pytest diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uv-dynamic-versioning_0.14.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uv-dynamic-versioning_0.14.1.bb index d3682f410a..6faaa54f46 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uv-dynamic-versioning_0.14.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-uv-dynamic-versioning_0.14.1.bb @@ -4,8 +4,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=14d953809f6381e54162e13c2c846fbc" SRC_URI[sha256sum] = "8642db686ce5c50417035e7a257ac73b7e5c3a7a32c33e45bd7e36ba22eeb648" -PYPI_PACKAGE = "uv_dynamic_versioning" - inherit pypi python_hatchling BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.35.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.36.0.bb index 79950f945c..a758fc1a8b 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.35.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-validators_0.36.0.bb @@ -1,9 +1,10 @@ SUMMARY = "Python Data Validation for Humans" +DESCRIPTION = "Python Data Validation for Humans" HOMEPAGE = "https://python-validators.github.io/validators" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78327e3919fcd4e9a4a07299899c634c" -SRC_URI[sha256sum] = "992d6c48a4e77c81f1b4daba10d16c3a9bb0dbb79b3a19ea847ff0928e70497a" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=728e6b6dd8ebb4906421b89b00645e6e" +SRC_URI[sha256sum] = "92ad9ed00bbed320b784cec0ea90b213cf08904cf605b3d0852cfa4108e32a2c" CVE_PRODUCT = "validators" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb new file mode 100644 index 0000000000..7ce93c9370 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-varlink_32.1.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Python implementation of the Varlink protocol" +HOMEPAGE = "https://github.com/varlink/python" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e3fc50a88d0a364313df4b21ef20c29e" + +DEPENDS += "python3-setuptools-scm-native python3-wheel-native" + +# 32.1.0 is not published on PyPI +SRC_URI = "git://github.com/varlink/python.git;protocol=https;branch=master" +SRCREV = "8b3ba4e8206b098c524f538036a941b47797840d" + +inherit python_setuptools_build_meta ptest-python-pytest + +# Otherwise setuptools_scm falls back to 0.1.dev1 +export SETUPTOOLS_SCM_PRETEND_VERSION = "${PV}" + +RDEPENDS:${PN} = "\ + python3-core \ + python3-datetime \ + python3-io \ + python3-json \ + python3-netclient \ + python3-netserver \ + python3-shell \ +" + +# Keep the bundled test suite, and its python3-unittest dependency, separate +FILES:${PN}-ptest = "${PYTHON_SITEPACKAGES_DIR}/varlink/tests" +RDEPENDS:${PN}-ptest = "${PN} python3-unittest" + +# Upstream keeps its tests inside the importable package rather than in a +# top-level tests/ directory. +PTEST_PYTEST_DIR = "varlink/tests" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vector_1.8.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vector_1.9.0.bb index b04184cc88..0aa804fb58 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vector_1.8.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vector_1.9.0.bb @@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b9f683a957276148387db50971a7b3ef" DEPENDS += "python3-hatch-vcs-native" -SRC_URI[sha256sum] = "1b7658a4fbc7b593342506a1b84eff3459745b09c98c3be83ed58df31fd29b43" +SRC_URI[sha256sum] = "72128b48b6a72af965babd63dccc5a110f0729e6404dcd8c5c75eaac31b80d84" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vermin_1.9.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vermin_1.9.2.bb new file mode 100644 index 0000000000..59ca917850 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-vermin_1.9.2.bb @@ -0,0 +1,10 @@ +SUMMARY = "Concurrently detect the minimum Python versions needed to run code" +HOMEPAGE = "https://github.com/netromdk/vermin" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=0303dc5537dcc0e24a5b259af6fc0bf4" + +SRC_URI[sha256sum] = "ba4e01ab817c6baadf5f057bd6ea691e1147bcaf00c1ac8db54df0e25c6d2c6d" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-wheel-native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_21.7.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_21.14.13.bb index 820db11d71..e3a3a109af 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_21.7.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-virtualenv_21.14.13.bb @@ -1,12 +1,10 @@ -# SPDX-License-Identifier: MIT -# Copyright (C) 2023 iris-GmbH infrared & intelligent sensors - SUMMARY = "A tool for creating isolated virtual python environments." +DESCRIPTION = "Virtual Python Environment builder" HOMEPAGE = "https://github.com/pypa/virtualenv" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=0ce089158cf60a8ab6abb452b6405538" +LIC_FILES_CHKSUM = "file://LICENSE;md5=36ef9437b761b314fa717c786c5ca460" -SRC_URI[sha256sum] = "1dc49c790072a9072cb1803f9bd62aa69cd583077cada32390f75505cdc64c9b" +SRC_URI[sha256sum] = "de5307ba4b9a0001d9c8ea02832d38f63ca432880f416c1bface61c4323fd905" BBCLASSEXTEND = "native nativesdk" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb deleted file mode 100644 index 81709435be..0000000000 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Character encoding aliases for legacy web content" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" - -SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - python3-codecs \ - python3-json \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.6.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.6.1.bb new file mode 100644 index 0000000000..b5446eb960 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-webencodings_0.6.1.bb @@ -0,0 +1,14 @@ +SUMMARY = "Character encoding aliases for legacy web content" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=78ecd9e2dd613fe63d51efca9b793f2c" + +SRC_URI[sha256sum] = "565f9ad031c702dae404e27a099e3e09186a3ab1b9520f06d215502b651fd910" + +inherit pypi python_flit_core + +RDEPENDS:${PN} += " \ + python3-codecs \ + python3-json \ +" + +BBCLASSEXTEND = "native nativesdk" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_1.9.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_1.9.2.bb index 4bcdb8deba..11ff96a716 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_1.9.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-websocket-client_1.9.2.bb @@ -9,11 +9,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=69c77173fe8892e9fdecd46557b957ad" SRC_URI[sha256sum] = "0fcb57545848be86992e128218fd96dd87a6769ffdb1a968dff79632b85604d0" -PYPI_PACKAGE = "websocket_client" - inherit pypi python_setuptools_build_meta RDEPENDS:${PN} = "\ - python3-six \ python3-logging \ " diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_3.1.8.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_3.1.9.bb index fae4de2a3f..d3b1598f78 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_3.1.8.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-werkzeug_3.1.9.bb @@ -10,7 +10,7 @@ HOMEPAGE = "https://werkzeug.palletsprojects.com" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=5dc88300786f1c214c1e9827a5229462" -SRC_URI[sha256sum] = "9bad61a4268dac112f1c5cd4630a56ede601b6ed420300677a869083d70a4c44" +SRC_URI[sha256sum] = "55ca7c70a75689be937aa27f8ff4b018f06ff4838fc73045560bf0f5a1291060" CVE_PRODUCT = "pallets:werkzeug palletsprojects:werkzeug" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wheezy-template_3.2.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wheezy-template_3.2.5.bb index fab0d5106a..08bb7ee983 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wheezy-template_3.2.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wheezy-template_3.2.5.bb @@ -3,8 +3,6 @@ HOMEPAGE = "https://github.com/akornatskyy/wheezy.template" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=fa10554c46b94944529c6a886cf85631" -PYPI_PACKAGE = "wheezy_template" - SRC_URI[sha256sum] = "c7c0bf85af0f70ca2ef4b6ea9a74ef372f73392aa17bea0d885dcba7356d0867" inherit pypi python_setuptools_build_meta diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb index 17149bbadb..db4d865800 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wpa-supplicant_0.2.bb @@ -8,8 +8,6 @@ SRC_URI[sha256sum] = "3ad0f40a696763bb0f4d4dec5b51f6b53ccfeb7c16ebb5897349303045 SRC_URI += "file://0001-cli-drop-the-second-argument-from-click.argument-dec.patch" -PYPI_PACKAGE = "wpa_supplicant" - inherit pypi setuptools3 RDEPENDS:${PN} += "python3-twisted python3-click python3-txdbus" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_2.4.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb index 18d533f6e1..6d1f2cf4c9 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_2.4.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wrapt_2.5.2.bb @@ -8,7 +8,7 @@ inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "python3-wheel-native" -SRC_URI[sha256sum] = "7082fc1f94b020ac275870c4af71b09cff22876fe6e9c4c0ad01ea21d217b288" +SRC_URI[sha256sum] = "551cb49e88b3722faad780303833bc4fa70685fb1773270fb98b40d39d9fddbf" # python3-misc for 'this' module, python3-image for colorsys (test_deferred_patching) RDEPENDS:${PN}-ptest += " \ @@ -19,6 +19,8 @@ RDEPENDS:${PN}-ptest += " \ RDEPENDS:${PN}:append:class-target = " \ python3-stringold \ python3-threading \ + python3-asyncio \ + python3-json \ " BBCLASSEXTEND = "native" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.2.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.3.2.bb index 3adb2a57b4..e90768669a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.2.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-wtforms_3.3.2.bb @@ -5,7 +5,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=17ed54aa95f4a6cd0d7a4747d14b64d0" -SRC_URI[sha256sum] = "7b00c73f8670f35d4edb0293dcd81b980528bee72fd662b182aaba27ae570b93" +SRC_URI[sha256sum] = "49bb51d10b7832d497e758736da4d56f7d129a015db24756f36f28992f175404" inherit pypi python_hatchling diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.1.bb index eccdc83ca2..e3a8cab12e 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xlsxwriter_3.2.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a4bab8df34a9a138b4e0ca56b8559a05" inherit pypi setuptools3 -PYPI_PACKAGE = "XlsxWriter" +PYPI_PACKAGE_SDIST = "XlsxWriter" RDEPENDS:${PN} += " \ python3-crypt \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.2.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.2.bb index 97e6dcd66f..20634a1a2a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.2.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic-font-awesome_6.2.1.2.bb @@ -4,8 +4,6 @@ SECTION = "devel/python" LICENSE = "CC-BY-4.0 AND MIT AND OFL-1.0" LIC_FILES_CHKSUM = "file://xstatic/pkg/font_awesome/data/LICENSE.txt;md5=57f9201afe70f877988912a7b233de47" -PYPI_PACKAGE = "xstatic_font_awesome" - SRC_URI[sha256sum] = "9f3cb2f038fad7d352722375d3f25af346da9ee093ed9dc2c8c46bd911ab1971" DEPENDS += " \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb index ed73aa48b0..59e22b201a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xstatic_1.0.3.bb @@ -4,7 +4,7 @@ SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://README.txt;md5=1418684272f85f400cebf1b1a255c5cd" -PYPI_PACKAGE = "XStatic" +PYPI_PACKAGE_SDIST = "XStatic" SRC_URI += "file://0001-remove-pkg_resources-import.patch" SRC_URI[sha256sum] = "402544cc9e179489441054f09c807804e115ea246907de87c0355fb4f5a31268" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_4.0.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_4.0.2.bb index 4a9a995414..fd2ce3be5a 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_4.0.1.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-xxhash_4.0.2.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c6a4f6d709b13927e4d5e9ff13cf8956" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "d55bf4ef10eb09b8b6866790e083d26d087d84caa3cc0946ba87c3ca7ecaf7b7" +SRC_URI[sha256sum] = "af3d1b3cfa5280e84d8968e9f30c9eca75781db4915eb6d6acb0dd4fc93e0f47" SRC_URI += " \ file://run-ptest \ diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.24.5.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.25.1.bb index 4c99153ed0..ef473abc10 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.24.5.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-yarl_1.25.1.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[sha256sum] = "e81b83143bee16329c23db3c1b2d82b29892fcbcb849186d2f6e98a5abe9a57f" +SRC_URI[sha256sum] = "03dd38de09bc213e9a8b29761eec33ee1d5318dac0e49d8af36e4d27830e23a7" inherit pypi ptest-python-pytest python_setuptools_build_meta cython diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeep_4.3.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeep_4.3.3.bb new file mode 100644 index 0000000000..771c98a154 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeep_4.3.3.bb @@ -0,0 +1,21 @@ +SUMMARY = "A Python SOAP client" +DESCRIPTION = "A Python SOAP client" +HOMEPAGE = "https://github.com/mvantellingen/python-zeep" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=23356a26b06086844496d9e634f58ae5" + +SRC_URI[sha256sum] = "99d5059f92f721020998695fd9c85289ccb03ec5a2398ad49c6dbe43f19cfb94" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-wheel-native" + +RDEPENDS:${PN} += "\ + python3-attrs \ + python3-lxml \ + python3-platformdirs \ + python3-requests \ + python3-requests-file \ + python3-requests-toolbelt \ + python3-isodate \ +" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.151.3.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.153.0.bb index beadc0b3ed..e902ae6959 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.151.3.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zeroconf_0.153.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=6ede793c8b5508eab1acfad7c0c4e335" -SRC_URI[sha256sum] = "ce6c548e665759b6150cef4db9ab9d7bdd89857e90c513abd6b7340bdd7dbd6a" +SRC_URI[sha256sum] = "28bd0baa208f4ea481a386e9eefdd3a65663fada34233432301a0c221d741d1d" SRC_URI += "file://run-ptest" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb index 4d914c63e9..1c378ec544 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeevent_5.0.bb @@ -6,5 +6,6 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=72092419572155ddc2 SRC_URI[sha256sum] = "bac440d8d9891b4068e2b5a2c5e2c9765a9df762944bda6955f96bb9b91e67cd" PYPI_PACKAGE = "zope.event" +PYPI_PACKAGE_SDIST = "zope.event" inherit pypi setuptools3 diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_8.6.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_8.7.bb index 370e07889f..e7d26dc8c3 100644 --- a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_8.6.bb +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-zopeinterface_8.7.bb @@ -2,12 +2,12 @@ SUMMARY = "Interface definitions for Zope products" LICENSE = "ZPL-2.1" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=78ccb3640dc841e1baecb3e27a6966b2" -PYPI_PACKAGE = "zope_interface" +PYPI_PACKAGE = "zope-interface" inherit pypi python_setuptools_build_meta DEPENDS += "python3-wheel-native" -SRC_URI[sha256sum] = "b40ef9b4873afb5d0dec02b8d2dfde1cf18c72337b60c99cb735961e0bac05c0" +SRC_URI[sha256sum] = "0b47b62e8d0d99b24bcdd32f4f2120425e5019c3bee2ad69a0e1d75737487a96" PACKAGES =. "${PN}-test " RPROVIDES:${PN} += "zope-interfaces" diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/tomcli_0.10.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/tomcli_0.10.1.bb new file mode 100644 index 0000000000..d219f820dd --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/tomcli_0.10.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "CLI for working with TOML files" +HOMEPAGE = "https://tomcli.gtmx.me" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3c5eb6b1eb58832012789763a45d051f" + +SRC_URI[sha256sum] = "0a27c685620b10a0f389b1d55dc66ea904054b178176d41440de55d296e1109d" + +inherit pypi python_flit_core ptest-python-pytest + +RDEPENDS:${PN} = "python3-click python3-tomlkit" + +# NOTE: There are lots of skips in the ptest from tomli and tomli_w +# but we only care about the tomlkit backend. + +BBCLASSEXTEND = "native nativesdk" |
