[meta-python][PATCH 2/2] python3-typer: add missing runtime dependencies
iwanicki92 <[email protected]> Sun, 2 Aug 2026 17:51:39 +0200
| Newsgroups | org.openembedded.lists.openembedded-devel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]> --- .../recipes-devtools/python/python3-typer_0.27.0.bb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-typer_0.27.0.bb b/meta-python/recipes-devtools/python/python3-typer_0.27.0.bb index 42b5cdc07d03..11c8ff6fccaf 100644 --- a/meta-python/recipes-devtools/python/python3-typer_0.27.0.bb +++ b/meta-python/recipes-devtools/python/python3-typer_0.27.0.bb @@ -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 \ " -- 2.55.0