python3-typer: add missing runtime dependencies

Move `rich` and `shellingham` from `ptest` to main package as `typer`
depends on them. Remove `click` since it was vendored in 0.26.0 and
`typing-extensions` since it isn't mentioned in pyproject.toml, and the
only use is in module that is loaded when running on Windows.

Add missing `annotated-doc` package rdependency, and missing python3
modules (went through the code to check the imports)

Signed-off-by: iwanicki92 <iwanicki92@gmail.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
iwanicki92
2026-08-02 17:51:39 +02:00
committed by Khem Raj
parent 45e6e47491
commit 6a5660078e
@@ -18,8 +18,15 @@ SRC_URI:append = " \
PYPI_PACKAGE = "typer"
RDEPENDS:${PN} += "\
python3-click \
python3-typing-extensions \
python3-annotated-doc \
python3-datetime \
python3-difflib \
python3-io \
python3-math \
python3-rich \
python3-shell \
python3-shellingham \
python3-threading \
"
# python3-misc for webbrowser module
RDEPENDS:${PN}-ptest += "\
@@ -32,8 +39,6 @@ RDEPENDS:${PN}-ptest += "\
python3-pytest-cov \
python3-pytest-sugar \
python3-pytest-xdist \
python3-rich \
python3-shellingham \
python3-toml \
python3-unittest-automake-output \
"