diff mbox series

[meta-python,2/2] python3-typer: add missing runtime dependencies

Message ID 20260802155139.4128822-3-iwanicki92@gmail.com
State Under Review
Headers show
Series Fix runtime dependencies of 2 python packages | expand

Commit Message

iwanicki92 Aug. 2, 2026, 3:51 p.m. UTC
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>
---
 .../recipes-devtools/python/python3-typer_0.27.0.bb | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)
diff mbox series

Patch

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