From: Alexander Kanavin Date: Wed, 9 Nov 2022 20:21:12 +0000 (+0100) Subject: sanity.bbclass: do not check for presence of distutils X-Git-Tag: uninative-3.8~507 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e3a5b0709384f2b455a82ac1e8e212686fe4456;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git sanity.bbclass: do not check for presence of distutils This will be removed in 3.12 and has been deprecated for a while. If anything breaks because of its absence on the host, this would expose the breakage so it can be fixed. icu source specifically does not refer to distutils anywhere. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass index a52f2016cc8..8c7d4d08809 100644 --- a/meta/classes-global/sanity.bbclass +++ b/meta/classes-global/sanity.bbclass @@ -625,11 +625,9 @@ def check_sanity_version_change(status, d): # never again until the sanity version or host distrubution id/version changes. # Check the python install is complete. Examples that are often removed in - # minimal installations: glib-2.0-natives requries # xml.parsers.expat and icu - # requires distutils.sysconfig. + # minimal installations: glib-2.0-natives requries # xml.parsers.expat try: import xml.parsers.expat - import distutils.sysconfig except ImportError as e: status.addresult('Your Python 3 is not a full install. Please install the module %s (see the Getting Started guide for further information).\n' % e.name)