From 9d81ceff7b5ab8025865ec9212ecbe3c52dac094 Mon Sep 17 00:00:00 2001 From: David Young Date: Fri, 30 Dec 2022 15:23:55 +0800 Subject: [PATCH] Extend range of Python versions supported in Venv setup script - Add Python 3.10, though the GUI currently cannot load because of TraitsUI issue https://github.com/enthought/traitsui/issues/1906 - Add Python 3.10-3.11 custom dependency support --- bin/setup_venv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/setup_venv.sh b/bin/setup_venv.sh index b73d9bcaf..7d746e2e1 100755 --- a/bin/setup_venv.sh +++ b/bin/setup_venv.sh @@ -70,8 +70,8 @@ fi # check for Python availability and version requirement py_ver_majmin="" # found Python version in x.y format py_ver_min=(3 6) # minimum supported Python version -py_vers=(3.8 3.7 3.6 3.9) # range of versions currently supported -py_vers_prebuilt_deps=(3.6 3.7 3.8 3.9) # vers with custom prebuilt deps +py_vers=(3.8 3.7 3.6 3.9 3.10) # range of versions currently supported +py_vers_prebuilt_deps=(3.6 3.7 3.8 3.9 3.10 3.11) # vers with custom prebuilt deps for ver in "${py_vers[@]}"; do # prioritize specific versions in case "python" points to lower version, # calling Python directly since `command` will show Pyenv Python binaries