Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

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   
Whiteboard:
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: --- Target Upstream Version:
Embargoed:
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
libpython3.6m.so.1.0()(64bit)
python(abi) = 2.7
python2-dateutil
python2-iniparse
python2-six
rpm-python

$ dnf --repo rawhide repoquery python2-subscription-manager-rhsm
python2-subscription-manager-rhsm-0:1.21.4-3.fc29.x86_64

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 (pviktori) 2019-03-19 14:27:06 UTC
This is fixed, at least on Rawhide.