Control: reassign -1 python3-docstring-parser
Control: affects -1 src:python-cyclopts
Control: fixed -1 0.17.0-1
Control: close -1

On Thu, Dec 18, 2025 at 08:37:36AM +0100, s3v wrote:
Actual error (from the log) is:

   node = Expr(value=Constant(value='The name/model of the car.', kind=None))

       def ast_is_literal_str(node: ast.AST) -> bool:
           """Return True if the given node is a literal string."""
           return (
               isinstance(node, ast.Expr)
   >           and isinstance(node.value, (ast.Constant, ast.Str))
                                                         ^^^^^^^
               and isinstance(ast_get_constant_value(node.value), str)
           )
   E       AttributeError: module 'ast' has no attribute 'Str'

   /usr/lib/python3/dist-packages/docstring_parser/attrdoc.py:48: AttributeError


Fixed by docstring-parser author in
https://github.com/rr-/docstring_parser/pull/101
https://github.com/rr-/docstring_parser/pull/91

I just verified that your package builds fine after applying upstream commits.

Please see: https://bugs.debian.org/1123132

Thanks. I confirmed that this change in docstring-parser (uploaded a while ago) fixed the python-cyclopts build.

--
Colin Watson (he/him)                              [[email protected]]

Reply via email to