feat: support 3.14 in setup scripts
This commit is contained in:
@@ -9,8 +9,8 @@ $VenvName = ".venv"
|
||||
$VenvDir = Join-Path $PSScriptRoot $VenvName
|
||||
|
||||
# Supported Python minor versions (detection order: prefer newest first)
|
||||
$SupportedMinorVersions = @(13,12,11)
|
||||
# Build a human-readable supported versions string like "3.11, 3.12 and 3.13"
|
||||
$SupportedMinorVersions = @(14,13,12,11)
|
||||
# Build a human-readable supported versions string like "3.11, 3.12 3.13 and 3.14"
|
||||
$asc = $SupportedMinorVersions | Sort-Object
|
||||
if ($asc.Count -eq 1) {
|
||||
$SupportedPythonVersions = "3.$($asc[0])"
|
||||
|
||||
@@ -8,8 +8,8 @@ function echo_block() {
|
||||
}
|
||||
UV=false
|
||||
# Supported Python minor versions (order matters for detection)
|
||||
SUPPORTED_MINOR_VERS=(13 12 11)
|
||||
SUPPORTED_PY_VERSIONS="3.11, 3.12 and 3.13"
|
||||
SUPPORTED_MINOR_VERS=(14 13 12 11)
|
||||
SUPPORTED_PY_VERSIONS="3.11, 3.12, 3.13 and 3.14"
|
||||
|
||||
function check_installed_pip() {
|
||||
${PYTHON} -m pip > /dev/null
|
||||
@@ -254,7 +254,7 @@ function install() {
|
||||
install_redhat
|
||||
else
|
||||
echo "This script does not support your OS."
|
||||
echo "If you have Python version 3.11 - 3.13, pip, virtualenv installed you can continue."
|
||||
echo "If you have Python version 3.11 - 3.14, pip, virtualenv installed you can continue."
|
||||
echo "Wait 10 seconds to continue the next install steps or use ctrl+c to interrupt this shell."
|
||||
sleep 10
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user