]> code.ossystems Code Review - openembedded-core.git/commit
scripts/buildhistory-diff: drop use of distutils
authorTim Orling <timothy.t.orling@intel.com>
Sat, 30 Oct 2021 15:35:15 +0000 (08:35 -0700)
committerAnuj Mittal <anuj.mittal@intel.com>
Fri, 25 Feb 2022 14:14:02 +0000 (22:14 +0800)
commit94db7109f21cdefd50baea5660b691e5fe44a0d1
tree77fdfc66e1daa5990e9b2c6a91eb277fda7398de
parentf153f42c910c06dd8e812fa9c803964c60e6cfcc
scripts/buildhistory-diff: drop use of distutils

The use of distutils.version.LooseVersion to check for GitPython > 0.3.1
is not really needed anymore since any supported distribution has at least
1.0.0 (centos-7 via epel7, debian-9, ubuntu-16.04)

If we want to reinstate this check, alternatives would be to require
python3-packaging on all hosts and use packaging.version.Version or
use an imported LooseVersion in bb.version.

[YOCTO #14610]

Signed-off-by: Tim Orling <timothy.t.orling@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bc90dcae9f53ddc246942f4d9b8ae8943e3b9754)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
scripts/buildhistory-diff