python3-pint: add missing runtime dependencies

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>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Thomas Roos authored and Khem Raj committed 2026-11-08 16:03:26 -08:00
1 parent ee6191823a
commit 247ed1a843
3 files changed
+7 -2

No files matched your search

@@ -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 \