Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: iwanicki92 <iwanicki92@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-python][PATCH 2/2] python3-typer: add missing runtime dependencies
Date: Sun,  2 Aug 2026 17:51:39 +0200	[thread overview]
Message-ID: <20260802155139.4128822-3-iwanicki92@gmail.com> (raw)
In-Reply-To: <20260802155139.4128822-1-iwanicki92@gmail.com>

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



      parent reply	other threads:[~2026-08-02 15:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-02 15:51 [meta-python][PATCH 0/2] Fix runtime dependencies of 2 python packages iwanicki92
2026-08-02 15:51 ` [meta-python][PATCH 1/2] python3-rich: add missing runtime dependencies iwanicki92
2026-08-02 15:51 ` iwanicki92 [this message]

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=20260802155139.4128822-3-iwanicki92@gmail.com \
    --to=iwanicki92@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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