From bd0afe0669ec19b23de1616efae80b12382b498e Mon Sep 17 00:00:00 2001 From: Li Zhou Date: Tue, 7 Apr 2026 16:48:20 +0800 Subject: python3-pytest-runner: remove using pkg_resources The python3 setuptools 82 dropped pkg_resources module by now. To avoid the failure "No module named 'pkg_resources'", replace the functions from this module with other functions from modules packaging and importlib.metadata. Signed-off-by: Li Zhou Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb b/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb index e5e5e048bd..dd3a8d0234 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb @@ -5,6 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6" SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b" +SRC_URI += " \ + file://0001-Not-use-functions-from-pkg_resources-any-more.patch \ + " + inherit pypi python_setuptools_build_meta DEPENDS += " \ -- cgit v1.2.3-54-g00ecf