The upstream tarball fetched from pypi contains `.hash` files like these:

  $ cat aiohttp/.hash/hdrs.py.hash
  a46ad6c3a2faf8d26a2c6afc1a2210ce379a23f2799fce7b26a01f6ce5a40642  
/home/runner/work/aiohttp/aiohttp/aiohttp/hdrs.py

These file trigger the relatively new HOME buildpath check _if_ the recipe
happens to be built by someone with HOME set to /home/runner
(for example someone building in a GitHub workflow):

  ERROR: python3-aiohttp-3.14.1-r0 do_package_qa: QA Issue:
  File /usr/lib/python3.14/site-packages/aiohttp/.hash/hdrs.py.hash
  in package python3-aiohttp contains a reference to the build host HOME 
directory.
  If upstream hardcodes a directory path that matches your home,
  you can set OEQA_BUILDPATHS_SKIP = "/home/runner" in the recipe. [buildpaths]

Follow the suggested fix of setting `OEQA_BUILDPATHS_SKIP`.
See also openembedded-core commit ee29a9132a ("oeqa: allow exceptions in
buildpath HOME checks") for an example of `OEQA_BUILDPATHS_SKIP` used.

Signed-off-by: Leonard Göhrs <[email protected]>
---
 meta-python/recipes-devtools/python/python3-aiohttp_3.14.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.1.bb 
b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.1.bb
index a2267ea23c..656cef368a 100644
--- a/meta-python/recipes-devtools/python/python3-aiohttp_3.14.1.bb
+++ b/meta-python/recipes-devtools/python/python3-aiohttp_3.14.1.bb
@@ -35,3 +35,5 @@ RDEPENDS:${PN} = "\
 CFLAGS:append:toolchain-gcc:arm = " -flax-vector-conversions"
 
 BBCLASSEXTEND = "native nativesdk"
+
+OEQA_BUILDPATHS_SKIP = "/home/runner"
-- 
2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#128059): 
https://lists.openembedded.org/g/openembedded-devel/message/128059
Mute This Topic: https://lists.openembedded.org/mt/120154568/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to