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 glade3'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 glade3. If you need anything from us, or something is unclear, please mention it here. Thank you.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'.
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31.
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.
According to the procedure described in https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages the package was now orphaned. If you think it was a mistake, you can provide the answers and claim the package back. Let us know if you need any help or just need more time.
It might be possible to build glade3 with python3? A quick try however fails due to pygtk2 pulling in python2, so that might not work after all. It _IS_ possible to build it without python widgets at all... here's a scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=37689944 So, I'd like to I guess take it back over and build it without python for now, unless others have better ideas. :)
Sounds good. If you do a PR, we can run https://pagure.io/stewardship-sig/blob/master/f/scripts/review_pr.py on it (it rebuilds all dependent packages in a copr repo) to see what breaks.
https://src.fedoraproject.org/rpms/glade3/pull-request/1
So, I guess I was confused by the glade/glade3 versioning/naming. :) It seems glade3 is the old gtk2/python2 one. Xfce really should be building against the new gtk3/python3 one (glade), and perhaps other packages in the list are similar. So, I am going to see if we can move the Xfce packages out, and then see whats left. Perhaps it would then be ok to retire glade3. Or if there's still things using it and someone wants to keep it, we could just drop python2 from it as proposed in that PR above. Also note that it does seem to build ok without pygtk2-devel (when disabling python support).
I propose the following: 1. move xfce to glade 2. keep glade3 orphaned and see who cares 3. (either) retire after 6 weeks 3. (or) drop python2/pygtk2 if unorphaned
Xfce already supports glade, at least libxfceui supports both glade and glade3 backends. Below is an extract of the configure script summary when both are available: Build Configuration: * GTK2 support: yes * Glade Interface Designer: yes - Catalog directory: /usr/share/glade3/catalogs - Module directory: /usr/lib64/glade3/modules - Pixmap directory: /usr/share/glade3/pixmaps * Glade 3.0 Interface Designer: yes - Catalog directory: /usr/share/glade/catalogs - Module directory: /usr/lib64/glade/modules - Pixmap directory: /usr/share/glade/pixmaps I think Kevin's plan to remove python 2 bindings from glade is the best option to explore, we need glade3 for basic Xfce applications such as Thunar.
Removed Python 2 support from glade3. The only impacted package is pspp, but only because it used python2 without BRing it: https://src.fedoraproject.org/rpms/pspp/pull-request/1 I've claimed the glade3 package and added kevin, dridi and nonamedotc as admins. I plan to orphan it again once Xfce stops using it.