Bug 1623914

Summary: python3-devel should require python3-setuptools to prevent packaging errors
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python3Assignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 29CC: awilliam, bkabrda, cstratak, dmalcolm, fedoraproject, fzatlouk, jsmith.fedora, klember, mcyprian, mhroncok, pviktori, rkuska, shcherbina.iryna, tomspur, torsava
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: AcceptedFreezeException
Fixed In Version: python3-3.7.0-9.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1623922 (view as bug list) Environment:
Last Closed: 2018-09-05 21:32:29 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:
Bug Depends On:    
Bug Blocks: 1517012, 1623922    

Description Miro Hrončok 2018-08-30 12:34:43 UTC
We've recently switched requires on setuptools and pip to recommends. See: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/ARFZB56ULRQNT3FEAC4YXXZDIUHG4M5P/

While I like specific BuildRequires, apparently it is possible to build some packages without setuptools and distutils will create egg-info file, but with setuptools it will create egg-info directory.

File vs. directory is bad in RPM and can bring serious troubles:  https://fedoraproject.org/wiki/Packaging:Directory_Replacement

I propose we add "Requires: pythonX-setuptools to pythonX-devel" in order to prevent a giant clusterfuck.

Later we can somehow analyze the issue and mass add BRs for setuptools, but before we do that, everything can already be on fire.

Comment 1 Fedora Blocker Bugs Application 2018-08-30 13:04:57 UTC
Proposed as a Freeze Exception for 29-beta by Fedora user churchyard using the blocker tracking app because:

 This has a potential to break a lot of other updates.

Comment 3 Tomas Orsava 2018-08-30 13:34:26 UTC
Agreed, we need to add the Requires, at least for now.

Comment 4 Fedora Update System 2018-08-30 16:42:51 UTC
python3-3.7.0-9.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-256cf902f7

Comment 5 Fedora Update System 2018-08-31 16:22:14 UTC
python3-3.7.0-9.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-256cf902f7

Comment 6 František Zatloukal 2018-09-03 14:54:55 UTC
I've commented the update in bodhi. 

python3-3.7.0-9.fc29 fixes this issue.

Comment 7 Adam Williamson 2018-09-05 15:15:22 UTC
Sure, I guess. +1 FE.

Comment 8 Kalev Lember 2018-09-05 18:07:02 UTC
+1 FE

Comment 9 Jared Smith 2018-09-05 18:09:35 UTC
+1 FE

Comment 10 Adam Williamson 2018-09-05 18:47:24 UTC
That's +3, setting accepted.

Comment 11 Fedora Update System 2018-09-05 21:32:29 UTC
python3-3.7.0-9.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.