From patchwork Fri Sep 26 01:59:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongxu Jia X-Patchwork-Id: 71048 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A4482CAC5B0 for ; Fri, 26 Sep 2025 02:00:37 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web11.7519.1758852028629075734 for ; Thu, 25 Sep 2025 19:00:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@windriver.com header.s=PPS06212021 header.b=kdEit4fW; spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=1364979e65=hongxu.jia@windriver.com) Received: from pps.filterd (m0250812.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 58Q1b31P788822 for ; Fri, 26 Sep 2025 02:00:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=windriver.com; h=content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=PPS06212021; bh=ukyByJ8Rj8QeYPlB84cnF7co3XWctJA0+HyRGbzw1Zs=; b=kdEit4fWb1yn IELZ6GlFAswzfSnVdr1IxLcPxNjrZVk9/UCtZiFECSaaa/S6CNbebJwQ4fTylj3i YlTu+40WMjpttNkQK0SdCtWC6BFS6Rkiolj4MrWcW0XF/9yWQNokqvbpra0dopS4 1HhI1mqSCC5CMay4vHU9UNWzBtLjDJJ6DW0U/1weBcMkPN265vK9t70YctVuc3sl nbpHaQh7WtkGB8K/bhjWWwH4H3tstP/tWrtDEoMza8iqiU9r+o7trsqknTJ56B44 5INSRMkfGHCciT3Tk0N+buMF+DFee/ak1y7SSyC1uCEnZaBEZI10fwiGZYpMzm72 O6d0PB2G+g== Received: from ala-exchng01.corp.ad.wrs.com ([128.224.246.36]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 49dbsh89fy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 26 Sep 2025 02:00:27 +0000 (GMT) Received: from ala-exchng01.corp.ad.wrs.com (10.11.224.121) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.59; Thu, 25 Sep 2025 18:59:46 -0700 Received: from pek-lpg-core5.wrs.com (10.11.232.110) by ala-exchng01.corp.ad.wrs.com (10.11.224.121) with Microsoft SMTP Server id 15.1.2507.59 via Frontend Transport; Thu, 25 Sep 2025 18:59:45 -0700 From: Hongxu Jia To: Subject: [meta-python][PATCH v3 3/3] python3-yarl: support reproducibility Date: Fri, 26 Sep 2025 09:59:37 +0800 Message-ID: <20250926015937.2916794-3-hongxu.jia@windriver.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250926015937.2916794-1-hongxu.jia@windriver.com> References: <20250926015937.2916794-1-hongxu.jia@windriver.com> MIME-Version: 1.0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTI2MDAxNSBTYWx0ZWRfX4wINRC1IpptJ ewNrM+UaFMpO1dtwnU/f9LMjmkMA4LW985G06aWeJdxmb1pZBq0u4EyW+hv1vMnZNnhSmz1r04s 72rQOobC6b4ocg8u7TikpCsgC3pAd+V6agxNgzQX6CYWEEgKys8fgYawwk7G6isy2dkweoA67jz wrW0lTxrIakma3ITxKJ9WKCkQgVs4x3437Hzq46r01SonL8k8zRntBOEru41F3ywqbGc1+ZRF5M bw4dlOKDqVfSz9St+660u2HuU4Uw1wa5gZ9g6Ca9tR5X5VkoN1yrdc02URGUFbIfNo+VaGXUG2c nHWvRq2Bd+G9ik27I+LpWlIn3mioLfTBPtQ35e6X4U0ZWFRaiXh+ZgxCqcDHARGIiJoansmQjI8 26Ch0gmy1GvT1picqf5OgjMvIL04AQ== X-Proofpoint-ORIG-GUID: OFig3oeGyTApqCG1gwu5Wyad3S2AhWNS X-Proofpoint-GUID: OFig3oeGyTApqCG1gwu5Wyad3S2AhWNS X-Authority-Analysis: v=2.4 cv=U4WfzOru c=1 sm=1 tr=0 ts=68d5f3bb cx=c_pps a=AbJuCvi4Y3V6hpbCNWx0WA==:117 a=AbJuCvi4Y3V6hpbCNWx0WA==:17 a=yJojWOMRYYMA:10 a=Q4-j1AaZAAAA:8 a=t7CeM3EgAAAA:8 a=KN5EYQx-VXQCu9ShEz4A:9 a=9H3Qd4_ONW2Ztcrla5EB:22 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-26_01,2025-09-25_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 adultscore=0 phishscore=0 impostorscore=0 clxscore=1015 suspectscore=0 bulkscore=0 spamscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2509150000 definitions=main-2509260015 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 26 Sep 2025 02:00:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119890 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 --- meta-python/recipes-devtools/python/python3-yarl_1.20.1.bb | 4 ++++ 1 file changed, 4 insertions(+) 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 \ "