Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#12118 closed enhancement (fixed)

Mako-1.0.12 (Python Modules)

Reported by: Douglas R. Reno Owned by: Douglas R. Reno
Priority: normal Milestone: 9.0
Component: BOOK Version: SVN
Severity: normal Keywords:


New point version

Change History (8)

comment:1 by Bruce Dubbs, 4 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Douglas R. Reno, 4 years ago

Owner: changed from Bruce Dubbs to Douglas R. Reno
Status: assignednew

comment:3 by Douglas R. Reno, 4 years ago

Status: newassigned

comment:4 by Douglas R. Reno, 4 years ago

Summary: Mako-1.0.4 (Python Modules)Mako-1.0.12 (Python Modules)

Now 1.0.12 (Youch that's a lot of versions)

comment:5 by Douglas R. Reno, 4 years ago

Released: Wed Jun 5 2019

    [bug] [py3k]

    Fixed regression where import refactors in Mako 1.0.11 caused broken imports on Python 3.8.

    References: #296

Released: Fri May 31 2019


    Updated for additional project metadata in Additionally, the code has been reformatted using Black and zimports.

Released: Fri May 10 2019

    [bug] [py3k]

    Added a default encoding of “utf-8” when the RichTraceback object retrieves Python source lines from a Python traceback; as these are bytes in Python 3 they need to be decoded so that they can be formatted in the template.

    References: #293

Released: Mon Apr 15 2019


    Further corrected the previous fix for #287 as it relied upon an attribute that is monkeypatched by Python’s ast module for some reason, which fails if ast hasn’t been imported; the correct attribute Constant.value is now used. Also note the issue was mis-numbered in the previous changelog note.

    References: #287

Released: Wed Mar 20 2019


    Fixed an element in the AST Python generator which changed for Python 3.8, causing expression generation to fail.

    References: #287


    Added --output-encoding flag to the mako-render script. Pull request courtesy lacsaP.

    References: #271


    Removed unnecessary “usage” prefix from mako-render script. Pull request courtesy Hugo.

Released: Thu Jul 13 2017


    Changed the “print” in the mako-render command to sys.stdout.write(), avoiding the extra newline at the end of the template output. Pull request courtesy Yves Chevallier.

Released: Wed Nov 9 2016


    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.

Released: Wed Nov 2 2016


    Updated the Sphinx documentation builder to work with recent versions of Sphinx.

Released: Thu Mar 10 2016

    [feature] [test]

    The default test runner is now py.test. Running “python test” will make use of py.test instead of nose. nose still works as a test runner as well, however.

    [bug] [lexer]

    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.

    References: pull request github:19


    Added new method Template.list_defs(). Pull request courtesy Jonathan Vanasco.

I take that back, it goes all the way back to 2016.

comment:6 by Douglas R. Reno, 4 years ago

The correct old version would've been 1.0.10

comment:7 by Douglas R. Reno, 4 years ago

Resolution: fixed
Status: assignedclosed

Fixed at r21733

comment:8 by Bruce Dubbs, 4 years ago

Milestone: 8.59.0

Milestone renamed

Note: See TracTickets for help on using tickets.