Skip to contentSkip to conversation

paho-mqtt-cpp: Use system paho-mqtt-c

PATCH New Khem Raj 1 participant 10 messages Sep 13, 2024 Arm STM32

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/10 paho-mqtt-cpp: Use system paho-mqtt-c

It was an overisight during upgrade

Cc Peter Kjellerstedt <[email protected]>
---
 .../recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-connectivity/paho-mqtt-cpp/paho-mqtt-cpp_1.4.1.bb +1 -1
index d2fbc3a34c..6f2efcda50 100644
@@ -22,4 +22,4 @@ S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += "-DPAHO_WITH_SSL=ON -DPAHO_WITH_MQTT_C=ON -DPAHO_BUILD_EXAMPLES=OFF"
+EXTRA_OECMAKE += "-DPAHO_WITH_SSL=ON -DPAHO_BUILD_EXAMPLES=OFF"
author
#1 lore raw

PATCH 2/10 python3-serpent: Fix typo attr -> attrs

---
 meta-python/recipes-devtools/python/python3-serpent_1.41.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-serpent_1.41.bb +1 -1
index f3cf80a375..9265081fd0 100644
@@ -11,7 +11,7 @@ SRC_URI += " \
 "
 # python3-misc for timeit.py
 RDEPENDS:${PN}-ptest += " \
-    python3-attr \
+    python3-attrs \
     python3-misc \
     python3-pytest \
     python3-pytz \
author
#2 lore raw

PATCH 3/10 python3-tzdata: Add missing attrs modules rdep for ptests

In reply to Khem Raj
---
 meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-tzdata_2024.1.bb +1 -0
index f4454f6dff..d81ded430a 100644
@@ -13,6 +13,7 @@ inherit ptest
 SRC_URI += "file://run-ptest"
 
 RDEPENDS:${PN}-ptest += "\
+    python3-attrs \
     python3-pytest \
     python3-pytest-subtests \
     python3-unittest-automake-output \
author
#3 lore raw

PATCH 4/10 python3-trustme: Add missing ptest rdeps on attrs and six modules

In reply to Khem Raj
---
 meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-trustme_1.1.0.bb +2 -0
index 21161a0e0f..dab18f28b6 100644
@@ -20,10 +20,12 @@ RDEPENDS:${PN} += " \
 "
 
 RDEPENDS:${PN}-ptest += " \
+    python3-attrs \
     python3-pyopenssl \
     python3-pyasn1-modules \
     python3-pytest \
     python3-service-identity \
+    python3-six \
     python3-unittest-automake-output \
 "
 
author
#4 lore raw

PATCH 5/10 python3-service-identity: Fix ptest rdeps

In reply to Khem Raj

Add missing six and attrs modules to runtime deps

---
 .../recipes-devtools/python/python3-service-identity_21.1.0.bb  | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-service-identity_21.1.0.bb +2 -0
index 267bbea13e..a1d6a3c0d8 100644
@@ -20,7 +20,9 @@ RDEPENDS:${PN} += " \
 "
 
 RDEPENDS:${PN}-ptest += " \
+    python3-attrs \
     python3-pytest \
+    python3-six \
     python3-unittest-automake-output \
     python3-pyopenssl \
 "
author
#5 lore raw

PATCH 6/10 python3-fsspec: Add recipe

In reply to Khem Raj
---
 .../python/python3-fsspec_2024.9.0.bb         | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb
meta-python/recipes-devtools/python/python3-fsspec_2024.9.0.bb new file +22 -0
new file mode 100644
index 0000000000..49ca4b3e93
@@ -0,0 +1,22 @@
+SUMMARY = "A specification that python filesystems should adhere to."
+HOMEPAGE = "https://github.com/fsspec/filesystem_spec"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b38a11bf4dcdfc66307f8515ce1fbaa6"
+
+DEPENDS = "python3-hatch-vcs-native python3-hatchling-native"
+SRC_URI[sha256sum] = "4b0afb90c2f21832df142f292649035d80b421f60a9e1c027802e5a0da2b04e8"
+
+inherit pypi python_hatchling ptest
+
+PYPI_PACKAGE = "fsspec"
+
+RDEPENDS:${PN}-ptest += "\
+	python3-pytest \
+	python3-pytest-mock \
+	python3-pytest-asyncio \
+	python3-pytest-cov \
+	python3-pytest-benchmark \
+	python3-aiohttp \
+	python3-numpy \
+	python3-requests \
+"
author
#6 lore raw

PATCH 7/10 ptest-packagelists-meta-python: Add python3-fsspec to fast test list

In reply to Khem Raj
---
 meta-python/conf/include/ptest-packagelists-meta-python.inc | 1 +
 1 file changed, 1 insertion(+)
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
index aa918aa89c..92e64908b1 100644
@@ -24,6 +24,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-flexcache \
     python3-flexparser \
     python3-freezegun \
+    python3-fsspec \
     python3-geojson \
     python3-google-auth-oauthlib \
     python3-gpiod \
author
#7 lore raw

PATCH 8/10 python3-pyyaml-include: Add missing dependencies for ptests

In reply to Khem Raj
---
 .../recipes-devtools/python/python3-pyyaml-include_2.1.bb      | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-pyyaml-include_2.1.bb +3 -0
index 30dde5907b..058699fdf2 100644
@@ -23,6 +23,9 @@ RDEPENDS:${PN} += " \
     python3-pyyaml \
 "
 RDEPENDS:${PN}-ptest += " \
+    python3-fsspec \
+    python3-aiohttp \
+    python3-requests \
     python3-pytest \
     python3-unittest-automake-output \
 "
author
#8 lore raw

PATCH 9/10 python3-py-cpuinfo: Fix ptest runtime deps

In reply to Khem Raj
---
 meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +1 -0
index 20a4011313..2d59a99b14 100644
@@ -27,6 +27,7 @@ do_install_ptest() {
 }
 
 RDEPENDS:${PN}-ptest += "\
+    python3-compile \
     python3-pytest \
     python3-unittest-automake-output \
 "
author
#9 lore raw

PATCH 10/10 python3-flask: Add missing ptest deps

In reply to Khem Raj
---
 meta-python/recipes-devtools/python/python3-flask_3.0.3.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-flask_3.0.3.bb +4 -0
index 98e773008c..de755dc294 100644
@@ -28,6 +28,10 @@ RDEPENDS:${PN} = " \
     python3-werkzeug \
 "
 
+RDEPENDS:${PN}-ptest += "\
+    python3-pytest \
+    python3-unittest-automake-output \
+"
 do_install_ptest() {
         install -d ${D}${PTEST_PATH}/tests
         cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/