Bug 1739548
Summary: | gnome-desktop depends on Python 2 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lumír Balhar <lbalhar> | ||||
Component: | gnome-desktop | Assignee: | Yaakov Selkowitz <yselkowi> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 31 | CC: | caillon+fedoraproject, fmuellner, gnome-sig, john.j5live, klember, mclasen, pviktori, rhughes, rstrode, sandmann, yselkowi | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | gnome-desktop-2.32.0-27.fc33 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2020-07-13 20:05:39 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: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1698500 | ||||||
Attachments: |
|
Description
Lumír Balhar
2019-08-09 13:47:29 UTC
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. 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'm not the PoC for the Fedora builds, but let me help clarify. (In reply to Lumír Balhar from comment #0) > - 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?) The gnome-about application uses pygtk2. > - What are the upstream/community plans/timelines regarding Python 3? None for this version. This is a compat package for old GNOME2-based applications. > - 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?) IMO the best path forward would be to drop the obsolete gnome-about application and only ship the libgnome-desktop-2 library and other miscellaneous data. Created attachment 1608152 [details] Patch for rawhide Scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=37294828 From the configure part in the build log of your scratch build it seems that it still checks the presence of python2. I'm not sure what will happen when it'll be unavailable. But it seems that the RPM from the latest build does not depend on Python 2. checking for python... no checking for python2... /usr/bin/python2 checking for python version... 2.7 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python2.7/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python2.7/site-packages https://kojipkgs.fedoraproject.org//work/tasks/4831/37294831/build.log Automation has figured out the package is retired in Fedora 31. If you like it to be unretired, please open a ticket at https://pagure.io/releng/new_issue?template=package_unretirement The package was unretired. It still depends on Python 2. If you want to keep your package in Fedora and you cannot port it to Python 3 yet, you need to request a FESCo exception for the package and all its Python 2 dependencies (even transitive) [1]. This is a process to ensure maintainers of all the dependencies are OK twith continuing to maintain py2 versions. Here's an example exceptions request: https://pagure.io/fesco/issue/2238 gnome-desktop currently uses: pycairo python2-setuptools pygtk2 pygobject2 All these have an exception for Gimp, but you should contact the maintainers anyway and include them in the exception for gnome-desktop, so they aren't removed if Gimp is retired/modularized. [1] https://fedoraproject.org/wiki/Changes/RetirePython2#FESCo_exceptions According to my repoquery there's nothing in Fedora 32 that uses gnome-desktop any more and I believe it should be safe to retire it now. This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. gnome-about has been removed from the gnome-desktop package. |