Bug 13328 - Update pybootchart to work with python3
Summary: Update pybootchart to work with python3
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: Scripts and Tools (show other bugs)
Version: 2.7
Hardware: x86 Multiple
: Medium+ enhancement
Target Milestone: 2.8 M1
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2019-05-02 13:39 UTC by Richard Purdie
Modified: 2019-05-13 13:34 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Purdie 2019-05-02 13:39:37 UTC
A modified version of pybootchart is included/used in OE-Core to analyse our build performance charts. It currently uses python2 which is problematic and it should be updated to python3. This may involve patches from its upstream, fixing the issues ourselves or if there are other alternatives those could also be considered, the end result is to drop the py2 dependency (and hence the dependency on py2-cairo) which would allow automated testing on the autobuilder (which has py3-cairo).
Comment 1 Armin Kuster 2019-05-03 15:51:37 UTC
newer version upstream we need to integrate to pick up pr3 changes.

https://github.com/xrmx/bootchart
Comment 2 Armin Kuster 2019-05-03 15:52:38 UTC
also include bug fixes.
Comment 3 Armin Kuster 2019-05-04 02:35:11 UTC
the big task will be to covert to GTK3.. gtk2 is not supported by python3. This is well outside my wheelhouse.
Comment 4 Armin Kuster 2019-05-05 20:41:04 UTC
If you want this converted, you will need someone else to work on it as I have spent enough of my free time on this and it does not appeal to me either.
Comment 5 Richard Purdie 2019-05-07 09:27:30 UTC
(In reply to comment #4)
> If you want this converted, you will need someone else to work on it as I
> have spent enough of my free time on this and it does not appeal to me
> either.

No problem, I wasn't asking so much as highlighting we had a problem here to get the manual tests moved forward. I hadn't realised the gtk 2/3 issue, thanks for highlighting that.

The tool is incredibly useful if you've ever tried to visualise timings in the build process but I appreciate its not something everyone ever needs.
Comment 6 Richard Purdie 2019-05-08 20:28:09 UTC
Patches on the mailing list