python3-orjson: drop maturin and mypy from RDEPENDS
PATCH 1/1 python3-orjson: drop maturin and mypy from RDEPENDS
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
---
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(-)
meta-python/recipes-devtools/python/python3-orjson_3.13.0.bb +0 -2
@@ -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 }
Signature · 1 line
2.56.1