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 clustershell'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 clustershell.
If you need anything from us, or something is unclear, please mention it here.
Thanks for this ticket. clustershell is a software written in Python that does also provide a Python library used by other tools and has full support for both Python3 since 2017. As a tool and library used by sysadmins, it always primarily depends on the python version provided by the system (so far mostly Python 2). As Python 3 is now the default and Python 2 finally being removed, I'm going to remove any Python 2 dependency in version 1.8.2, which is actually being released at the moment (perfect timing), for Fedora 31+ and EPEL-8.
Great, thank you!
It seems that nothing in rawhide depends on python2-clustershell so this subpackage can be freely removed.
Perfect. I fixed it in https://bodhi.fedoraproject.org/updates/FEDORA-2019-91a545e43b
(I can't seem to link this update to this ticket as it has been auto-pushed to stable already.)
The last build seems to be python-3-only so you can close this bug. However, I'd not push the same change to already released versions (30, 29) because users might still use clustershell Python 2 modules there.
Thanks Lumír! That is exactly the idea. The new version of clustershell 1.8.2 in Fedora 29 and 30 does still include the Python 2 modules.