diff mbox series

[AUH] swig: upgrading to 4.5.1 SUCCEEDED

Message ID 010101a0704137ed-ae20cb01-8f0f-46d2-b22a-1e80c81b37e6-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] swig: upgrading to 4.5.1 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Sept. 5, 2026, 6:28 a.m. UTC
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 <auh@yoctoproject.org>
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 <typename T> struct Holder { using size_type = int; };
              }
              using PointHolder = space1::Holder<space1::Point>;
              using PointSizeHolder = space1::Holder<PointHolder::size_type>;

            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 mbox series

Patch

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 <richard.purdie@linuxfoundation.org>
 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<pver>\d+(\.\d+)+)"