diff mbox series

[meta-python] python3-watchdog: Remove obsolete dependencies

Message ID 20260119125748.1199952-1-niko.mauno@vaisala.com
State New
Headers show
Series [meta-python] python3-watchdog: Remove obsolete dependencies | expand

Commit Message

Niko Mauno Jan. 19, 2026, 12:57 p.m. UTC
From: Tero Kinnunen <tero.kinnunen@vaisala.com>

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 <tero.kinnunen@vaisala.com>
---
 .../recipes-devtools/python/python3-watchdog_6.0.0.bb    | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb b/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb
index 4f56e81049..40abfbfa38 100644
--- a/meta-python/recipes-devtools/python/python3-watchdog_6.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-watchdog_6.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] = "9ddf7c82fda3ae8e24decda1338ede66e1c99883db93711d8fb941eaa2
 
 inherit pypi setuptools3
 
-RDEPENDS:${PN} = " \
-    python3-argh \
-    python3-pathtools3 \
-    python3-pyyaml \
-    python3-requests \
-"
+PACKAGECONFIG ??= "watchmedo"
+PACKAGECONFIG[watchmedo] = ",,,python3-pyyaml"
 
 BBCLASSEXTEND = "native nativesdk"