From patchwork Sat Sep 5 06:28:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 97343 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 0CDFBC79F97 for ; Sat, 5 Sep 2026 06:28:41 +0000 (UTC) Received: from a27-30.smtp-out.us-west-2.amazonses.com (a27-30.smtp-out.us-west-2.amazonses.com [54.240.27.30]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.3420.1788589718394920524 for ; Fri, 04 Sep 2026 23:28:38 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=Y5CxP97D; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=So+dYAAq; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.30, mailfrom: 010101a0704137ed-ae20cb01-8f0f-46d2-b22a-1e80c81b37e6-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1788589717; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date; bh=Dqdv07VqRbE2FecI2HUSrNCc6qqFVbgn5/ATiVCHGww=; b=Y5CxP97DiilfZmOA5mzJUb6g5RPu6JV/AaeClJu9ZmqKgKdK8z4/Vi82v+/HS6ql zH6mRcnMFQqI50no7aX4OFR9yNxc/lgE7B1cy5NcRo+ZmBC3DE1qluYpyE+cSpntXEk Cx5XmCn2x3kTnG3KIWu8d4JjkDFlR004nK2Br3PY= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1788589717; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date:Feedback-ID; bh=Dqdv07VqRbE2FecI2HUSrNCc6qqFVbgn5/ATiVCHGww=; b=So+dYAAqLvlO0vCcdcxUB1tl1KakTho4kMw2D4Vp9WhyuhSMx177krcXskB5pcHF Swvmgwgn42rZA23GJwwkUQ4wXyNhzZyfjT5Lrot1zF5u6aTSRVdBlS7w4ZYU3essV1k Um9hdBU1lEz8cz5bUJ505wI6BzgrPV+0o4yiJ9N4= MIME-Version: 1.0 From: auh@yoctoproject.org To: openembedded-core@lists.openembedded.org Subject: [AUH] swig: upgrading to 4.5.1 SUCCEEDED Message-ID: <010101a0704137ed-ae20cb01-8f0f-46d2-b22a-1e80c81b37e6-000000@us-west-2.amazonses.com> Date: Sat, 5 Sep 2026 06:28:37 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.09.05-54.240.27.30 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 05 Sep 2026 06:28:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/245141 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *swig* to *4.5.1* has Succeeded. Next steps: - apply the patch: git am 0001-swig-upgrade-4.5.0-4.5.1.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 7ea2f01a27cdd3138e94f3a56db8092fb6a73655 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Sat, 5 Sep 2026 06:22:38 +0000 Subject: [PATCH] swig: upgrade 4.5.0 -> 4.5.1 Source: CHANGES Version 4.5.0 (06 Aug 2026) =========================== 2026-08-04: Nerixyz #3526 Fix the scope of a template argument being added twice when the argument is named through an alias declaration of a template instantiation, for example: namespace space1 { struct Point { int x; }; template struct Holder { using size_type = int; }; } using PointHolder = space1::Holder; using PointSizeHolder = space1::Holder; generated space1::space1::Point in the wrappers, which did not compile. 2026-08-04: wsfulton [Python] #3473 Generated .pyi stub files now use valid bodies for classes without wrapped members and include imports needed by base classes from %import directives. 2026-08-04: wsfulton [Python] #3473 Add the %pythonstubcode and %pythonstubbegin directives for adding Python code to the .pyi stub file generated by the -pyi and -pyifile options. They are the stub file equivalents of %pythoncode and %pythonbegin and do nothing unless a stub file is being generated. For example: %pythonstubcode %{ import collections.abc %} pyabc.i uses this to import collections.abc into the stub file, so that the abstract base classes it adds with %pythonabc resolve for a type checker. 2026-08-03: wsfulton [Python] When using -builtin, internal new_ prefixed entry points for alternate constructors were mistakenly exposed by the low-level C/C++ module. This occurred for constructors explicitly renamed with %rename, constructor template instantiations named with %template, and synthesized default constructors for C structs renamed with %rename. These constructors are now exported only under their public names, without aliases in the generated Python module. *** POTENTIAL INCOMPATIBILITY *** 2026-08-02: wsfulton [Python] #735 Added the -typehints command line option, which turns on PEP 484 type hints for the whole interface, equivalent to using the global feature: %feature("python:annotations", "typing"); The python:annotations feature takes precedence over the option, so it can still be used to override it for individual symbols. A feature value of "0" turns the type hints off again: %feature("python:annotations", "0") no_hints; The SWIGPYTHON_TYPEHINTS preprocessor symbol is defined when using -typehints. 2026-08-02: Nerixyz, wsfulton [Python] #3469 Fix the PEP 484 type hint generated for a function with more than one output value. Such a function returns the values in a Python [Changelog truncated as it exceeds 3000 characters; the full changelog can be found in an attachment to the AUH email] --- meta/recipes-devtools/swig/swig/determinism.patch | 2 +- meta/recipes-devtools/swig/{swig_4.5.0.bb => swig_4.5.1.bb} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-devtools/swig/{swig_4.5.0.bb => swig_4.5.1.bb} (94%) diff --git a/meta/recipes-devtools/swig/swig/determinism.patch b/meta/recipes-devtools/swig/swig/determinism.patch index 9b021091cd..c298dec322 100644 --- a/meta/recipes-devtools/swig/swig/determinism.patch +++ b/meta/recipes-devtools/swig/swig/determinism.patch @@ -1,4 +1,4 @@ -From 218e2a20ff978cb28fefdf7b35af8a27768df4db Mon Sep 17 00:00:00 2001 +From db5d5b5fc68eb99ea69f85dfadde541c786ac6d1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 10 Aug 2026 11:13:20 +0000 Subject: [PATCH] swig: Fix reproducibility issue diff --git a/meta/recipes-devtools/swig/swig_4.5.0.bb b/meta/recipes-devtools/swig/swig_4.5.1.bb similarity index 94% rename from meta/recipes-devtools/swig/swig_4.5.0.bb rename to meta/recipes-devtools/swig/swig_4.5.1.bb index 161c23f0af..250fc57a3a 100644 --- a/meta/recipes-devtools/swig/swig_4.5.0.bb +++ b/meta/recipes-devtools/swig/swig_4.5.1.bb @@ -15,7 +15,7 @@ DEPENDS = "libpcre2 bison-native" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ file://determinism.patch \ " -SRC_URI[sha256sum] = "22ae0e887f8cca8031a325c67d005207653200b40e71edb3f88780e28e47d0ff" +SRC_URI[sha256sum] = "7fec50b27deddab5455a9633780b6341eddfb96215a7619e93a76eb27178f653" UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/swig/files/swig/" UPSTREAM_CHECK_REGEX = "swig-(?P\d+(\.\d+)+)"