Skip to content

Commit

Permalink
Extend range of Python versions supported in Venv setup script
Browse files Browse the repository at this point in the history
- Add Python 3.10, though the GUI currently cannot load because of TraitsUI issue enthought/traitsui#1906
- Add Python 3.10-3.11 custom dependency support
  • Loading branch information
yoda-vid committed Feb 3, 2023
1 parent ed5543e commit ca3ffc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/setup_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca3ffc4

Please sign in to comment.