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.
Humberto, optparse in python3 is still available so priority is a bit lower on this.
some related info on this transition https://docs.python.org/2/library/argparse.html#upgrading-optparse-code
My fault, moving it to M1 again. CCB should agree on any milestone movement.
This is not a priority right now so moving it to next release.
Patch has been sent to the mailing list.
Merged at: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c72af57827eeace52dda85dfb00c9ed051d0f3f6