Skip to content

html5lib fails to build on Python 3.14 (uses removed ast.Str node) #588

@sookach

Description

@sookach

setup.py uses ast.Str, which was removed in Python 3.14. As a result, attempting to build or install html5lib under Python 3.14 fails with an AttributeError, similar to below:

       >   File "setup.py", line 93, in <module>
       >     isinstance(a.value, ast.Str)):
       >                         ^^^^^^^
       > AttributeError: module 'ast' has no attribute 'Str'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions