Python 2.7 will reach end-of-life in January 2020, over 9 years after it was released. This falls within the Fedora 31 lifetime. Packages that depend on Python 2 are being switched to Python 3 or removed from Fedora: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages Python 2 will be retired in Fedora 32: https://fedoraproject.org/wiki/Changes/RetirePython2 To help planning, we'd like to know the plans for avahi's future. Specifically: - What is the reason for the Python2 dependency? (Is it software written in Python, or does it just provide Python bindings, or use Python in the build system or test runner?) - What are the upstream/community plans/timelines regarding Python 3? - What is the guidance for porting to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?) This bug is filed semi-automatically, and might not have all the context specific to avahi. If you need anything from us, or something is unclear, please mention it here. Thank you.
Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages If you need any information or help, or if you need some more time, please let us know.
I've a commit that removes all python support, staged. repoquery shows nothing currently depends on either python2-avahi or python3-avahi
Thanks!
Still requires pygtk2, which is Python 2: $ repoquery --repo=rawhide{,-source} --requires avahi ... pygtk2 ...
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle. Changing version to 34.
There is a typo in the workaround in the specfile, meant to address this bugzilla: Line 27: > %if 0%{?fedora} > 30 || 0%{?rhel} > 8 Should be greater than or equal to rhel 8 > %if 0%{?fedora} > 30 || 0%{?rhel} >= 8
Please target the removal in the f34 and rawhide branch so we have RHEL 9 and ELN/RHEL 10 covered as well.
https://src.fedoraproject.org/rpms/avahi/c/865aa4c0e41120c146c6e39ce98ea7070f760edf should do it
The build failed.
Thanks.