From: "Thomas Roos" <roosesweb@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Thomas Roos <thomas@roosesweb.de>
Subject: [meta-python][PATCH 2/6] python3-pint: add missing runtime dependencies
Date: Sun, 8 Nov 2026 20:25:45 +0100 [thread overview]
Message-ID: <20261108192549.1082715-3-thomas@roosesweb.de> (raw)
In-Reply-To: <20261108192549.1082715-1-thomas@roosesweb.de>
pint requires flexcache, flexparser and typing-extensions, but only the
ptest package pulled in flexcache and flexparser, so "import pint" fails
with "No module named 'flexcache'" on an image without the ptest.
pint is extended to native and nativesdk, so flexcache and flexparser
are as well.
AI-Generated: Claude Code, Claude Opus 5.5
Signed-off-by: Thomas Roos <thomas@roosesweb.de>
---
meta-python/recipes-devtools/python/python3-flexcache_0.3.bb | 2 ++
.../recipes-devtools/python/python3-flexparser_0.4.bb | 2 ++
meta-python/recipes-devtools/python/python3-pint_0.26.2.bb | 5 +++--
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb
index d46f9eb16f..efdeaabf1b 100644
--- a/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb
+++ b/meta-python/recipes-devtools/python/python3-flexcache_0.3.bb
@@ -18,3 +18,5 @@ RDEPENDS:${PN} += " \
python3-pickle \
python3-typing-extensions \
"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb
index e4e15d1a35..7ab1c713f9 100644
--- a/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb
+++ b/meta-python/recipes-devtools/python/python3-flexparser_0.4.bb
@@ -18,3 +18,5 @@ RDEPENDS:${PN} += " \
python3-email \
python3-logging \
"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-pint_0.26.2.bb b/meta-python/recipes-devtools/python/python3-pint_0.26.2.bb
index f370da6a57..dba437a0dd 100644
--- a/meta-python/recipes-devtools/python/python3-pint_0.26.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pint_0.26.2.bb
@@ -17,15 +17,16 @@ BBCLASSEXTEND = "native nativesdk"
PTEST_PYTEST_DIR = "pint"
RDEPENDS:${PN} += " \
+ python3-flexcache \
+ python3-flexparser \
python3-packaging \
python3-platformdirs \
+ python3-typing-extensions \
"
# python3-misc for timeit.py
RDEPENDS:${PN}-ptest += " \
python3-appdirs \
python3-attrs \
- python3-flexcache \
- python3-flexparser \
python3-misc \
python3-pytest-benchmark \
python3-pytest-subtests \
--
2.56.0
next prev parent reply other threads:[~2026-11-08 19:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 19:25 [meta-python][PATCH 0/6] Fixes for pika, pint, haversine and httpx2 Thomas Roos
2026-11-08 19:25 ` [meta-python][PATCH 1/6] python3-pika: build the 1.4.4 release Thomas Roos
2026-11-08 19:25 ` Thomas Roos [this message]
2026-11-08 19:25 ` [meta-python][PATCH 3/6] python3-haversine: keep working when numba fails to import Thomas Roos
2026-11-08 19:25 ` [meta-python][PATCH 4/6] python3-truststore: add recipe Thomas Roos
2026-11-08 19:25 ` [meta-python][PATCH 5/6] python3-httpcore2: " Thomas Roos
2026-11-08 19:25 ` [meta-python][PATCH 6/6] python3-httpx2: add missing runtime dependencies Thomas Roos
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=20261108192549.1082715-3-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox