Bug 1690902

Summary: python-mako (1.0.6 / 1.0.7) FTBFS with Python 3.8: SyntaxErrors handling?
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-makoAssignee: Igor Raits <igor.raits>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aurelien, clems.verna, igor.raits, kylev, lewk, python-sig, rbarlow
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-mako-1.0.8-1.fc31 python-mako-1.0.9-1.fc30 python-mako-1.0.9-1.fc28 python-mako-1.0.9-1.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-17 16:44:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1470902    
Bug Blocks: 1686977    
Attachments:
Description Flags
build.log from copr none

Description Miro Hrončok 2019-03-20 12:49:51 UTC
Created attachment 1546056 [details]
build.log from copr

See attached log. The test failures happen with both 1.0.6 and 1.0.7:

FAILED test/test_ast.py::AstParseTest::test_argument_list
FAILED test/test_ast.py::AstParseTest::test_expr_generate
FAILED test/test_cache.py::CacheTest::test_dynamic_key_with_funcargs
FAILED test/test_cmd.py::CmdTest::test_file_rt_err
FAILED test/test_cmd.py::CmdTest::test_file_syntax_err
FAILED test/test_cmd.py::CmdTest::test_stdin_rt_err
FAILED test/test_cmd.py::CmdTest::test_stdin_syntax_err
FAILED test/test_def.py::DefTest::test_def_py3k_args
FAILED test/test_def.py::NestedDefTest::test_nested_with_args
FAILED test/test_exceptions.py::ExceptionsTest::test_custom_tback
FAILED test/test_exceptions.py::ExceptionsTest::test_format_closures
FAILED test/test_exceptions.py::ExceptionsTest::test_format_exceptions_no_pygments
FAILED test/test_exceptions.py::ExceptionsTest::test_html_error_template
FAILED test/test_exceptions.py::ExceptionsTest::test_py_unicode_error_html_error_template
FAILED test/test_exceptions.py::ExceptionsTest::test_py_utf8_html_error_template
FAILED test/test_exceptions.py::ExceptionsTest::test_tback_no_trace_from_py_file
FAILED test/test_exceptions.py::ExceptionsTest::test_tback_trace_from_py_file
FAILED test/test_exceptions.py::ExceptionsTest::test_text_error_template
FAILED test/test_exceptions.py::ExceptionsTest::test_utf8_format_exceptions_no_pygments
FAILED test/test_exceptions.py::ExceptionsTest::test_utf8_html_error_template_no_pygments
FAILED test/test_inheritance.py::InheritanceTest::test_pageargs
FAILED test/test_inheritance.py::InheritanceTest::test_pageargs_2
FAILED test/test_inheritance.py::InheritanceTest::test_pageargs_err
FAILED test/test_lexer.py::LexerTest::test_crlf
FAILED test/test_template.py::EncodingTest::test_escapes_html_tags
FAILED test/test_template.py::EncodingTest::test_unicode_file_lookup
FAILED test/test_template.py::EncodingTest::test_unicode_literal_in_def
FAILED test/test_template.py::PageArgsTest::test_basic
FAILED test/test_template.py::PageArgsTest::test_builtin_names_dont_clobber_defaults_in_includes
FAILED test/test_template.py::PageArgsTest::test_with_context

Comment 1 Miro Hrončok 2019-03-20 13:13:10 UTC
Reported upstream https://github.com/sqlalchemy/mako/issues/287

Comment 2 Miro Hrončok 2019-03-20 17:17:15 UTC
Upstream has a fix, it is included with the recent 1.0.8 release.

https://github.com/sqlalchemy/mako/commit/3e97da45e76b2abddb7eda3c50dbe4a0f7217995

Comment 3 Miro Hrončok 2019-03-29 14:27:48 UTC
Fixed in git.

Comment 4 Fedora Update System 2019-04-17 17:01:11 UTC
python-mako-1.0.8-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2019-7e1c3c9d19

Comment 5 Fedora Update System 2019-04-17 17:01:17 UTC
python-mako-1.0.8-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6bdf9cb706

Comment 6 Fedora Update System 2019-04-17 17:01:23 UTC
python-mako-1.0.8-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d89917c9cc

Comment 7 Fedora Update System 2019-04-18 18:24:36 UTC
python-mako-1.0.9-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d89917c9cc

Comment 8 Fedora Update System 2019-04-18 21:04:54 UTC
python-mako-1.0.9-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-7e1c3c9d19

Comment 9 Fedora Update System 2019-04-18 22:13:14 UTC
python-mako-1.0.9-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6bdf9cb706

Comment 10 Fedora Update System 2019-04-27 21:26:25 UTC
python-mako-1.0.9-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2019-05-04 01:17:15 UTC
python-mako-1.0.9-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2019-05-04 02:26:12 UTC
python-mako-1.0.9-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.