Changelog for
python312-Mako-1.3.5-3.5.noarch.rpm :
* Tue Jun 04 2024 Dirk Müller
- update to 1.3.5:
* Reverted the fix for :ticket:`400` as it caused new issues when traversing some bracketed situations.
* Tue May 14 2024 Dirk Müller - update to 1.3.4:
* Fixed regression caused by the fix for :ticket:`320` where new logic added to interpret list and dictionary comprehensions would fail for expression oriented keys. As the parsing in question was not necessary for these keys, it\'s been removed.
* Fixed issue where a parsed expression which contained sub-brackets, such as dictionary literals, would fail to be interpreted correctly even though the initial parsing is correct.
* Mon Apr 15 2024 Dirk Müller - update to 1.3.3:
* Fixed unexpected error when use control lines which the first control block with no bodies other than comments, as `pass` is now added to the first empty block.
* Fixed unexpected syntax error in strict_undefined mode that occurred when using comprehensions within a function in a Mako Python code block. Now, the local variable in comprehensions won\'t be added to the checklist when using strict_undefined mode.
* Thu Feb 01 2024 Dirk Müller - update to 1.3.2:
* Fixed parsing issue where attempting to render a single percent sign % using an escaped percent %% would not function correctly if the escaped percent were not the first character on a line. Note that this is a revised version of a similar change made in Mako 1.3.1 which caused unexpected parsing regressions, resulting in the release being yanked.
* Thu Dec 07 2023 Dirk Müller - update to 1.3.0:
* Mako 1.3.0 bumps the minimum Python version to 3.8
* Python 3.12 is now supported explicitly.
* Thu Jun 15 2023 Andreas Schneider - Use sle15_python_module_pythons
* Sat Dec 03 2022 Yogalakshmi Arunachalam - Update to 1.2.4 [bug] [codegen] Fixed issue where unpacking nested tuples in a for loop using would raise a \"couldn\'t apply loop context\" error if the loop context was used. The regex used to match the for loop expression now allows the list of loop variables to contain parenthesized sub-tuples. Pull request courtesy Matt Trescott.
* Thu Sep 29 2022 Dirk Müller - update to 1.2.3:
* Fixed issue in lexer in the same category as that of :ticket:`366` where the regexp used to match an end tag didn\'t correctly organize for matching characters surrounded by whitespace, leading to high memory / interpreter hang if a closing tag incorrectly had a large amount of unterminated space in it. Credit to Sebastian Chnelik for locating the issue.
* As Mako templates inherently render and directly invoke arbitrary Python code from the template source, it is
*
*never
*
* appropriate to create templates that contain untrusted input.
* Sun Sep 11 2022 Dirk Müller - update to 1.2.2:
* Fixed issue in lexer where the regexp used to match tags would not correctly interpret quoted sections individually (CVE-2022-40023, bsc#1203246)
* Mon Jul 18 2022 Steve Kowalik - Update to 1.2.1:
* [bug] [tests] Various fixes to the test suite in the area of exception message rendering to accommodate for variability in Python versions as well as Pygments.
* [performance] Optimized some codepaths within the lexer/Python code generation process, improving performance for generation of templates prior to their being cached. Pull request courtesy Takuto Ikuta.
* [changed] [py3k] Corrected \"universal wheel\" directive in setup.cfg so that building a wheel does not target Python 2.
* [changed] [py3k] The bytestring_passthrough template argument is removed, as this flag only applied to Python 2.
* [changed] [py3k] With the removal of Python 2\'s cStringIO, Mako now uses its own internal FastEncodingBuffer exclusively.
* [changed] Refactored test utilities into mako.testing module. Removed unittest.TestCase dependency in favor of pytest.
* [changed] [setup] Replaced the use of pkg_resources with the importlib library. For Python < 3.8 the library importlib_metadata is used.
* [changed] [py3k] Removed support for Python 2 and Python 3.6. Mako now requires Python >= 3.7.
* [bug] [py3k] Mako now performs exception chaining using raise from, correctly identifying underlying exception conditions when it raises its own exceptions. Pull request courtesy Ram Rachum.- Remove python2 gubbins, since it is no longer supported.
* Thu Mar 24 2022 pgajdosAATTsuse.com- python-mock is not required for build
* Mon Dec 06 2021 Dirk Müller - update to 1.1.6:
* Fixed issue where control statements on multi lines with a backslash would not parse correctly if the template itself contained CR/LF pairs as on Windows.
* Sat Oct 16 2021 Dirk Müller - update to 1.1.5:
* Fixed some issues with running the test suite which would be revealed by running tests in random order.
* Wed Oct 06 2021 Matej Cepl - Remove obsolete %suse_version %if
* Tue Oct 05 2021 Stefan Schubert - Added BuildRequires: alts
* Thu Sep 30 2021 Stefan Schubert - Use libalternatives instead of update-alternatives.
* Sun Jan 24 2021 Dirk Müller - update to 1.1.4:
* Fixed Python deprecation issues related to module importing, as well as file access within the Lingua plugin, for deprecated APIs that began to emit warnings under Python 3.10.