Bug 1743902
Summary: | swid-tools fails to build with Python 3.8 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | swid-tools | Assignee: | Jan Pazdziora <jpazdziora> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | jpazdziora, mihai, rpm-software-management, sct |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | swid-tools-0.8.6-1.fc30 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-09-06 12:31:09 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: | 1686977 |
Description
Miro Hrončok
2019-08-20 23:26:36 UTC
It seems it is failing to build on Fedora rawhide even with the current Python 3.7. (Whether the error in fact is or is not related to Python 3.8 bares very little significance. The package needs to be rebuilt with Python 3.8 in order to be installable. When it fails for Python 3.8 related reasons, it will not be installable. When it fails for Python 3.8 unrelated reasons, it will not be installable either.) It seems https://bodhi.fedoraproject.org/updates/FEDORA-2019-40235845dc (dnf-4.2.8 + dnf-plugins-core-4.0.9) breaks things even on Fedora 30. Specifically, it's the upgrade from python3-dnf-4.2.7-2.fc30.noarch to python3-dnf-4.2.8-1.fc30.noarch (and dnf, dnf-data, and dnf-yum, that get pulled with it) which causes the regression, even if dnf-plugins-core stays at version dnf-plugins-core-4.0.7-1.fc30.noarch. The regression got introduced by https://github.com/rpm-software-management/dnf/commit/de9643afbdf5bb97f40e7f965d7eae2d28d91118. While I can likely replace @staticmethod def set_argparser(parser): subparser = parser.add_subparsers(parser_class=argparse.ArgumentParser, dest="swidtagscmd") subparser.add_parser("sync", help="for installed rpms, fetch SWID tags from repository metadata or generate them locally") subparser.add_parser("regen", help="synonym to sync") subparser.add_parser("purge", help="remove all SWID tags that were locally-generated by the plugin") with @staticmethod def set_argparser(parser): parser.add_argument("swidtagscmd", nargs=1, choices=["sync", "regen", "purge"]) I haven't found a way to specify help strings for that argument and the individual values. The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged: $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32 If your built already started in f32-python, after it is finished, please tag it to rawhide with: $ koji tag-build f32-pending <nvr> For example: $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32 Thanks! (This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.) (Python 3.8 has landed in the rawhide buildroot.) The swid-tools-0.8.6-1.fc32 was built for rawhide: https://bodhi.fedoraproject.org/updates/FEDORA-2019-840397fe93. FEDORA-2019-40235845dc has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-40235845dc dnf-4.2.8-1.fc30, dnf-plugins-core-4.0.9-1.fc30, dnf-plugins-extras-4.0.5-1.fc30, libdnf-0.35.2-1.fc30, swid-tools-0.8.6-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-40235845dc FEDORA-2019-40235845dc has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-40235845dc dnf-4.2.8-1.fc30, dnf-plugins-core-4.0.9-1.fc30, libdnf-0.35.2-1.fc30, swid-tools-0.8.6-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-40235845dc dnf-4.2.8-1.fc30, dnf-plugins-core-4.0.9-1.fc30, libdnf-0.35.2-1.fc30, swid-tools-0.8.6-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report. |