All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Thomas Roos" <roosesweb@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Thomas Roos <thomas@roosesweb.de>
Subject: [meta-python][PATCH] python3-orjson: drop maturin and mypy from RDEPENDS
Date: Mon, 23 Nov 2026 15:35:31 +0100	[thread overview]
Message-ID: <20261123143531.3985105-1-thomas@roosesweb.de> (raw)

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


                 reply	other threads:[~2026-11-23 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261123143531.3985105-1-thomas@roosesweb.de \
    --to=roosesweb@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=thomas@roosesweb.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.