summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2026-04-07 16:48:20 +0800
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-04-10 17:25:49 -0700
commit389cf85390f50cbfde89bf64dfe978fd3a35771c (patch)
tree726d89e3631dcf6e5a8e0d133a59da90e33f61df /meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb
parentabf8a5cfec05c33b61c0b0728978ee0725c746ae (diff)
downloadmeta-openembedded-389cf85390f50cbfde89bf64dfe978fd3a35771c.tar.gz
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 <li.zhou@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pytest-runner_6.0.1.bb4
1 files changed, 4 insertions, 0 deletions
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"
5 5
6SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b" 6SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b"
7 7
8SRC_URI += " \
9 file://0001-Not-use-functions-from-pkg_resources-any-more.patch \
10 "
11
8inherit pypi python_setuptools_build_meta 12inherit pypi python_setuptools_build_meta
9 13
10DEPENDS += " \ 14DEPENDS += " \