Bug 1597956
Summary: | Beaker should use DNF API instead of yum and rpmUtils | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Dan Callaghan <dcallagh> |
Component: | general | Assignee: | Renan Rodrigo Barbosa <rebarbos> |
Status: | CLOSED NEXTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 25 | CC: | mastyk |
Target Milestone: | 27.0 | Keywords: | FutureFeature, Triaged |
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: | 2019-11-27 15:33:16 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: |
Description
Dan Callaghan
2018-07-04 03:18:36 UTC
Actually the problem is a little subtler. Yum is still present in Fedora 29 but it is becoming increasingly more broken. The latest problem seems to be a conflict with python2 (maybe because of the removal of /usr/bin/python) which prevents the yum package from being installed. The impact of that on Beaker is much broader than just our usage of the rpmUtils package, we import and use yum code in several places also. So it means there is a very short-term workaround we can use to get the builds going again in rawhide: we just add an explicitly BuildRequires on yum (it should have been there from the beginning). https://gerrit.beaker-project.org/6185 However, this means at some point in the very near future we will need to drop the yum dependency entirely and switch to the DNF API. By Fedora 30 if not earlier. So I will convert this bug to be about that. Oh yeah, this is definitely happening sooner rather than later. I just found: https://fedoraproject.org/wiki/Changes/Deprecate_YUM_3 which is not accepted yet but is likely to be accepted in some form or another for Fedora 29 or Fedora 30. We will need to replace Beaker's usage of Yum (v3) APIs at that point if we want to continue building on Fedora. |