|
|
|
|
Changelog for python39-Mako-1.3.5-lp154.2.2.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. * Fri Dec 11 2020 Benjamin Greiner - Let the python-rpm-macros do their job for the correct provides and obsoletes tags for multiple python3 flavors gh#openSUSE/python-rpm-macros#66 * Mon Jun 08 2020 Ondřej Súkup - update to 1.1.3 * The default template encoding is now utf-8 * Mon May 25 2020 Petr Gajdos - %python3_only -> %python_alternative * Mon Mar 02 2020 Ondřej Súkup - update to 1.1.2 * Added –output-file argument to the Mako command line runner * Tue Feb 18 2020 Ondřej Súkup - update to 1.1.1 * Replaced usage of the long-superseded “parser.suite” module in the mako.util package for parsing the python magic encoding comment with the “ast.parse” function * Added “babel” and “lingua” dependency entries to the setuptools entrypoints for the babel and lingua extensions * Mon Aug 05 2019 pgajdosAATTsuse.com- version update to 1.1.0 * Removed the \"python setup.py test\" feature in favor * Replaced usage of ``inspect.getfullargspec()`` with the vendored version used by SQLAlchemy, Alembic to avoid future deprecation warnings. * Mon Jul 29 2019 pgajdosAATTsuse.com- version update to 1.0.14 * The n filter is now supported in the <%page> tag. This allows a template to omit the default expression filters throughout a whole template, for those cases where a template-wide filter needs to have default filtering disabled. * Fixed issue where the correct file URI would not be shown in the template-formatted exception traceback if the template filename were not known. Additionally fixes an issue where stale filenames would be displayed if a stack trace alternated between different templates. * Improved the line-number tracking for source lines inside of Python <% ... %> blocks, such that text- and HTML-formatted exception traces such as that of html_error_template() now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in <%! ... %> blocks which get raised while loading the module are still not reported correctly, as these are handled before the Mako code is generated. * Tue Jun 18 2019 Tomáš Chvátal - Update to 1.0.12: * Fixed regression where import refactors in Mako 1.0.11 caused broken imports on Python 3.8. * Updated for additional project metadata in setup.py. Additionally, the code has been reformatted using Black and zimports. * Thu May 16 2019 kwuAATTsuse.com- Update to 1.0.10: * Added default encoding for Python 3 for traceback. * Mon Apr 29 2019 Tomáš Chvátal - Update to 1.0.9: * Fixed an element in the AST Python generator which changed for Python 3.8 * Thu Mar 21 2019 Ondřej Súkup - update to 1.0.8 * Added --output-encoding flag to the mako-render script * Thu Jul 05 2018 mceplAATTsuse.com- Clean up SPEC file. * Tue Mar 06 2018 aplanasAATTsuse.com- Allows Recommends and Suggest in Fedora * Tue Feb 27 2018 aplanasAATTsuse.com- Recommends only for SUSE * Mon Aug 21 2017 tbechtoldAATTsuse.com- update to 1.0.7: * Changed the \"print\" in the mako-render command to sys.stdout.write(), avoiding the extra newline at the end of the template output. * Sat May 06 2017 toddrme2178AATTgmail.com- Don\'t provide python2-mako, singlespec packages should use correct name. * Tue Apr 11 2017 jengelhAATTinai.de- Trim extreme wording of description * Thu Apr 06 2017 jmatejekAATTsuse.com- restore compatibility Provides * Wed Mar 01 2017 aloisioAATTgmx.com- Converted to single-spec- Switched source URL to pypi.io- Removed update-alternative * Fri Feb 10 2017 michaelAATTstroeder.com- update to version 1.0.6 * [feature] Added new parameter Template.include_error_handler . This works like Template.error_handler but indicates the handler should take place when this template is included within another template via the <%include> tag. Pull request courtesy Huayi Zhang. * [bug] Updated the Sphinx documentation builder to work with recent versions of Sphinx. * Wed Nov 16 2016 tbechtoldAATTsuse.com- python-Beaker is only recommended, not required. * Fri Sep 16 2016 toddrme2178AATTgmail.com- update to version 1.0.4: * [test] [feature] The default test runner is now py.test. Running “python setup.py test” will make use of py.test instead of nose. nose still works as a test runner as well, however. * [lexer] [bug] Major improvements to lexing of intricate Python sections which may contain complex backslash sequences, as well as support for the bitwise operator (e.g. pipe symbol) inside of expression sections distinct from the Mako “filter” operator, provided the operator is enclosed within parentheses or brackets. Pull request courtesy Daniel Martin. * [feature] Added new method Template.list_defs(). Pull request courtesy Jonathan Vanasco.- update to version 1.0.3: * Fixed an issue where the Babel plugin would not handle a translation symbol that contained non-ascii characters. Pull request courtesy Roman Imankulov.- Update to version 1.0.2 * The \"universal wheel\" marker is removed from setup.cfg, because our setup.py currently makes use of conditional dependencies. In :ticket:`249`, the discussion is ongoing on how to correct our setup.cfg / setup.py fully so that we can handle the per-version dependency changes while still maintaining optimal wheel settings, so this issue is not yet fully resolved. * Repair some calls within the ast module that no longer work on Python3.5; additionally replace the use of ``inspect.getargspec()`` under Python 3 (seems to be called from the TG plugin) to avoid deprecation warnings. * Update the Lingua translation extraction plugin to correctly handle templates mixing Python control statements (such as if, for and while) with template fragments. Pull request courtesy Laurent Daverio. * Added ``STOP_RENDERING`` keyword for returning/exiting from a template early, which is a synonym for an empty string ``\"\"``. Previously, the docs suggested a bare ``return``, but this could cause ``None`` to appear in the rendered template result.- Implement update-alternatives * Fri Jul 24 2015 seife+obsAATTb1-systems.com- fix non-SUSE distro build by conditionalizing Suggests: tag * Fri Mar 13 2015 p.drouandAATTgmail.com- update to version 1.0.1: * [feature] Added support for Lingua, a translation extraction system as an alternative to Babel. Pull request courtesy Wichert Akkerman. * [bug] [py3k] Modernized the examples/wsgi/run_wsgi.py file for Py3k. Pull requset courtesy Cody Taylor.- Disable temporary tests for non-Factory systems because of failures
|
|
|