Bug 1609492

Summary: python-backcall: requires python(abi) without version (%?python_enable_dependency_generator)
Product: [Fedora] Fedora Reporter: Iryna Shcherbina <shcherbina.iryna>
Component: python-rpm-generatorsAssignee: Tomas Orsava <torsava>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, igor.raits, lbalhar, mcyprian, mhroncok, pviktori, shcherbina.iryna, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-rpm-generators-5-4.fc29, python-backcall-0.1.0-4.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-28 20:55:52 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-07-28 15:04:24 UTC
The python3-backcall RPM requires both Python 2 and Python 3:

$ dnf repoquery --repo=rawhide --requires python3-backcall
python(abi)
python(abi) = 3.7

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 Miro Hrončok 2018-07-28 19:55:17 UTC
I was fighting the "python(abi)" requires even with my 3.6 repoqueries. I have no idea why it is there, but if I remove "%?python_enable_dependency_generator", it's gone.

This only happens on rawhide.

Comment 2 Miro Hrončok 2018-07-28 20:14:04 UTC
I think I found a fix, will send a PR.