From 14a64afb38a79c274eb25100a446ea7c403ef06d Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Fri, 27 Jun 2025 10:29:04 +0200 Subject: [PATCH] python3-can: upgrade 4.4.2 -> 4.5.0 python3-can 4.4.y requires msgpack~=1.0.0, but openembedded-core versions newer than scarthgap provide msgpack 1.1.0 [1], causing "pip check" to fail with the following error: python-can 4.4.2 has requirement msgpack~=1.0.0; platform_system != "Windows", but you have msgpack 1.1.0. This patch resolves the issue by updating python3-can to 4.5.0. [1] https://layers.openembedded.org/layerindex/recipe/66997/ (cherry picked from commit f048d118f2ade5f7d90b919a20960218e245ca00) Cc: Steve Sakoman Signed-off-by: Richard Leitner Signed-off-by: Armin Kuster --- .../python/{python3-can_4.4.2.bb => python3-can_4.5.0.bb} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-can_4.4.2.bb => python3-can_4.5.0.bb} (83%) diff --git a/meta-python/recipes-devtools/python/python3-can_4.4.2.bb b/meta-python/recipes-devtools/python/python3-can_4.5.0.bb similarity index 83% rename from meta-python/recipes-devtools/python/python3-can_4.4.2.bb rename to meta-python/recipes-devtools/python/python3-can_4.5.0.bb index 31190a9f1d..8e32cee622 100644 --- a/meta-python/recipes-devtools/python/python3-can_4.4.2.bb +++ b/meta-python/recipes-devtools/python/python3-can_4.5.0.bb @@ -4,13 +4,15 @@ SECTION = "devel/python" LICENSE = "LGPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" -SRC_URI[sha256sum] = "1c46c0935f39f7a9c3e76b03249af0580689ebf7a1844195e92f87257f009df5" +SRC_URI[sha256sum] = "d3684cebe5b028a148c1742b3a45cec4fcaf83a7f7c52d0680b2eaeaf52f8eb7" PYPI_PACKAGE = "python_can" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" inherit pypi python_setuptools_build_meta +DEPENDS += "python3-setuptools-scm-native" + RDEPENDS:${PN} += "\ python3-aenum \ python3-asyncio \ @@ -21,6 +23,7 @@ RDEPENDS:${PN} += "\ python3-json \ python3-logging \ python3-misc \ + python3-msgpack \ python3-netserver \ python3-packaging \ python3-pkg-resources \