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 gprof2dot'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 gprof2dot.
If you need anything from us, or something is unclear, please mention it here.
Please do understand that replying to more than 10 bugs with multiple questions in 2 weeks (3 comments means 2 weeks) is really hard for volunteers, thank you. And I may forget some bugs.
Note that upstream says that at least gprof2dot works with python3.3, so I can try it first.
Thank you. Let me know if I can help you somehow.
Do you have any plan to try the Python 3 version?
I can do just one by one. While I've already imported some packages from python2 to python3, now I am doing some ruby stuff.
- Upstream says gprof2dot works with python3.3
- First I must find out some time to just try to use gprof2dot with python3
- If the above succceeds, just I will change shebang