From 2b2be8086e66c0017eba57cac042466208b51583 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Mon, 25 Nov 2019 18:22:23 +0100 Subject: hosttools: no longer check for or provide host python 2 to builds (From OE-Core rev: 5f8f16b17f66966ae91aeabc23e97de5ecd17447) Signed-off-by: Alexander Kanavin Signed-off-by: Richard Purdie --- scripts/oe-buildenv-internal | 7 ------- 1 file changed, 7 deletions(-) (limited to 'scripts') diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index 96bb0c3dc9..c17cf4da71 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal @@ -29,13 +29,6 @@ if [ -z "$OE_SKIP_SDK_CHECK" ] && [ -n "$OECORE_SDK_VERSION" ]; then return 1 fi -py_v27_check=$(python2 -c 'import sys; print sys.version_info >= (2,7,3)') -if [ "$py_v27_check" != "True" ]; then - echo >&2 "OpenEmbedded requires 'python' to be python v2 (>= 2.7.3), not python v3." - echo >&2 "Please upgrade your python v2." -fi -unset py_v27_check - # We potentially have code that doesn't parse correctly with older versions # of Python, and rather than fixing that and being eternally vigilant for # any other new feature use, just check the version here. -- cgit v1.2.3-54-g00ecf