feat: support 3.14 in setup scripts

This commit is contained in:
Matthias
2026-04-01 07:24:33 +02:00
parent b0c14d1122
commit 8eb2edc0e2
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ $VenvName = ".venv"
$VenvDir = Join-Path $PSScriptRoot $VenvName $VenvDir = Join-Path $PSScriptRoot $VenvName
# Supported Python minor versions (detection order: prefer newest first) # Supported Python minor versions (detection order: prefer newest first)
$SupportedMinorVersions = @(13,12,11) $SupportedMinorVersions = @(14,13,12,11)
# Build a human-readable supported versions string like "3.11, 3.12 and 3.13" # Build a human-readable supported versions string like "3.11, 3.12 3.13 and 3.14"
$asc = $SupportedMinorVersions | Sort-Object $asc = $SupportedMinorVersions | Sort-Object
if ($asc.Count -eq 1) { if ($asc.Count -eq 1) {
$SupportedPythonVersions = "3.$($asc[0])" $SupportedPythonVersions = "3.$($asc[0])"
+3 -3
View File
@@ -8,8 +8,8 @@ function echo_block() {
} }
UV=false UV=false
# Supported Python minor versions (order matters for detection) # Supported Python minor versions (order matters for detection)
SUPPORTED_MINOR_VERS=(13 12 11) SUPPORTED_MINOR_VERS=(14 13 12 11)
SUPPORTED_PY_VERSIONS="3.11, 3.12 and 3.13" SUPPORTED_PY_VERSIONS="3.11, 3.12, 3.13 and 3.14"
function check_installed_pip() { function check_installed_pip() {
${PYTHON} -m pip > /dev/null ${PYTHON} -m pip > /dev/null
@@ -254,7 +254,7 @@ function install() {
install_redhat install_redhat
else else
echo "This script does not support your OS." 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." echo "Wait 10 seconds to continue the next install steps or use ctrl+c to interrupt this shell."
sleep 10 sleep 10
fi fi