Bug 2322717
Summary: | python-html5lib fails to build with Python 3.14: AttributeError: module 'ast' has no attribute 'Str' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
Component: | python-html5lib | Assignee: | Miro Hrončok <mhroncok> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ksurma, metherid, mhroncok, michel, pj.pandit, python-packagers-sig, tdawson, trpost |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-html5lib-1:1.1-26.fc42 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2024-10-30 17:39:04 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: | |||
Bug Blocks: | 2322407 |
Description
Karolina Surma
2024-10-30 11:36:19 UTC
This is from https://github.com/html5lib/html5lib-python/blob/1.1/setup.py#L90-L94 if (len(a.targets) == 1 and isinstance(a.targets[0], ast.Name) and a.targets[0].id == "__version__" and isinstance(a.value, ast.Str)): version = a.value.s Should be easy to fix. Fixed in dist-git. |