From f0627490711f29f0e308a0afc4fc4f8e54f58dec Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 26 Nov 2021 16:31:17 +0000 Subject: sanity/lib: Replace usage of LooseVersion() with bb.utils.vercmp_string_op() distutils is going away and we have functionality in bitbake which can handle these comparisions so switch to the bb.utils function. (From OE-Core rev: fe624b520e6c75e16a8f394785ab0216341402f9) Signed-off-by: Richard Purdie --- meta/lib/oe/distro_check.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib/oe/distro_check.py') diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py index 88e46c354d..4b2a9bec01 100644 --- a/meta/lib/oe/distro_check.py +++ b/meta/lib/oe/distro_check.py @@ -26,7 +26,7 @@ def find_latest_numeric_release(url, d): maxstr="" for link in get_links_from_url(url, d): try: - # TODO use LooseVersion + # TODO use bb.utils.vercmp_string_op() release = float(link) except: release = 0 -- cgit v1.2.3-54-g00ecf