mirror of https://github.com/thesofproject/sof.git
xtensa-build-zephyr.py: abort when python version < 3.8
shlex.join() requires 3.8, maybe others too. 3.8 is 3 years old and it's the default Python version in Ubuntu 20.04 Fixes #6121 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
5e43688bb5
commit
3c6dcdb574
|
@ -19,6 +19,10 @@ import warnings
|
|||
from anytree import AnyNode, RenderTree
|
||||
from packaging import version
|
||||
|
||||
MIN_PYTHON_VERSION = 3, 8
|
||||
assert sys.version_info >= MIN_PYTHON_VERSION, \
|
||||
f"Python {MIN_PYTHON_VERSION} or above is required."
|
||||
|
||||
# Version of this script matching Major.Minor.Patch style.
|
||||
VERSION = version.Version("2.0.0")
|
||||
|
||||
|
|
Loading…
Reference in New Issue