Bug 9635

Summary: buildhistory-diff script should use argparse instead of optparse library
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Humberto Ibarra <humberto.ibarra.lopez>
Component: Scripts and ToolsAssignee: Daniela Plascencia <daniela.plascencia>
Status: RESOLVED FIXED QA Contact: David Lopez Barriba <davidx.lopez.barriba>
Severity: enhancement    
Priority: Medium CC: jose.perez.carranza, leonardo.sandoval.gonzalez, ross.burton
Version: 2.2   
Target Milestone: 2.4 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Humberto Ibarra 2016-05-14 19:39:32 UTC
Similar issue to the one described in #8321, only this applies to buildhistory-diff instead of yocto-bsp script.

optparse library is deprecated since 2.7, scripts should use argparse instead.
Comment 1 Leonardo Sandoval Gonzalez 2016-06-16 16:53:11 UTC
Humberto, optparse in python3 is still available so priority is a bit lower on this.
Comment 2 Leonardo Sandoval Gonzalez 2016-06-21 20:35:55 UTC
some related info on this transition https://docs.python.org/2/library/argparse.html#upgrading-optparse-code
Comment 3 Leonardo Sandoval Gonzalez 2016-06-23 19:54:50 UTC
My fault, moving it to M1 again. CCB should agree on any milestone movement.
Comment 4 Leonardo Sandoval Gonzalez 2017-01-25 20:29:40 UTC
This is not a priority right now so moving it to next release.
Comment 5 Daniela Plascencia 2017-08-25 19:08:15 UTC
Patch has been sent to the mailing list.