]> 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>
Wed, 12 Jan 2022 02:10:57 +0000 (10:10 +0800)
commit298222353584776afc1dfe17abc5916b4ada40de
treeb93caa09c0e384adbeaf570326d1df3049b862cc
parent6b9c12fab3b1319b6b0e59ed596d4a586a678ef2
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