Created attachment 1549149 [details] Full log from Copr ====================================================================== ERROR: test_boolean_attributes (chameleon.tests.test_templates.ZopePageTemplatesTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/tests/test_templates.py", line 562, in test_boolean_attributes template = self.from_string( File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/zpt/template.py", line 192, in __init__ super(PageTemplate, self).__init__(body, **config) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/template.py", line 128, in __init__ self.write(body) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/template.py", line 221, in write self.cook(body) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/template.py", line 158, in cook program = self._cook(body, digest, names) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/template.py", line 231, in _cook source = self._compile(body, builtins) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/template.py", line 265, in _compile compiler = Compiler( File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/compiler.py", line 949, in __init__ generator = TemplateCodeGenerator(module, source) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/codegen.py", line 116, in __init__ super(TemplateCodeGenerator, self).__init__(tree) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 226, in __init__ self.visit(tree) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/codegen.py", line 201, in visit super(TemplateCodeGenerator, self).visit(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 286, in visit ret = visitor(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/codegen.py", line 119, in visit_Module super(TemplateCodeGenerator, self).visit_Module(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 293, in visit_Module self.visit(n) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/codegen.py", line 201, in visit super(TemplateCodeGenerator, self).visit(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 286, in visit ret = visitor(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 387, in visit_Assign self.visit(node.value) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/codegen.py", line 201, in visit super(TemplateCodeGenerator, self).visit(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 286, in visit ret = visitor(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 829, in visit_Call self.visit(arg) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/codegen.py", line 201, in visit super(TemplateCodeGenerator, self).visit(node) File "/builddir/build/BUILD/Chameleon-3.4/src/chameleon/astutil.py", line 284, in visit raise Exception('No handler for ``%s`` (%s).' % ( Exception: No handler for ``Constant`` (<_ast.Constant object at 0x7fe860fbbe20>). That is python-chameleon-3.4-2.fc31. This blocks the bootstrap of Python 3.8. This is needed by pyramid and hence bodhi - setting high severity.
I got to pyramid in in bootstrap sequence. Can we try to get chameleon updated? Recent upstream is 3.6.1 from this Monday.
Running tox on upstream checkout reveals that 3.4 fails but 3.6.1 passes.
Git bisect gives: https://github.com/malthe/chameleon/pull/273 Add support for Python 3.8 That is included since 3.5.
Fixed in git.