summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/sanity.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-11-09 21:21:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-11 13:43:40 +0000
commit48abeedd63f0e3bc295bc910c7a34cd0da599001 (patch)
tree9353f7659d2232f5372e8be9695014efa545298f /meta/classes-global/sanity.bbclass
parent6c7cf08dbf9125b7d5bf71c664b6ec52857a989a (diff)
downloadpoky-48abeedd63f0e3bc295bc910c7a34cd0da599001.tar.gz
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. (From OE-Core rev: 8e3a5b0709384f2b455a82ac1e8e212686fe4456) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/sanity.bbclass')
-rw-r--r--meta/classes-global/sanity.bbclass4
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes-global/sanity.bbclass b/meta/classes-global/sanity.bbclass
index 606444cae1..38f4a4b22f 100644
--- a/meta/classes-global/sanity.bbclass
+++ b/meta/classes-global/sanity.bbclass
@@ -625,11 +625,9 @@ def check_sanity_version_change(status, d):
625 # never again until the sanity version or host distrubution id/version changes. 625 # never again until the sanity version or host distrubution id/version changes.
626 626
627 # Check the python install is complete. Examples that are often removed in 627 # Check the python install is complete. Examples that are often removed in
628 # minimal installations: glib-2.0-natives requries # xml.parsers.expat and icu 628 # minimal installations: glib-2.0-natives requries # xml.parsers.expat
629 # requires distutils.sysconfig.
630 try: 629 try:
631 import xml.parsers.expat 630 import xml.parsers.expat
632 import distutils.sysconfig
633 except ImportError as e: 631 except ImportError as e:
634 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) 632 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)
635 633