Bug 1634571

Summary: avahi: Remove (sub)packages from Fedora 30+: python2-avahi
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: avahiAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cstratak, i.gnatenko.brain, john.j5live, lpoetter, mhroncok, msekleta, ngompa13, pviktori, rdieter, zbyszek
Target Milestone: ---   
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: 2018-10-15 15:04:26 UTC Type: ---
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: 1625773    

Description Miro Hrončok 2018-10-01 08:56:17 UTC
In line with the Mass Python 2 Package Removal [0], the following (sub)packages of avahi were marked for removal:

 * python2-avahi

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 Rex Dieter 2018-10-01 15:35:39 UTC
portions of avahi-ui-tools (also a subpackage of avahi),
depend on python2-avahi, so those portions would need to be removed as well.

Comment 2 Miro Hrončok 2018-10-01 15:55:14 UTC
This is a flow in our automation.
When it searches leave packages, it tends to ignore dependent packages from the same SRPM.

Can we move this to Python 3?

Comment 3 Rex Dieter 2018-10-01 16:44:22 UTC
I can look again, but last I did it was not compatible with python3 (I don't remember why though)

Comment 4 Rex Dieter 2018-10-15 15:04:26 UTC
Confirmed, avahi-discover at least depends on pygtk2 which has no python3 equivalent.  So we can't get rid of python2-avahi (yet)