diff mbox series

[meta-python] python3-can: upgrade 4.4.2 -> 4.5.0

Message ID 20250626144740.3775245-1-dev@g0hl1n.net
State New
Headers show
Series [meta-python] python3-can: upgrade 4.4.2 -> 4.5.0 | expand

Commit Message

Richard Leitner June 26, 2025, 2:47 p.m. UTC
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/
Signed-off-by: Richard Leitner <richard.leitner@advastore.com>
---
 .../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%)

Comments

Richard Leitner June 26, 2025, 2:50 p.m. UTC | #1
Hi,

please ignore this one.

v2 is out already.

Thanks :-)

regards;rl

On Thu, Jun 26, 2025 at 04:47:40PM +0200, Richard Leitner wrote:
> 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/
> Signed-off-by: Richard Leitner <richard.leitner@advastore.com>
> ---
>  .../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 \
> -- 
> 2.47.2
>
diff mbox series

Patch

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 \