Skip to content

1.2.0

Compare
Choose a tag to compare
@sqla-tester sqla-tester released this 10 Mar 20:58
· 66 commits to main since this release

1.2.0

Released: Thu Mar 10 2022

changed

  • [changed] [py3k] Corrected "universal wheel" directive in setup.cfg so that building a
    wheel does not target Python 2.

    References: #351

  • [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] [py3k] Removed disable_unicode flag, that's no longer used in Python 3.

  • [changed] Refactored test utilities into mako.testing module. Removed
    unittest.TestCase dependency in favor of pytest.

    References: #349

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

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