diff mbox series

[AUH] python3-mako: upgrading to 1.4.0 SUCCEEDED

Message ID 0101019fd0767c83-c177e143-1ce9-4243-8a3b-df65c936b7c3-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-mako: upgrading to 1.4.0 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Aug. 5, 2026, 5:47 a.m. UTC
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 <auh@yoctoproject.org>
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 mbox series

Patch

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 \