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 gnumeric'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 gnumeric. If you need anything from us, or something is unclear, please mention it here. Thank you.
Morten, would you care to weigh in?
There's are two different python parts of Gnumeric. 1. The py-loader plugin. With python 2 absent, that should be automatically excluded. 2. Introspection based scripting. That ought to work fine with python 3. Suggestion: disable the plugin until someone (me, probably) finds time to deal with it.
Created attachment 1601502 [details] patch ripping out python support With the attached patch the rpm builds successfully without python support. The added difficulty is that pygobject3-devel currently drags in python2.
Patch looks good visually. > pygobject3-devel currently drags in python2 Is that my department?
(In reply to M Welinder from comment #4) > Patch looks good visually. > Thanks for the review! > > pygobject3-devel currently drags in python2 > > Is that my department? Not really. The only question is: is there any advantage in waiting until pygobject3 python2 dependency is removed? I expect that a bug not similar to this one will be soon filed against pygobject3 and its maintainer will have to remove python2 dependency. After that pygobject3 can be (re-)added to gnumeric's list of dependencies.
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'.
A lot of packages depends on pygobject3 so it'll take some time before we can remove Python 2 bits from it. Making sure that your package does not depend directly on Python 2 is enough. Could you please build a new version of gnumeric so we can check its dependencies?
I have committed the change but the buildroot appears to be broken as of now due to #1744292. I will build gnumeric with python2 support removed once it can be done.
Gnumeric without python support built: gnumeric-1.12.45-3.fc31 and gnumeric-1.12.45-3.fc32.
This message is a reminder that Fedora 31 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '31'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 31 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This is, for the record, fixed upstream.
Fedora 31 changed to end-of-life (EOL) status on 2020-11-24. Fedora 31 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.