Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *python3-mako* to *1.4.0* 
has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-mako-upgrade-1.3.12-1.4.0.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 b35f8eb58c4e4afd954fbd1e76d875bcf95e01ab Mon Sep 17 00:00:00 2001
From: Upgrade Helper <[email protected]>
Date: Wed, 5 Aug 2026 05:17:48 +0000
Subject: [PATCH] python3-mako: upgrade 1.3.12 -> 1.4.0

Source: doc/build/changelog.rst

1.4
===

.. changelog::
    :version: 1.4.0
    :released: Tue Aug 4 2026

    .. change::
        :tags: bug, ext
        :tickets: 393

        The minimum Lingua version supported by :class:`.LinguaMakoExtractor` is
        now 4.16.  The test suite had continued to pin Lingua below 4 long after
        the extractor itself was repaired to work with Lingua 4 in version 
1.2.0,
        with the result that the plugin was no longer covered by tests at all; 
the
        pinned version additionally imports ``pkg_resources`` at startup, which 
is
        not present in current setuptools releases and left the package
        unimportable.  Lingua 4.16 resolves entry points using
        ``importlib.metadata``, so no deprecated ``pkg_resources`` usage 
remains.

    .. change::
        :tags: bug, exceptions
        :tickets: 437

        Fixed issue where formatting a traceback for an exception raised inside 
a
        template compiled from a string would emit ``DeprecationWarning: Module
        globals is missing a __spec__.loader`` on Python 3.15.  Modules for such
        templates were created without a module spec, which Python's
        :mod:`linecache` module consults for every frame while a traceback is
        being built; the warning was raised from within traceback formatting
        itself, disrupting the error report for applications that configure
        warnings as errors.  These modules are now given a spec with a loader 
that
        provides the generated module source, which additionally allows the
        generated source lines to be displayed in tracebacks produced by the
        standard library where previously no source was available.

    .. change::
        :tags: changed, examples

        The ``examples/bench`` folder has been removed as it used mostly
        long-obsolete template engines.  The ``examples/wsgi/run_wsgi.py`` 
example
        has been updated to remove the use of the removed-in-Python-3.13 ``cgi``
        module, and to be runnable as a module from the project root.

    .. change::
        :tags: bug, exceptions
        :tickets: 430, 245, 428

        A series of fixes involving syntax warnings and exceptions found
        during template lexing / compilation:

        * Warnings raised while a template is compiled, which in practice means
          ``SyntaxWarning``, now report the filename and line number of the
          template rather than a line within the generated module, and are no
          longer reported twice.  This applies equally to templates compiled 
from a
          string, from a file, and to a module file in a
          :paramref:`.Template.module_directory`, as does a warning raised while
          the module level code of a ``<%! %>`` block runs.  Warnings raised 
while
          a template renders continue to report the location within the 
generated
          module.

          To do this, Mako replaces ``warnings.showwarning`` while a template is

[Changelog truncated as it exceeds 3000 characters;
the full changelog can be found in an attachment to the AUH email]
---
 ...3-mako_1.3.12.bb => python3-mako_1.4.0.bb} | 23 +++++++++++++++++--
 1 file changed, 21 insertions(+), 2 deletions(-)
 rename meta/recipes-devtools/python/{python3-mako_1.3.12.bb => 
python3-mako_1.4.0.bb} (39%)

diff --git a/meta/recipes-devtools/python/python3-mako_1.3.12.bb 
b/meta/recipes-devtools/python/python3-mako_1.4.0.bb
similarity index 39%
rename from meta/recipes-devtools/python/python3-mako_1.3.12.bb
rename to meta/recipes-devtools/python/python3-mako_1.4.0.bb
index b2c1a8dad8..bb20342170 100644
--- a/meta/recipes-devtools/python/python3-mako_1.3.12.bb
+++ b/meta/recipes-devtools/python/python3-mako_1.4.0.bb
@@ -1,14 +1,33 @@
+# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'.
+# The following is the difference between the old and the new license text.
+# Please update the LICENSE value if needed, and summarize the changes in
+# the commit message via 'License-Update:' tag.
+# (example: 'License-Update: copyright years updated.')
+#
+# The changes:
+#
+# --- LICENSE
+# +++ LICENSE
+# @@ -1,4 +1,4 @@
+# -Copyright 2006-2025 the Mako authors and contributors <see AUTHORS file>.
+# +Copyright 2006-2026 the Mako authors and contributors <see AUTHORS file>.
+#  
+#  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+#  this software and associated documentation files (the "Software"), to deal 
in
+# 
+#
+
 SUMMARY = "Templating library for Python"
 HOMEPAGE = "http://www.makotemplates.org/";
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=73026b50800163bd3c75cfdc121d9eb5"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=c79ceff89df0a72f29bb0e1b6f0e36ed"
 
 PYPI_PACKAGE = "mako"
 
 inherit pypi python_setuptools_build_meta ptest-python-pytest
 
