Opened 3 years ago

Last modified 3 years ago

#16219 closed enhancement

Mako-1.2.0 (Python module) — at Version 1

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

Description (last modified by Bruce Dubbs)

New minor version.

changed

  • 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.

bug

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

Change History (1)

comment:1 by Bruce Dubbs, 3 years ago

Description: modified (diff)
Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned
Note: See TracTickets for help on using tickets.