From 14a64afb38a79c274eb25100a446ea7c403ef06d Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Fri, 27 Jun 2025 10:29:04 +0200 Subject: 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 --- .../recipes-devtools/python/python3-can_4.4.2.bb | 31 -------------------- .../recipes-devtools/python/python3-can_4.5.0.bb | 34 ++++++++++++++++++++++ 2 files changed, 34 insertions(+), 31 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-can_4.4.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-can_4.5.0.bb diff --git a/meta-python/recipes-devtools/python/python3-can_4.4.2.bb b/meta-python/recipes-devtools/python/python3-can_4.4.2.bb deleted file mode 100644 index 31190a9f1d..0000000000 --- a/meta-python/recipes-devtools/python/python3-can_4.4.2.bb +++ /dev/null @@ -1,31 +0,0 @@ -SUMMARY = "Controller Area Network (CAN) interface module for Python" -HOMEPAGE = "https://github.com/hardbyte/python-can" -SECTION = "devel/python" -LICENSE = "LGPL-3.0-only" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" - -SRC_URI[sha256sum] = "1c46c0935f39f7a9c3e76b03249af0580689ebf7a1844195e92f87257f009df5" - -PYPI_PACKAGE = "python_can" -UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" - -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} += "\ - python3-aenum \ - python3-asyncio \ - python3-codecs \ - python3-compression \ - python3-ctypes \ - python3-fcntl \ - python3-json \ - python3-logging \ - python3-misc \ - python3-netserver \ - python3-packaging \ - python3-pkg-resources \ - python3-setuptools \ - python3-sqlite3 \ - python3-typing-extensions \ - python3-wrapt \ -" diff --git a/meta-python/recipes-devtools/python/python3-can_4.5.0.bb b/meta-python/recipes-devtools/python/python3-can_4.5.0.bb new file mode 100644 index 0000000000..8e32cee622 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-can_4.5.0.bb @@ -0,0 +1,34 @@ +SUMMARY = "Controller Area Network (CAN) interface module for Python" +HOMEPAGE = "https://github.com/hardbyte/python-can" +SECTION = "devel/python" +LICENSE = "LGPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e6a600fd5e1d9cbde2d983680233ad02" + +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 \ + python3-codecs \ + python3-compression \ + python3-ctypes \ + python3-fcntl \ + python3-json \ + python3-logging \ + python3-misc \ + python3-msgpack \ + python3-netserver \ + python3-packaging \ + python3-pkg-resources \ + python3-setuptools \ + python3-sqlite3 \ + python3-typing-extensions \ + python3-wrapt \ +" -- cgit v1.2.3-54-g00ecf