| 2 | |
| 3 | changed |
| 4 | |
| 5 | - Corrected “universal wheel” directive in setup.cfg so that |
| 6 | building a wheel does not target Python 2. |
| 7 | |
| 8 | - The bytestring_passthrough template argument is removed, |
| 9 | as this flag only applied to Python 2. |
| 10 | |
| 11 | - With the removal of Python 2’s cStringIO, Mako now uses its |
| 12 | own internal FastEncodingBuffer exclusively. |
| 13 | |
| 14 | - Removed disable_unicode flag, that’s no longer used in Python 3. |
| 15 | |
| 16 | - Refactored test utilities into mako.testing module. |
| 17 | Removed unittest.TestCase dependency in favor of pytest. |
| 18 | |
| 19 | - Replaced the use of pkg_resources with the importlib library. |
| 20 | For Python < 3.8 the library importlib_metadata is used. |
| 21 | |
| 22 | - Removed support for Python 2 and Python 3.6. |
| 23 | Mako now requires Python >= 3.7. |
| 24 | |
| 25 | bug |
| 26 | |
| 27 | - Mako now performs exception chaining using raise from, correctly |
| 28 | identifying underlying exception conditions when it raises its |
| 29 | own exceptions. |