-SRC_URI[sha256sum] = 
"9f778e93289bd410bb35daadeb4fc66d95a746f0b75777b942088b7fd7af550a"
+SRC_URI[sha256sum] = 
"61aac9619e1325fa6e7be2f8dd463caef61247b3cd32a41a8692684548269ce3"
 
 RDEPENDS:${PN} = "python3-html \
                   python3-markupsafe \
-- 
2.47.1

packages/x86-64-v3-poky-linux/python3-mako/python3-mako: FILELIST: directory 
renamed /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info -> 
/usr/lib/python3.14/site-packages/mako-1.4.0.dist-info, directory renamed 
/usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/licenses -> 
/usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/licenses, added 
"/usr/lib/python3.14/site-packages/tools/__pycache__/__init__.cpython-314.pyc 
/usr/lib/python3.14/site-packages/tools/__pycache__/toxnox.cpython-314.pyc 
/usr/lib/python3.14/site-packages/tools/__init__.py 
/usr/lib/python3.14/site-packages/tools/__pycache__/warn_tox.cpython-314.pyc 
/usr/lib/python3.14/site-packages/tools/warn_tox.py 
/usr/lib/python3.14/site-packages/tools/toxnox.py"
Changes to packages/x86-64-v3-poky-linux/python3-mako (sysroot):
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/entry_points.txt was 
added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/licenses was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/licenses/LICENSE was 
added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/METADATA was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/top_level.txt was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/WHEEL was added
  /usr/lib/python3.14/site-packages/tools was added
  /usr/lib/python3.14/site-packages/tools/__init__.py was added
  /usr/lib/python3.14/site-packages/tools/__pycache__ was added
  /usr/lib/python3.14/site-packages/tools/__pycache__/__init__.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/tools/__pycache__/toxnox.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/tools/__pycache__/warn_tox.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/tools/toxnox.py was added
  /usr/lib/python3.14/site-packages/tools/warn_tox.py was added
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info was removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/entry_points.txt was 
removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/licenses was removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/licenses/LICENSE was 
removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/METADATA was removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/top_level.txt was 
removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/WHEEL was removed
packages/x86-64-v3-poky-linux/python3-mako: SRC_URI changed from 
"https://files.pythonhosted.org/packages/source/m/mako/mako-1.3.12.tar.gz;downloadfilename=mako-1.3.12.tar.gz";
 to 
"https://files.pythonhosted.org/packages/source/m/mako/mako-1.4.0.tar.gz;downloadfilename=mako-1.4.0.tar.gz";
packages/x86-64-v3-poky-linux/python3-mako: PKGV changed from 1.3.12 [default] 
to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako: PV changed from "1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-dbg: PKGV changed from 
1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-dbg: PV changed from 
"1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-dev: PKGV changed from 
1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-dev: PV changed from 
"1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-doc: PKGV changed from 
1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-doc: PV changed from 
"1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-locale: PKGV changed 
from 1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-locale: PV changed from 
"1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-ptest: PKGSIZE changed 
from 355474 to 365339 (+3%)
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-ptest: PKGV changed 
from 1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-ptest: PV changed from 
"1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-src: PKGV changed from 
1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-src: PV changed from 
"1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-staticdev: PKGV changed 
from 1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako-staticdev: PV changed 
from "1.3.12" to "1.4.0"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako: PKGSIZE changed from 
648756 to 675433 (+4%)
packages/x86-64-v3-poky-linux/python3-mako/python3-mako: PKGV changed from 
1.3.12 [default] to 1.4.0 [default]
packages/x86-64-v3-poky-linux/python3-mako/python3-mako: FILELIST: directory 
renamed /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info -> 
/usr/lib/python3.14/site-packages/mako-1.4.0.dist-info, directory renamed 
/usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/licenses -> 
/usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/licenses, added 
"/usr/lib/python3.14/site-packages/tools/toxnox.py 
/usr/lib/python3.14/site-packages/tools/__init__.py 
/usr/lib/python3.14/site-packages/tools/__pycache__/warn_tox.cpython-314.pyc 
/usr/lib/python3.14/site-packages/tools/warn_tox.py 
/usr/lib/python3.14/site-packages/tools/__pycache__/toxnox.cpython-314.pyc 
/usr/lib/python3.14/site-packages/tools/__pycache__/__init__.cpython-314.pyc"
packages/x86-64-v3-poky-linux/python3-mako/python3-mako: PV changed from 
"1.3.12" to "1.4.0"
Changes to packages/x86-64-v3-poky-linux/python3-mako (sysroot):
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/entry_points.txt was 
added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/licenses was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/licenses/LICENSE was 
added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/METADATA was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/top_level.txt was added
  /usr/lib/python3.14/site-packages/mako-1.4.0.dist-info/WHEEL was added
  /usr/lib/python3.14/site-packages/tools was added
  /usr/lib/python3.14/site-packages/tools/__init__.py was added
  /usr/lib/python3.14/site-packages/tools/__pycache__ was added
  /usr/lib/python3.14/site-packages/tools/__pycache__/__init__.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/tools/__pycache__/toxnox.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/tools/__pycache__/warn_tox.cpython-314.pyc 
