Bug 1889725
| Summary: | asciidoc fails to build with Python 3.10 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
| Component: | asciidoc | Assignee: | Fabian Affolter <mail> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | chrisw, jridky, mail, mhroncok, nphilipp, thrnciar, tmz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-03 10:56:40 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: | 1890881 | ||
|
Description
Tomáš Hrnčiar
2020-10-20 13:10:20 UTC
I've tried to reproduce in mock to see the actual error:
<mock-chroot> bash-5.0$ "/builddir/build/BUILD/asciidoc-py3-9.0.2/asciidoc.py" --backend docbook -a "a2x-format=manpage" --doctype manpage --out-file "/builddir/build/BUILD/asciidoc-py3-9.0.2/doc/asciidoc.1.xml" "/builddir/build/BUILD/asciidoc-py3-9.0.2/doc/asciidoc.1.txt"
asciidoc: FAILED: Python 3.5 or better required
Seems like this is a bad version detection:
if float(sys.version[:3]) < float(MIN_PYTHON_VERSION):
message.stderr('FAILED: Python %s or better required' % MIN_PYTHON_VERSION)
sys.exit(1)
https://github.com/asciidoc/asciidoc-py3/pull/151 https://src.fedoraproject.org/rpms/asciidoc/pull-request/4 Fix is already in master branch. |