Summary: | python-cliff fails to build with Python 3.10: argparse output has changed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-cliff | Assignee: | Fedora Infrastructure SIG <infra-sig> |
Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | apevec, infra-sig, jcapitao, kevin, mhroncok, openstack-sig, thrnciar |
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: | Type: | Bug | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Bug Depends On: | |||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2021-01-08 08:23:26 UTC
Odd. I am not sure why this would be failing in 3.10. On 3.9, the 'optional arguments:\n --version' does seem to be there/pass. Did python 3.10 change something about optional arguments? Yes indeed the output has changed from: optional arguments: to: options: I have only recently learned abut this change: https://bugs.python.org/issue9694 https://bugs.python.org/issue42870 This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34. I proposed a patch upstream https://review.opendev.org/c/openstack/cliff/+/775091 |