--- - branch: MAIN date: Tue Oct 25 11:18:04 UTC 2022 files: - new: '1.27' old: '1.26' path: pkgsrc/devel/py-mako/Makefile pathrev: pkgsrc/devel/py-mako/Makefile@1.27 type: modified - new: '1.8' old: '1.7' path: pkgsrc/devel/py-mako/PLIST pathrev: pkgsrc/devel/py-mako/PLIST@1.8 type: modified - new: '1.22' old: '1.21' path: pkgsrc/devel/py-mako/distinfo pathrev: pkgsrc/devel/py-mako/distinfo@1.22 type: modified id: 20221025T111804Z.120d2cd9b7a68bce8776da63154017388b0508b7 log: "py-mako: updated to 1.2.3\n\n1.2.3\n\nFixed issue in lexer in the same category as that of 366 where the regexp used to match an end tag didn窶å\x86² 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.\nAs 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.\n\n1.2.2\n\nFixed issue in lexer where the regexp used to match tags would not correctly interpret quoted sections individually. While this parsing issue still produced the same expected tag structure later on, the mis-handling of quoted sections was also subject to a regexp crash if a tag had a large number of quotes within its quoted sections. Credit to Sebastian Chnelik for locating the issue.\nAs 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.\n\n1.2.1\n\nVarious fixes to the test suite in the area of exception message rendering to accommodate for variability in Python versions as well as Pygments.\nOptimized 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.\n\n1.2.0\nCorrected 窶å¿\x96niversal wheel窶� directive in setup.cfg so that building a wheel does not target Python 2.\nThe bytestring_passthrough template argument is removed, as this flag only applied to Python 2.\nWith the removal of Python 2窶å\x86± cStringIO, Mako now uses its own internal FastEncodingBuffer exclusively.\nRemoved disable_unicode flag, that窶å\x86± no longer used in Python 3.\nRefactored test utilities into mako.testing module. Removed unittest.TestCase dependency in favor of pytest.\nReplaced the use of pkg_resources with the importlib library. For Python < 3.8 the library importlib_metadata is used.\nRemoved support for Python 2 and Python 3.6. Mako now requires Python >= 3.7.\nMako now performs exception chaining using raise from, correctly identifying underlying exception conditions when it raises its own exceptions. Pull request courtesy Ram Rachum.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/devel/py-mako' unixtime: '1666696684' user: adam