Bug 1912589

Summary: python3-pyyaml pulpcore build does not match RHEL provides
Product: Red Hat Satellite Reporter: Bill Nottingham <notting>
Component: PackagingAssignee: Evgeni Golov <egolov>
Status: CLOSED ERRATA QA Contact: Lukas Pramuk <lpramuk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: ehelms
Target Milestone: 6.10.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-pyyaml-5.3.1-3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 14:09:38 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 Bill Nottingham 2021-01-04 20:36:05 UTC
Description of problem:

RHEL 8 provides python3-pyyaml, which provides:

[root@rhel8-base ~]# rpm -qp --provides python3-pyyaml-3.12-12.el8.x86_64.rpm 
python3-PyYAML = 3.12-12.el8
python3-PyYAML(x86-64) = 3.12-12.el8
python3-pyyaml = 3.12-12.el8
python3-pyyaml(x86-64) = 3.12-12.el8
python3-yaml = 3.12-12.el8
python3-yaml(x86-64) = 3.12-12.el8
python3.6dist(pyyaml) = 3.12
python3dist(pyyaml) = 3.12

Pulpcore python3-pyyaml provides:

[root@rhel8-base ~]# rpm -qp --provides python3-pyyaml-5.3.1-2.el8pc.x86_64.rpm 
python3-PyYAML = 5.3.1-2.el8pc
python3-pyyaml = 5.3.1-2.el8pc
python3-pyyaml(x86-64) = 5.3.1-2.el8pc
python3.6dist(pyyaml) = 5.3.1
python3dist(pyyaml) = 5.3.1

A package built on RHEL 8 that has a requirement for 'python3-yaml' will fail when the pulpcore package is installed (or will fail the installation of the pulpcore package, due to missing dependencies.)

This is causing an issue with the Automation Hub channel at the moment.


Version-Release number of selected component (if applicable):

python3-pyyaml-5.3.1-2.el8pc.x86_64.rpm


How reproducible: 100%

Comment 1 Evgeni Golov 2021-01-29 07:54:35 UTC
this has been fixed a while ago: https://brew.engineering.redhat.com/brew/buildinfo?buildID=1443721

Comment 2 Lukas Pramuk 2021-07-27 14:41:40 UTC
VERIFIED.

@Satellite 6.10.0 Snap9
python3-pyyaml-5.4.1-1.el7pc.x86_64

# rpm -q --provides python3-pyyaml
python3-PyYAML = 5.4.1-1.el7pc
python3-pyyaml = 5.4.1-1.el7pc
python3-pyyaml(x86-64) = 5.4.1-1.el7pc
python3-yaml = 5.4.1-1.el7pc
python3.6dist(pyyaml) = 5.4.1
python36-PyYAML = 5.4.1-1.el7pc
python36-PyYAML(x86-64) = 5.4.1-1.el7pc
python36-pyyaml = 5.4.1-1.el7pc
python36-pyyaml(x86-64) = 5.4.1-1.el7pc
python36-yaml = 5.4.1-1.el7pc
python36-yaml(x86-64) = 5.4.1-1.el7pc


>>> PulpCore python3-pyyaml rpm now provides "python3-PyYAML", "python3-pyyaml", "python3-yaml"

Comment 5 errata-xmlrpc 2021-11-16 14:09:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:4702