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 python-gntp'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 python-gntp.
If you need anything from us, or something is unclear, please mention it here.
I think the 2 dependency is historical? Recent versions claim to support Python 3.
In Fedora, nothing depends on python2-gntp so you can freely remove that subpackage and keep only Python 3 version.
Do you need any help with that?
Do you have any plan to remove python2-gntp?
No, I don't have any plans to remove python2 functionality.
python2-gntp is a leaf package (nothing depends on it in rawhide). Do you have any reason to keep it in the distro?
According to the change , if you want to keep the python2 subpackage in Fedora 32, you'll have to fill a fesco request for an exception with a reason to keep it for a while longer.
Could you please answer my question?
Could you please answer my question? If you don't, we'll remove the python2 subpackage from rawhide.
To answer your question: sure, I don't see any reason to remove it from the distro. Python2 works fine and this python subpackage works fine.
Well, it works now but it won't work in the near future because, as described in the changes, we are retiring the whole Python 2 stack. Python 2 will lose support in the January 2020 and we (Python maintenance team) don't want to maintain it after that date.
Moreover, there are no dependent packages on python2-gntp so it can be removed from rawhide without any harm.
Of course, if you want to keep it for a while longer, which I see no reason for, you can request a fesco exception (example: https://pagure.io/fesco/issue/2214). But then, be prepared to become a co-maintainer of python2-setuptools package because python-gntp requires it.
Could you please remove it? Shall I prepare a PR to make it easier for you?
I don't really see why you keep asking me questions. Killing 2 is your project, do it yourself.
I've done it myself. Thanks for the friendly attitude.