Bug 1737968 - cycle depends on Python 2
Summary: cycle depends on Python 2
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cycle
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F31_PY2REMOVAL
TreeView+ depends on / blocked
 
Reported: 2019-08-06 12:09 UTC by Lumír Balhar
Modified: 2019-08-27 08:19 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-27 08:19:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2019-08-06 12:09:45 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 cycle'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 cycle.
If you need anything from us, or something is unclear, please mention it here.

Thank you.

Comment 1 Gwyn Ciesla 2019-08-06 14:23:34 UTC
Filed upstream. https://sourceforge.net/p/cycle/bugs/6/

Comment 2 Ben Cotton 2019-08-13 16:48:41 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 3 Lumír Balhar 2019-08-14 07:36:53 UTC
The current plan is to remove packages with dependency on Python 2 from Fedora 32 in the middle of November 2019. If you want to keep your package in Fedora after that date 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]. If you don't want to maintain it anymore, and nothing in Fedora uses it, you can retire it or just remove the Python 2 part from it (subpackage, module, bindings, etc.).

If you're considering filing the exception request, let us know. We can help (for example, we can help find all the dependencies).

[1] https://fedoraproject.org/wiki/Changes/RetirePython2#FESCo_exceptions

Comment 4 Matěj Cepl 2019-08-26 17:28:30 UTC
This is Python 2 program, never to be ported to Python 3.

Comment 5 Miro Hrončok 2019-08-26 17:43:34 UTC
> This is Python 2 program, never to be ported to Python 3.

That leaves two options:

1) drop it from Fedora, never to be returned again
2) get a FESCo exception

Closing as WONTFIX is not a viable solution. Python 2 is going away. Sorry about that, but as a Python maintainer yourself, I hope you would understand that.

Comment 6 Matěj Cepl 2019-08-26 19:33:18 UTC
No. 1) was my plan, for that I have retired the package both in Rawhide and F31.

Comment 7 Miro Hrončok 2019-08-26 21:55:44 UTC
> for that I have retired the package both in Rawhide and F31.

Sorry the misunderstanding, but you have not retired the package in rawhide, only in f31.

Comment 8 Matěj Cepl 2019-08-27 06:07:14 UTC
(In reply to Miro Hrončok from comment #7)
> > for that I have retired the package both in Rawhide and F31.
> 
> Sorry the misunderstanding, but you have not retired the package in rawhide,
> only in f31.

Better now?

Comment 9 Miro Hrončok 2019-08-27 08:19:19 UTC
Yes, thank you!


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