Skip to contentSkip to conversation

python3-can: upgrade 4.4.2 -> 4.5.0

PATCH New Richard Leitner 1 participant 1 message Jun 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
---
 .../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%)
meta-python/recipes-devtools/python/python3-can_4.5.0.bb renamed from meta-python/recipes-devtools/python/python3-can_4.4.2.bb +4 -1
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
@@ -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 \
Signature · 1 line
2.47.2