Bug 1914138
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: | Tomáš Hrnčiar <thrnciar> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | 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: | 2021-06-07 11:36:31 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
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 This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla. The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide. You can either build the package in the side tag, with: $ fedpkg build --target=f35-python Or you can the build and we will eventually build it for you. Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/ $ repoquery --repo=koji{,-source} --whatrequires python3-cliff --recursive 5minute-0:0.2.32-9.fc34.noarch 5minute-0:0.2.32-9.fc34.src ara-0:1.5.6-1.fc35.noarch ara-0:1.5.6-1.fc35.src python-aodhclient-0:2.2.0-2.fc35.src python-bashate-0:2.0.0-3.fc34.src python-designateclient-0:4.2.0-1.fc35.src python-gabbi-0:2.0.4-2.fc34.src python-gnocchiclient-0:7.0.7-2.fc34.src python-heatclient-0:2.3.0-1.fc35.src python-jenkins-job-builder-1:3.8.0-1.fc34.src python-keystoneauth1-0:4.3.1-1.fc35.src python-keystoneclient-1:4.2.0-1.fc35.src python-ldappool-0:2.4.0-9.fc34.src python-magnumclient-0:3.4.0-1.fc35.src python-manilaclient-0:2.5.0-1.fc35.src python-mistralclient-0:4.2.0-1.fc35.src python-mox3-0:1.1.0-2.fc34.src python-neutronclient-0:7.3.0-1.fc35.src python-octaviaclient-0:2.3.0-1.fc35.src python-openstackclient-0:5.5.0-1.fc35.src python-openstackclient-doc-0:5.5.0-1.fc35.noarch python-openstacksdk-0:0.55.0-1.fc35.src python-opnsense-0:0.3.0-2.fc34.src python-os-client-config-0:2.1.0-3.fc34.src python-osc-lib-0:2.3.1-1.fc35.src python-oslo-config-2:8.5.0-1.fc35.src python-oslo-serialization-0:4.1.0-1.fc35.src python-oslotest-0:4.4.1-3.fc34.src python-pymochad-0:0.2.0-2.fc34.src python-pymod2pkg-0:0.17.1-8.fc34.src python-saharaclient-0:3.3.0-1.fc35.src python-stestr-0:2.6.0-8.fc34~bootstrap.src python-tackerclient-0:1.6.0-1.fc35.src python-tosca-parser-0:2.1.0-2.fc34.src python-troveclient-0:7.0.0-1.fc35.src python-virtualbmc-0:2.2.0-1.fc35.src python-vitrageclient-0:4.3.0-1.fc35.src python-zuul-client-0:0.0.4-3.fc35.src python3-aodhclient-0:2.2.0-2.fc35.noarch python3-aodhclient-tests-0:2.2.0-2.fc35.noarch python3-ara-0:1.5.6-1.fc35.noarch python3-ara-server-0:1.5.6-1.fc35.noarch python3-ara-tests-0:1.5.6-1.fc35.noarch python3-barbicanclient-0:5.1.0-1.fc35.noarch python3-cliff-tablib-0:1.1-23.fc34.noarch python3-cliff-tests-0:3.7.0-1.fc35.noarch python3-designateclient-0:4.2.0-1.fc35.noarch python3-designateclient-tests-0:4.2.0-1.fc35.noarch python3-epi-0:0.1.2-2.fc34.noarch python3-gearbox-0:0.2.1-1.fc35.noarch python3-gnocchiclient-0:7.0.7-2.fc34.noarch python3-gnocchiclient-tests-0:7.0.7-2.fc34.noarch python3-heatclient-0:2.3.0-1.fc35.noarch python3-ironicclient-0:4.3.0-3.fc34.noarch python3-keystoneclient-tests-1:4.2.0-1.fc35.noarch python3-magnumclient-0:3.4.0-1.fc35.noarch python3-magnumclient-tests-0:3.4.0-1.fc35.noarch python3-manilaclient-0:2.5.0-1.fc35.noarch python3-mistralclient-0:4.2.0-1.fc35.noarch python3-neutronclient-0:7.3.0-1.fc35.noarch python3-neutronclient-tests-0:7.3.0-1.fc35.noarch python3-octaviaclient-0:2.3.0-1.fc35.noarch python3-octaviaclient-tests-0:2.3.0-1.fc35.noarch python3-openstackclient-0:5.5.0-1.fc35.noarch python3-os-testr-0:2.0.0-3.fc34.noarch python3-osc-lib-0:2.3.1-1.fc35.noarch python3-osc-lib-tests-0:2.3.1-1.fc35.noarch python3-oslo-serialization-tests-0:4.1.0-1.fc35.noarch python3-pkgwat-0:0.13-8.fc34.noarch python3-rsdclient-0:1.0.2-3.fc34.noarch python3-rsdclient-tests-0:1.0.2-3.fc34.noarch python3-saharaclient-0:3.3.0-1.fc35.noarch python3-stestr-0:2.6.0-8.fc34~bootstrap.noarch python3-tackerclient-0:1.6.0-1.fc35.noarch python3-tackerclient-tests-unit-0:1.6.0-1.fc35.noarch python3-tosca-parser-0:2.1.0-2.fc34.noarch python3-troveclient-0:7.0.0-1.fc35.noarch python3-virtualbmc-0:2.2.0-1.fc35.noarch python3-virtualbmc-tests-0:2.2.0-1.fc35.noarch python3-vitrageclient-0:4.3.0-1.fc35.noarch python3-zaqarclient-0:2.1.0-1.fc35.noarch resalloc-openstack-0:7-8.fc34.noarch |