]> 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)
committerSteve Sakoman <steve@sakoman.com>
Thu, 6 Jan 2022 14:27:01 +0000 (04:27 -1000)
commit15b1a82b4cdfadeaf89489929e10aaf9a0edd13d
tree16f8eabbac48e6cef69799d7b9256928b23c320f
parent0a2da895284f1687cf75297fb0f4b20cc9b53489
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: Steve Sakoman <steve@sakoman.com>
scripts/buildhistory-diff