#16219 closed enhancement (fixed)

Mako-1.2.0 (Python module)

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.2
Component: BOOK Version: git
Severity: normal Keywords:

Description (last modified by Bruce Dubbs)

New minor version.


  • Corrected “universal wheel” directive in setup.cfg so that building a wheel does not target Python 2.
  • The bytestring_passthrough template argument is removed, as this flag only applied to Python 2.
  • With the removal of Python 2’s cStringIO, Mako now uses its own internal FastEncodingBuffer exclusively.
  • Removed disable_unicode flag, that’s no longer used in Python 3.
  • Refactored test utilities into mako.testing module. Removed unittest.TestCase dependency in favor of pytest.
  • Replaced the use of pkg_resources with the importlib library. For Python < 3.8 the library importlib_metadata is used.
  • Removed support for Python 2 and Python 3.6. Mako now requires Python >= 3.7.


  • Mako now performs exception chaining using raise from, correctly identifying underlying exception conditions when it raises its own exceptions.

Change History (2)

comment:1 by Bruce Dubbs, 15 months ago

Description: modified (diff)
Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 15 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commit 776c052ee3bae171828447cb7b83fbb220b54f7b

Package updates.
    Update to Mako-1.2.0 (Python module).
    Really ppdate to libuv-v1.44.1.
Note: See TracTickets for help on using tickets.