| Message ID | 20261123143531.3985105-1-thomas@roosesweb.de |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-python] python3-orjson: drop maturin and mypy from RDEPENDS | expand |
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 }
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(-)