* [meta-python][PATCH] python3-orjson: drop maturin and mypy from RDEPENDS
@ 2026-11-23 14:35 Thomas Roos
0 siblings, 0 replies; only message in thread
From: Thomas Roos @ 2026-11-23 14:35 UTC (permalink / raw)
To: openembedded-devel; +Cc: Thomas Roos
orjson has no runtime dependencies (its PyPI metadata lists none).
maturin is the build backend and is already in DEPENDS as
python3-maturin-native; mypy is only used by the upstream type checks.
As runtime dependencies they pull rust, cargo, gcc, g++ and binutils
into every image that has orjson: about 630 MB on a Home Assistant
image for raspberrypi-armv8, most of a 4 GB rootfs slot.
AI-Generated: Claude Code, Claude Opus 5.5
Signed-off-by: Thomas Roos <thomas@roosesweb.de>
---
Tested on top of master 2b551b71ca for qemux86-64: the python3-orjson
ptest (meta-python-image-ptest-python3-orjson) passes (1633 passed), and
meta-homeassistant's core-image-homeassistant-full, which uses orjson,
builds and passes its testimage without maturin and mypy in the image.
AI disclosure: the change and the commit message were written with
Claude Code (Claude Opus 5.5), as the AI-Generated tag says. I reviewed
the change, ran the tests above and can answer for it.
meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb b/meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb
index cad988c2f7..36a2054d94 100644
--- a/meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb
+++ b/meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb
@@ -18,8 +18,6 @@ SRC_URI += " \
"
DEPENDS = "python3-maturin-native"
-RDEPENDS:${PN} += "python3-maturin python3-mypy"
-
do_compile:prepend() {
sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml
}
--
2.56.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 14:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-23 14:35 [meta-python][PATCH] python3-orjson: drop maturin and mypy from RDEPENDS Thomas Roos
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.