was added
  /usr/lib/python3.14/site-packages/tools/toxnox.py was added
  /usr/lib/python3.14/site-packages/tools/warn_tox.py was added
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info was removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/entry_points.txt was 
removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/licenses was removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/licenses/LICENSE was 
removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/METADATA was removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/top_level.txt was 
removed
  /usr/lib/python3.14/site-packages/mako-1.3.12.dist-info/WHEEL was removed
Changelog for python3-mako: 1.3.12 -> 1.4.0
Source: doc/build/changelog.rst

1.4
===

.. changelog::
    :version: 1.4.0
    :released: Tue Aug 4 2026

    .. change::
        :tags: bug, ext
        :tickets: 393

        The minimum Lingua version supported by :class:`.LinguaMakoExtractor` is
        now 4.16.  The test suite had continued to pin Lingua below 4 long after
        the extractor itself was repaired to work with Lingua 4 in version 
1.2.0,
        with the result that the plugin was no longer covered by tests at all; 
the
        pinned version additionally imports ``pkg_resources`` at startup, which 
is
        not present in current setuptools releases and left the package
        unimportable.  Lingua 4.16 resolves entry points using
        ``importlib.metadata``, so no deprecated ``pkg_resources`` usage 
remains.

    .. change::
        :tags: bug, exceptions
        :tickets: 437

        Fixed issue where formatting a traceback for an exception raised inside 
a
        template compiled from a string would emit ``DeprecationWarning: Module
        globals is missing a __spec__.loader`` on Python 3.15.  Modules for such
        templates were created without a module spec, which Python's
        :mod:`linecache` module consults for every frame while a traceback is
        being built; the warning was raised from within traceback formatting
        itself, disrupting the error report for applications that configure
        warnings as errors.  These modules are now given a spec with a loader 
that
        provides the generated module source, which additionally allows the
        generated source lines to be displayed in tracebacks produced by the
        standard library where previously no source was available.

    .. change::
        :tags: changed, examples

        The ``examples/bench`` folder has been removed as it used mostly
        long-obsolete template engines.  The ``examples/wsgi/run_wsgi.py`` 
example
        has been updated to remove the use of the removed-in-Python-3.13 ``cgi``
        module, and to be runnable as a module from the project root.

    .. change::
        :tags: bug, exceptions
        :tickets: 430, 245, 428

        A series of fixes involving syntax warnings and exceptions found
        during template lexing / compilation:

        * Warnings raised while a template is compiled, which in practice means
          ``SyntaxWarning``, now report the filename and line number of the
          template rather than a line within the generated module, and are no
          longer reported twice.  This applies equally to templates compiled 
from a
          string, from a file, and to a module file in a
          :paramref:`.Template.module_directory`, as does a warning raised while
          the module level code of a ``<%! %>`` block runs.  Warnings raised 
while
          a template renders continue to report the location within the 
generated
          module.

          To do this, Mako replaces ``warnings.showwarning`` while a template is
          compiled.  As that name is global to the process, an unrelated warning
          displayed by another thread during that window may also be passed 
through
          Mako's hook, which shows any warning it does not recognize unchanged.
          (:ticket:`430`)

        * The ``SyntaxException`` raised for a syntax error in Python code 
spanning
          several lines of a template, such as that within a ``<% %>`` or ``<%! 
%>``
          block, is now reported against the line the error is on, rather than
          against the line on which the block begins.  The line reported for 
code
          that occupies a single line, such as an expression or a control line, 
is
          unchanged. (:ticket:`245`)

        * The ``SyntaxException`` raised for a tag or expression that is never
          closed is now reported against the line the construct begins on, 
rather
          than the point at which the search for the closing token gave up, 
which
          for an unclosed construct is the end of the template.  The message of 
the
          exception is amended to indicate that the position given is where the
          unterminated construct begins. (:ticket:`428`)

    .. change::
        :tags: changed, installation

        Minimum MarkupSafe dependency version bumped from 0.9.2 to 2.0.

    .. change::
        :tags: changed, tests

        The test suite now runs via nox.  The old tox.ini remains however nox 
will
        be the only system that's maintained.

    .. change::
        :tags: changed, installation

        Project metadata has been migrated to :pep:`621` 
``pyproject.toml``-based
        configuration.  ``setup.cfg`` remains only for the ``[mako_testing]``
        section used by Mako's own test suite.   The build requirements
        now set the minimum setuptools version at 77.0.0 in order to build Mako
        from source.

    .. change::
        :tags: changed, installation

        Minimum Python version is now 3.10.  Mako 1.4.0 has been tested up 
through
        Python 3.15.0b4.

Attachment: 0001-python3-mako-upgrade-1.3.12-1.4.0.patch
Description: Binary data

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

Reply via email to