Bug 1632301

Summary: kobo: Remove (sub)packages from Fedora 30+: python2-kobo-admin, python2-kobo-client, python2-kobo-django, python2-kobo-hub...
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: koboAssignee: Daniel Mach <dmach>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, dmach, igor.raits, kdudka, mhroncok, ngompa13, pviktori, zbyszek
Target Milestone: ---   
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-01-15 09:45:09 UTC Type: ---
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: 1625773    

Description Miro Hrončok 2018-09-24 15:30:43 UTC
In line with the Mass Python 2 Package Removal [0], the following (sub)packages of kobo were marked for removal:

 * python2-kobo-admin
 * python2-kobo-client
 * python2-kobo-django
 * python2-kobo-hub
 * python2-kobo-worker

According to our query, those (sub)packages only provide a Python 2 importable module. If this is not true, please tell us why, so we can fix our query.

Please remove them from your package.

As said in the change document, if there is no objection in a week, we will remove the package(s) as soon as we get to it. This change might not match your packaging style, so we'd prefer if you did the change. If you need more time, please let us know here.

We hope this doesn't come to you as a surprise. If you want to know our motivation for this, please read the change document [0].

[0] https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal

Comment 1 Petr Viktorin (pviktori) 2019-01-08 15:21:27 UTC
I'm trying to get rid of the compatibility package python2-django1.11, and python2-kobo-django is one of the last few packages that use it in Fedora.

As part of the Mass Python2 Package Removal, I'll remove all python2 packages from the spec, entirely. If you want it done some other way (e.g. keep the spec compatible with other distros), please do the change yourself. If you need time, or anything else, let me know.

Comment 2 Miro Hrončok 2019-01-08 15:33:57 UTC
> I'll remove all python2 packages from the spec, entirely.

Careful not to break stuff:

$ dnf repoquery --repo=rawhide  --repo=rawhide-source --whatrequires python2-kobo | grep -v python2-kobo
freshmaker-0:0.0.4-7.fc29.noarch
freshmaker-0:0.0.4-7.fc29.src
pungi-legacy-0:4.1.31-3.fc30.noarch

Comment 3 Petr Viktorin (pviktori) 2019-01-10 15:44:43 UTC
Ah, sorry. I'll remove only the ones that need Django. The others wouldn't unblock anything at the moment.

Comment 4 Petr Viktorin (pviktori) 2019-01-11 16:49:57 UTC
Actually, the spec was quite nicely compartmentalized, so I just added to existing %ifs:

https://src.fedoraproject.org/rpms/kobo/pull-request/7

Comment 5 Miro Hrončok 2019-01-15 09:45:09 UTC
More or less removed. Closing for now, will open a new one once we need to remove all python2 packages from kobo.