Bug 1574706

Summary: subscription-manager: python2-subscription-manager-rhsm requires both Python 2 and Python 3
Product: [Fedora] Fedora Reporter: Iryna Shcherbina <shcherbina.iryna>
Component: subscription-managerAssignee: Jiri Hnidek <jhnidek>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 29CC: alikins, awood, bkearney, jhnidek, khowell, pviktori
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-19 14:27:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 1285816, 1340802    

Description Iryna Shcherbina 2018-05-03 21:17:32 UTC
The python2-subscription-manager-rhsm RPM requires both Python 2 and Python 3:

$ dnf --repo rawhide repoquery --requires python2-subscription-manager-rhsm | grep python
python(abi) = 2.7

$ dnf --repo rawhide repoquery python2-subscription-manager-rhsm

Except in very special circumstances, there is no need for one package
to drag in both Python stacks. Usually, this is a packaging error.

Please split your package, or remove the stray dependencies.

It's ok to do this in Rawhide only, however, it would be greatly
appreciated if you could push it to Fedora 28 as well.

If anything is unclear, or if you need any kind of assistance, you can
ask on IRC (#fedora-python on Freenode), or reply here. We'll be happy
to help investigating or fixing this issue!

Comment 1 Jan Kurik 2018-08-14 11:15:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 2 Petr Viktorin 2019-03-19 14:27:06 UTC
This is fixed, at least on Rawhide.