Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1741013 - python-gntp depends on Python 2
Summary: python-gntp depends on Python 2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-gntp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F31_PY2REMOVAL
TreeView+ depends on / blocked
 
Reported: 2019-08-14 05:13 UTC by Lumír Balhar
Modified: 2019-09-17 11:34 UTC (History)
2 users (show)

Fixed In Version: python-gntp-1.0.3-11.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-17 05:02:20 UTC
Type: Bug
Embargoed:
cse.cem+redhatbugz: needinfo-


Attachments (Terms of Use)

Description Lumír Balhar 2019-08-14 05:13:31 UTC
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.

Thank you.

Comment 1 Conrad Meyer 2019-08-15 17:26:11 UTC
I think the 2 dependency is historical?  Recent versions claim to support Python 3.

Comment 2 Lumír Balhar 2019-08-16 04:34:35 UTC
In Fedora, nothing depends on python2-gntp so you can freely remove that subpackage and keep only Python 3 version.

Comment 3 Lumír Balhar 2019-08-23 15:17:45 UTC
Do you need any help with that?

Comment 4 Lumír Balhar 2019-09-02 05:26:33 UTC
Do you have any plan to remove python2-gntp?

Comment 5 Conrad Meyer 2019-09-02 05:34:24 UTC
No, I don't have any plans to remove python2 functionality.

Comment 6 Lumír Balhar 2019-09-02 05:41:07 UTC
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 [1], 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.

[1] https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages

Comment 7 Lumír Balhar 2019-09-09 07:32:55 UTC
Could you please answer my question?

Comment 8 Lumír Balhar 2019-09-16 18:42:20 UTC
Could you please answer my question? If you don't, we'll remove the python2 subpackage from rawhide.

Comment 9 Conrad Meyer 2019-09-16 19:28:08 UTC
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.

Comment 10 Lumír Balhar 2019-09-17 04:52:08 UTC
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?

Comment 11 Conrad Meyer 2019-09-17 05:02:20 UTC
I don't really see why you keep asking me questions.  Killing 2 is your project, do it yourself.

Comment 12 Miro Hrončok 2019-09-17 08:27:33 UTC
I've done it myself. Thanks for the friendly attitude.

Comment 13 Conrad Meyer 2019-09-17 11:34:51 UTC
No problem!


Note You need to log in before you can comment on or make changes to this bug.