Source: python-static3 Version: 0.7.0-6 Severity: serious Tags: ftbfs bullseye sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/python-static3.html ... =================================== FAILURES =================================== _________________________________ test_genshi __________________________________ shock = <webtest.app.TestApp object at 0x7fceb92ba430> def test_genshi(shock): > response = shock.get("/test.html") tests/test_app.py:63: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/webtest/app.py:334: in get return self.do_request(req, status=status, /usr/lib/python3/dist-packages/webtest/app.py:628: in do_request res = req.get_response(app, catch_exc_info=True) /usr/lib/python3/dist-packages/webob/request.py:1309: in send status, headers, app_iter, exc_info = self.call_application( /usr/lib/python3/dist-packages/webob/request.py:1278: in call_application app_iter = application(self.environ, start_response) /usr/lib/python3/dist-packages/webtest/lint.py:200: in lint_app iterator = application(environ, start_response_wrapper) static.py:188: in __call__ return self._body(full_path, environ, file_like) static.py:344: in _body return [_encode(s, self.encoding) for s in magic.body(environ, static.py:458: in body template = MarkupTemplate(full_path.read()) /usr/lib/python3/dist-packages/genshi/template/markup.py:65: in __init__ Template.__init__(self, source, filepath=filepath, filename=filename, /usr/lib/python3/dist-packages/genshi/template/base.py:418: in __init__ self._stream = self._parse(source, encoding) /usr/lib/python3/dist-packages/genshi/template/markup.py:85: in _parse for kind, data, pos in interpolate(data, self.filepath, pos[1], /usr/lib/python3/dist-packages/genshi/template/interpolation.py:77: in interpolate expr = Expression(chunk.strip(), pos[0], pos[1], /usr/lib/python3/dist-packages/genshi/template/eval.py:93: in __init__ self.code = _compile(node, self.source, mode=self.mode, /usr/lib/python3/dist-packages/genshi/template/eval.py:451: in _compile tree = xform().visit(node) /usr/lib/python3/dist-packages/genshi/template/astutil.py:794: in visit return visitor(node) /usr/lib/python3/dist-packages/genshi/template/astutil.py:816: in _clone value = self.visit(value) /usr/lib/python3/dist-packages/genshi/template/astutil.py:794: in visit return visitor(node) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <genshi.template.eval.ExpressionASTTransformer object at 0x7fceb92a3370> node = <_ast.Name object at 0x7fceb9385e50> def visit_Name(self, node): # If the name refers to a local inside a lambda, list comprehension, or # generator expression, leave it alone if isinstance(node.ctx, _ast.Load) and \ node.id not in flatten(self.locals): # Otherwise, translate the name ref into a context lookup name = _new(_ast.Name, '_lookup_name', _ast.Load()) namearg = _new(_ast.Name, '__data__', _ast.Load()) > strarg = _new(_ast.Str, node.id) E AttributeError: module '_ast' has no attribute 'Str' /usr/lib/python3/dist-packages/genshi/template/eval.py:616: AttributeError ...