# HG changeset patch # User Mads Kiilerich # Date 2020-01-04 00:45:45 # Node ID 3a9b91e0adab2e6b626d862f909cfdcd0fed7ef9 # Parent 64b76a3150da7f0c05cb134684cf2f0992e13240 setup: bump mako minimum version to 0.9.1 to get py3 support Avoid test_api_get_pullrequest crash: data/env3/lib/python3.7/site-packages/mako/template.py:653: in _compile_text code = compile(source, cid, 'exec') E File "email_templates_button_html", line 15 E def render_body(context,url,title='',padding_top=,padding_bottom=,**pageargs): E ^ E SyntaxError: invalid syntax diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ requirements = [ "WebHelpers2 >= 2.0, < 2.1", "FormEncode >= 1.3.1, < 1.4", "SQLAlchemy >= 1.1, < 1.4", - "Mako >= 0.9.0, < 1.1", + "Mako >= 0.9.1, < 1.1", "Pygments >= 2.2.0, < 2.5", "Whoosh >= 2.5.0, < 2.8", "celery >= 3.1, < 4.0", # TODO: celery 4 doesn't work