All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 0/2] Fix runtime dependencies of 2 python packages
@ 2026-08-02 15:51 iwanicki92
  2026-08-02 15:51 ` [meta-python][PATCH 1/2] python3-rich: add missing runtime dependencies iwanicki92
  2026-08-02 15:51 ` [meta-python][PATCH 2/2] python3-typer: " iwanicki92
  0 siblings, 2 replies; 3+ messages in thread
From: iwanicki92 @ 2026-08-02 15:51 UTC (permalink / raw)
  To: openembedded-devel

Those packages are python3-rich and python3-typer.
Packages are completely unusable if they are the
only python packages installed due to missing many
runtime dependencies.

iwanicki92 (2):
  python3-rich: add missing runtime dependencies
  python3-typer: add missing runtime dependencies

 .../python/python3-typer_0.27.0.bb            | 13 ++++++++----
 .../python-rich/python3-rich_15.0.0.bb        | 21 ++++++++++++++-----
 2 files changed, 25 insertions(+), 9 deletions(-)

-- 
2.55.0



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [meta-python][PATCH 1/2] python3-rich: add missing runtime dependencies
  2026-08-02 15:51 [meta-python][PATCH 0/2] Fix runtime dependencies of 2 python packages iwanicki92
@ 2026-08-02 15:51 ` iwanicki92
  2026-08-02 15:51 ` [meta-python][PATCH 2/2] python3-typer: " iwanicki92
  1 sibling, 0 replies; 3+ messages in thread
From: iwanicki92 @ 2026-08-02 15:51 UTC (permalink / raw)
  To: openembedded-devel

`python3-markdown-it-py` was missing along with some python3 modules.
I went through the code and added everything imported that I noticed,
except modules imported on Windows.

Signed-off-by: iwanicki92 <iwanicki92@gmail.com>
---
 .../python-rich/python3-rich_15.0.0.bb        | 21 ++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/meta-python/recipes-extended/python-rich/python3-rich_15.0.0.bb b/meta-python/recipes-extended/python-rich/python3-rich_15.0.0.bb
index 2ab3b2fdbc24..e15e84253548 100644
--- a/meta-python/recipes-extended/python-rich/python3-rich_15.0.0.bb
+++ b/meta-python/recipes-extended/python-rich/python3-rich_15.0.0.bb
@@ -12,10 +12,21 @@ SRC_URI[sha256sum] = "edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b
 
 inherit pypi python_poetry_core
 
-RDEPENDS:${PN} = "python3-html \
-                  python3-image \
-                  python3-pygments \
-                  python3-unixadmin \
-                  "
+RDEPENDS:${PN} = " \
+    python3-datetime \
+    python3-html \
+    python3-image \
+    python3-io \
+    python3-json \
+    python3-logging \
+    python3-markdown-it-py \
+    python3-math \
+    python3-mmap \
+    python3-numbers \
+    python3-pickle \
+    python3-pygments \
+    python3-threading \
+    python3-unixadmin \
+"
 
 BBCLASSEXTEND = "native nativesdk"
-- 
2.55.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [meta-python][PATCH 2/2] python3-typer: add missing runtime dependencies
  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
  1 sibling, 0 replies; 3+ messages in thread
From: iwanicki92 @ 2026-08-02 15:51 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-02 15:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [meta-python][PATCH 2/2] python3-typer: " iwanicki92

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.