What the commit message failed to mention, is that this commit removes the 
unnecessary runtime dependency to package which has LGPL3.0+ license: 
https://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python3-argh_0.31.2.bb?h=scarthgap#n13
 which we believe is a relevant fix also for the LTS Scarthgap branch.
-Niko

On 1/22/26 11:20 AM, Niko Mauno via lists.openembedded.org wrote:
From: Tero Kinnunen <[email protected]>

Python watchdog has removed all dependencies except optional `pyyaml`
dependency for `watchmedo` utility, like follows [1]:

* pathtools dependency was removed in 1.0.0
* python-argh dependency removed in 2.1.6
* requests was never a dependency
* pyyaml only needed for extras (`watchmedo`) and may not be strictly necessary

[1] https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst

Signed-off-by: Tero Kinnunen <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
---
  .../recipes-devtools/python/python3-watchdog_4.0.0.bb    | 9 ++-------
  1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb 
b/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb
index 9e36264d62..a272e25bda 100644
--- a/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-watchdog_4.0.0.bb
@@ -1,5 +1,4 @@
  SUMMARY = "Filesystem events monitoring"
-DEPENDS = "python3-argh"
LICENSE = "Apache-2.0"
  LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
@@ -8,11 +7,7 @@ SRC_URI[sha256sum] = 
"e3e7065cbdabe6183ab82199d7a4f6b3ba0a438c5a512a68559846ccb7
inherit pypi setuptools3 -RDEPENDS:${PN} = " \
-    python3-argh \
-    python3-pathtools3 \
-    python3-pyyaml \
-    python3-requests \
-"
+PACKAGECONFIG ??= "watchmedo"
+PACKAGECONFIG[watchmedo] = ",,,python3-pyyaml"
BBCLASSEXTEND = "native nativesdk"






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124199): 
https://lists.openembedded.org/g/openembedded-devel/message/124199
Mute This Topic: https://lists.openembedded.org/mt/117397268/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to