Bug 1741025

Summary: gprof2dot depends on Python 2
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: gprof2dotAssignee: Mamoru TASAKA <mtasaka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mtasaka
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gprof2dot-1.0-0.17.D20190826git6dc9bdf4b0.fc32.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-01 06:55:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1698500    

Description Lumír Balhar 2019-08-14 05:27:44 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 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.

Thank you.

Comment 1 Mamoru TASAKA 2019-08-19 12:07:54 UTC
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.

Comment 2 Mamoru TASAKA 2019-08-19 12:17:30 UTC
Note that upstream says that at least gprof2dot works with python3.3, so I can try it first.

Comment 3 Lumír Balhar 2019-08-26 13:47:56 UTC
Thank you. Let me know if I can help you somehow.

Comment 4 Lumír Balhar 2019-09-03 10:00:00 UTC
Do you have any plan to try the Python 3 version?

Comment 5 Mamoru TASAKA 2019-09-08 10:30:36 UTC
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.

Comment 6 Mamoru TASAKA 2019-09-10 08:26:44 UTC
- 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

Comment 7 Lumír Balhar 2019-09-10 10:00:32 UTC
Thank you!