]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 4 Jan 2022 23:13:32 +0000 (23:13 +0000)
commitbc90dcae9f53ddc246942f4d9b8ae8943e3b9754
treeeef7a646c1b6f95f8f563faf608662aa7af836f9
parent28dd1e1a0965646c5736e3de91aad830311a797b
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>
scripts/buildhistory-diff