From 0a047efb6761d8859d37bfbbe85f858e0bae8778 Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Fri, 27 Jun 2025 10:26:23 +0200 Subject: python3-moteus: Upgrade 0.3.79 -> 0.3.88 python3-moteus <= 0.3.87 requires numpy<2 [1], but openembedded-core versions newer than styhead provide numpy 2.x [2], causing "pip check" to fail with the following error: moteus 0.3.87 has requirement numpy<2, but you have numpy 2.3.0. This patch resolves the issue by updating python3-moteus to 0.3.88. [1] https://github.com/mjbots/moteus/issues/89 [2] https://layers.openembedded.org/layerindex/recipe/51338/ (cherry picked from commit 9af65f1680d2bb27e7c8911e8912ddeb2e38fe41) (cherry picked from commit 7414d1147ee31fda335df00a7723fa80290d20ed) (cherry picked from commit 980f7e5da4745ee56a42833114bc990412b747be) (cherry picked from commit c2c4428c313cf2de5a3af4b4932e791172000d1c) (all cherry-picks were squashed to this commit) Cc: Leon Anavi Cc: Wang Mingyu Cc: Steve Sakoman Signed-off-by: Richard Leitner Signed-off-by: Armin Kuster --- .../recipes-devtools/python/python3-moteus_0.3.79.bb | 17 ----------------- .../recipes-devtools/python/python3-moteus_0.3.88.bb | 17 +++++++++++++++++ 2 files changed, 17 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-moteus_0.3.79.bb create mode 100644 meta-python/recipes-devtools/python/python3-moteus_0.3.88.bb diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.79.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.79.bb deleted file mode 100644 index 4944e13ff4..0000000000 --- a/meta-python/recipes-devtools/python/python3-moteus_0.3.79.bb +++ /dev/null @@ -1,17 +0,0 @@ -SUMMARY = "moteus brushless controller library and tools" -HOMEPAGE = "https://github.com/mjbots/moteus" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a83f0e709a45e76" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "fae569f0c2e208059e081cf0fcca2e8f71c6c1de582836c745bb884af1e35bf4" - -S = "${WORKDIR}/moteus-${PV}" - -RDEPENDS:${PN} += "\ - python3-can \ - python3-importlib-metadata \ - python3-pyelftools \ - python3-pyserial \ -" diff --git a/meta-python/recipes-devtools/python/python3-moteus_0.3.88.bb b/meta-python/recipes-devtools/python/python3-moteus_0.3.88.bb new file mode 100644 index 0000000000..80557d4959 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-moteus_0.3.88.bb @@ -0,0 +1,17 @@ +SUMMARY = "moteus brushless controller library and tools" +HOMEPAGE = "https://github.com/mjbots/moteus" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://setup.py;beginline=3;endline=9;md5=24025d3c660abfc62a83f0e709a45e76" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "e16387e5fe512a7580ef847e6b2e665d4b40549b064ab237e01fd7dec7c46232" + +S = "${WORKDIR}/moteus-${PV}" + +RDEPENDS:${PN} += "\ + python3-can \ + python3-importlib-metadata \ + python3-pyelftools \ + python3-pyserial \ +" -- cgit v1.2.3-54-g00ecf