| Message ID | 20260407032038.1474520-2-haiqing.bai@windriver.com |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [meta-python,v2,1/2] python3-stopit: Fixed the deprecated pkg_resources issue | expand |
diff --git a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb index a83adffcd2..2cf7742a90 100644 --- a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb @@ -14,8 +14,4 @@ SRC_URI += "\ file://0001-Drop-the-deprecated-pkg_resources.patch \ " -RDEPENDS:${PN} += "\ - python3-setuptools \ - " - BBCLASSEXTEND = "native nativesdk"
From: "Bai, Haiqing" <Haiqing.Bai@windriver.com> This reverts commit 812f091414b34dbebe4a3990c9039cbaadc4dd71. The runtime dependency on python3-setuptools is no longer needed since the patch 0001-Drop-the-deprecated-pkg_resources.patch replaced the pkg_resources usage with importlib.metadata, which is part of the Python 3.8+ standard library. Keeping this RDEPENDS pulls in an unnecessary dependency on the target system. --- meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb | 4 ---- 1 file changed, 4 deletions(-)