Skip to contentSkip to conversation

python3-requests-toolbelt: add BBCLASSEXTEND: native nativesdk

PATCH In review Tom Geelen 2 participants 10 messages Nov 5, 2025

lore
Share & tools
lore

Tom Geelen

author
#0 lore raw

PATCH 1/8 python3-requests-toolbelt: add BBCLASSEXTEND: native nativesdk

---
 .../recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb  | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +2 -0
index 8956dee1f1..f74f967bc1 100644
@@ -32,3 +32,5 @@ do_install_ptest:append() {
 	# downloaded file is not supported
 	rm -f ${D}${PTEST_PATH}/tests/test_multipart_encoder.py
 }
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
author
#1 lore raw

PATCH 2/8 python3-sqlalchemy: add missing RDEPENDS on python3-greenlet

When checking with 'pip check' on any target pip reports that this is a missing dependency.

---
 meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.44.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.44.bb +1 -0
index 5bbd79a93a..d17901a031 100644
@@ -19,6 +19,7 @@ RDEPENDS:${PN} += " \
     python3-profile \
     python3-threading \
     python3-typing-extensions \
+    python3-greenlet \
 "
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
author
#2 lore raw

PATCH 3/8 python3-yarl: add BBCLASSEXTEND = "native nativesdk"

In reply to Tom Geelen
---
 meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-yarl_1.22.0.bb +1 -0
index 6be8a6773c..6c2e2259b7 100644
@@ -33,3 +33,4 @@ RDEPENDS:${PN}-ptest += " \
     python3-unittest-automake-output \
 "
 
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0
author
#3 lore raw

PATCH 4/8 python3-orjson: upgrade to 3.11.3

In reply to Tom Geelen
---
 .../{python3-orjson_3.10.17.bb => python3-orjson_3.11.3.bb}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-orjson_3.10.17.bb => python3-orjson_3.11.3.bb} (84%)
meta-python/recipes-devtools/python/python3-orjson_3.11.3.bb renamed from meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb +1 -1
similarity index 84%
rename from meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb
rename to meta-python/recipes-devtools/python/python3-orjson_3.11.3.bb
index 7db76c9415..7fdd0fef9b 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/orjson/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d"
 
-SRC_URI[sha256sum] = "28eeae6a15243966962b658dfcf7bae9e7bb1f3260dfcf0370dbd41f5ff6058b"
+SRC_URI[sha256sum] = "1c0603b1d2ffcd43a411d64797a19556ef76958aef1c182f22dc30860152a98a"
 
 require ${BPN}-crates.inc
 
Signature · 1 line
2.43.0
author
#4 lore raw

PATCH 5/8 python3-orjson: add missing LICENSE

In reply to Tom Geelen

python3-orjson is dual licensed. Apache-2.0 was missing.

---
 .../recipes-devtools/python/python3-orjson_3.11.3.bb       | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-python/recipes-devtools/python/python3-orjson_3.11.3.bb +5 -2
index 7fdd0fef9b..694367767d 100644
@@ -1,7 +1,10 @@
 SUMMARY = "orjson is a fast, correct JSON library for Python"
 HOMEPAGE = "https://pypi.org/project/orjson/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d"
+LICENSE = "Apache-2.0 | MIT"
+LIC_FILES_CHKSUM = "\
+    file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d \
+    file://LICENSE-APACHE;md5=1836efb2eb779966696f473ee8540542 \
+"
 
 SRC_URI[sha256sum] = "1c0603b1d2ffcd43a411d64797a19556ef76958aef1c182f22dc30860152a98a"
 
Signature · 1 line
2.43.0
author
#5 lore raw

PATCH 6/8 New recipe: python3-pytest-httpx

In reply to Tom Geelen

pytest fixture to mock HTTPX

---
 .../python/python3-pytest-httpx_0.35.0.bb         | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.0.bb
meta-python/recipes-devtools/python/python3-pytest-httpx_0.35.0.bb new file +15 -0
new file mode 100644
index 0000000000..45a6ebdf16
@@ -0,0 +1,15 @@
+SUMMARY = "Send responses to httpx."
+HOMEPAGE = "https://github.com/Colin-b/pytest_httpx"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=80d06bde9296c367ea063b11e9518842"
+RECIPE_MAINTAINER = "Tom Geelen <[email protected]>"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+SRC_URI[sha256sum] = "d619ad5d2e67734abfbb224c3d9025d64795d4b8711116b1a13f72a251ae511f"
+
+inherit pypi python_setuptools_build_meta
+
+PYPI_PACKAGE = "pytest_httpx"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+RDEPENDS:${PN} = "python3-httpx python3-pytest"
Signature · 1 line
2.43.0
author
#6 lore raw

PATCH 7/8 new recipe: python3-pytest-picked

In reply to Tom Geelen

Run the tests related to the unstaged files or the current branch (according to Git)

---
 .../python/python3-pytest-picked_0.5.1.bb          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb
meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb new file +14 -0
new file mode 100644
index 0000000000..5bea05a036
@@ -0,0 +1,14 @@
+SUMMARY = "Run the tests related to the changed files"
+HOMEPAGE = "https://github.com/anapaulagomes/pytest-picked"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d374a27c85c3fcc979009952ec16f1b"
+RECIPE_MAINTAINER = "Tom Geelen <[email protected]>"
+
+SRC_URI[sha256sum] = "6634c4356a560a5dc3dba35471865e6eb06bbd356b56b69c540593e9d5620ded"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+PYPI_PACKAGE = "pytest_picked"
+RDEPENDS:${PN} = "python3-pytest (>=3.7.0)"
+
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Signature · 1 line
2.43.0
#7 lore raw

Re: [oe] [meta-python][PATCH 7/8] new recipe: python3-pytest-picked

Quoted 27 lines · Tom Geelen via lists.openembedded.org

Run the tests related to the unstaged files or the current branch (according to Git)

---
 .../python/python3-pytest-picked_0.5.1.bb          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-pytest-picked_0.5.1.bb

(quoted diff) +0 -0

python3-pytest-picked_0.5.1.bb b/meta-python/recipes-devtools/python/ python3-pytest-picked_0.5.1.bb
new file mode 100644
index 0000000000..5bea05a036

meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb new file +7 -0
@@ -0,0 +1,14 @@
+SUMMARY = "Run the tests related to the changed files"
+HOMEPAGE = "https://github.com/anapaulagomes/pytest-picked"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d374a27c85c3fcc979009952ec16f1b"
+RECIPE_MAINTAINER = "Tom Geelen <[email protected]>"
+
+SRC_URI[sha256sum] =

"6634c4356a560a5dc3dba35471865e6eb06bbd356b56b69c540593e9d5620ded"

meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb

Quoted 2 lines
meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb new file +2 -0
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest

I think the test should be enabled as well for
e.g. meta-python-image-ptest-all
please add it to conf/include/ptest-packagelists-meta-python.inc as well.

Quoted 20 lines
meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb new file +5 -1
+
+PYPI_PACKAGE = "pytest_picked"
+RDEPENDS:${PN} = "python3-pytest (>=3.7.0)"
+
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#121336):
https://lists.openembedded.org/g/openembedded-devel/message/121336
Mute This Topic: https://lists.openembedded.org/mt/116142683/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#8 lore raw

PATCH 8/8 new recipe: python3-pytest-retry

In reply to Tom Geelen

pytest-retry is a plugin for Pytest which adds the ability to retry flaky tests, thereby improving the consistency of the test suite results.

---
 .../python/python3-pytest-retry_1.7.0.bb            | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb
meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb new file +13 -0
new file mode 100644
index 0000000000..f70adca68f
@@ -0,0 +1,13 @@
+SUMMARY = "Adds the ability to retry flaky tests in CI environments"
+HOMEPAGE = "https://github.com/str0zzapreti/pytest-retry"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c25bd3d1db774af27b10acd6f80bf939"
+RECIPE_MAINTAINER = "Tom Geelen <[email protected]>"
+
+SRC_URI[sha256sum] = "f8d52339f01e949df47c11ba9ee8d5b362f5824dff580d3870ec9ae0057df80f"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+PYPI_PACKAGE = "pytest_retry"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+RDEPENDS:${PN} = "python3-pytest"
Signature · 1 line
2.43.0
#9 lore raw

Re: [oe] [meta-python][PATCH 8/8] new recipe: python3-pytest-retry

Quoted 27 lines · Tom Geelen via lists.openembedded.org

pytest-retry is a plugin for Pytest which adds the ability to retry flaky tests, thereby improving the consistency of the test suite results.

---
 .../python/python3-pytest-retry_1.7.0.bb            | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-pytest-retry_1.7.0.bb

(quoted diff) +0 -0

python3-pytest-retry_1.7.0.bb b/meta-python/recipes-devtools/python/ python3-pytest-retry_1.7.0.bb
new file mode 100644
index 0000000000..f70adca68f

meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb new file +7 -0
@@ -0,0 +1,13 @@
+SUMMARY = "Adds the ability to retry flaky tests in CI environments"
+HOMEPAGE = "https://github.com/str0zzapreti/pytest-retry"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c25bd3d1db774af27b10acd6f80bf939"
+RECIPE_MAINTAINER = "Tom Geelen <[email protected]>"
+
+SRC_URI[sha256sum] =

"f8d52339f01e949df47c11ba9ee8d5b362f5824dff580d3870ec9ae0057df80f"

meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb

Quoted 2 lines
meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb new file +2 -0
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest

same here as well.

Quoted 19 lines
meta-python/recipes-devtools/python/python3-pytest-retry_1.7.0.bb new file +4 -1
+
+PYPI_PACKAGE = "pytest_retry"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+RDEPENDS:${PN} = "python3-pytest"
--

2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#121337):
https://lists.openembedded.org/g/openembedded-devel/message/121337
Mute This Topic: https://lists.openembedded.org/mt/116142684/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-