From b2f99046399e6dd3c80195723f89c780ef8ca07d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 22 Oct 2026 17:32:46 -0700 Subject: [PATCH] python3-filelock: Install docs/how-to.rst for ptests test_documented_cache_lock_name reads docs/how-to.rst relative to the tests dir and fails with FileNotFoundError when it is not installed. Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-filelock_4.2.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-filelock_4.2.4.bb b/meta-python/recipes-devtools/python/python3-filelock_4.2.4.bb index ad4efd998b..c0f4f59e17 100644 --- a/meta-python/recipes-devtools/python/python3-filelock_4.2.4.bb +++ b/meta-python/recipes-devtools/python/python3-filelock_4.2.4.bb @@ -40,4 +40,6 @@ RDEPENDS:${PN}-ptest += " \ do_install_ptest:append() { cp -rf ${S}/tasks ${D}${PTEST_PATH}/ cp -f ${S}/pyproject.toml ${D}${PTEST_PATH}/ + # test_documented_cache_lock_name checks snippets in docs/how-to.rst + install -Dm 0644 ${S}/docs/how-to.rst ${D}${PTEST_PATH}/docs/how-to.rst }