diff mbox series

[meta-python,v3,3/3] python3-yarl: support reproducibility

Message ID 20250926015937.2916794-3-hongxu.jia@windriver.com
State New
Headers show
Series [meta-python,v3,1/3] python3-frozenlist: support reproducibility | expand

Commit Message

Hongxu Jia Sept. 26, 2025, 1:59 a.m. UTC
In order to make the generated library be reproducible, build wheel
in source dir other than tmp dir (/tmp/xxxxxx), then yocto toolchain's
option -fdebug-prefix-map could work as expected

This commit shares the patch 0001-build-wheel-in-place.patch of
python3-frozenlist in meta-python/recipes-devtools/python/files

Note: To support reproducible, it also requires oe-core commit [1] to be merged

[1] https://git.openembedded.org/openembedded-core/commit/?id=61d98d12eca1c7bdf3b7387a820c83d3b8fad965

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb b/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb
index bbf9e3d782..6eedcf0f82 100644
--- a/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb
+++ b/meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb
@@ -9,6 +9,10 @@  PYPI_PACKAGE = "yarl"
 
 inherit pypi ptest-python-pytest python_setuptools_build_meta cython
 
+SRC_URI += " \
+    file://0001-build-wheel-in-place.patch \
+"
+
 DEPENDS += " \
     python3-expandvars-native \
 "