Merge branch 'fix/scripts_default_python' into 'master'

Tools: Use default value in the Python detections scripts

Closes IDFGH-6929

See merge request espressif/esp-idf!17461
This commit is contained in:
Roland Dobai 2022-03-11 20:42:23 +08:00
commit 8c2d8c10ac
2 changed files with 4 additions and 0 deletions

View File

@ -5,6 +5,8 @@
set OLDEST_PYTHON_SUPPORTED_MAJOR 3
set OLDEST_PYTHON_SUPPORTED_MINOR 7
set -x ESP_PYTHON python
for p_cmd in python3 python python3.7 python3.8 python3.9 python3.10 python3.11 python3.12;
$p_cmd --version >/dev/null 2>&1; or continue
echo "Checking \"$p_cmd\" ..."

View File

@ -10,6 +10,8 @@
OLDEST_PYTHON_SUPPORTED_MAJOR=3
OLDEST_PYTHON_SUPPORTED_MINOR=7
ESP_PYTHON=python
for p_cmd in python3 python python3.7 python3.8 python3.9 python3.10 python3.11 python3.12; do
$p_cmd --version >/dev/null 2>&1 || continue
echo "Checking \"$p_cmd\" ..."