From dab9004db6063ad3ad16b94a91f5e47fbde8db45 Mon Sep 17 00:00:00 2001 From: "Bai, Haiqing" Date: Fri, 3 Apr 2026 03:38:41 +0000 Subject: python3-stopit: Fixed the deprecated pkg_resources issue pkg_resources is deprecated as an API. The pkg_resources package has been removed from setuptools, so the way of obtaining the version needs to be replaced with importlib.metadata module. Signed-off-by: Bai, Haiqing Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb') 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 a952722619..a83adffcd2 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 @@ -2,7 +2,6 @@ SUMMARY = "Raise asynchronous exceptions in other threads, control the timeout o HOMEPAGE = "https://pypi.org/project/stopit/" SECTION = "devel/python" -SRC_URI += " file://LICENSE " LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${UNPACKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93" @@ -10,6 +9,11 @@ SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e7 inherit pypi setuptools3 +SRC_URI += "\ + file://LICENSE \ + file://0001-Drop-the-deprecated-pkg_resources.patch \ +" + RDEPENDS:${PN} += "\ python3-setuptools \ " -- cgit v1.2.3-54-g00ecf