From 682980be499779b198004129b4c901121327ebec Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 1 Oct 2024 06:44:27 +0200 Subject: [PATCH] chore: drop 3.9 support from setup.ps1 --- setup.ps1 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/setup.ps1 b/setup.ps1 index 8647bea94..7174d85fa 100644 --- a/setup.ps1 +++ b/setup.ps1 @@ -153,16 +153,13 @@ function Find-PythonExecutable { "python3.12", "python3.11", "python3.10", - "python3.9", "python3", "C:\Users\$env:USERNAME\AppData\Local\Programs\Python\Python312\python.exe", "C:\Users\$env:USERNAME\AppData\Local\Programs\Python\Python311\python.exe", "C:\Users\$env:USERNAME\AppData\Local\Programs\Python\Python310\python.exe", - "C:\Users\$env:USERNAME\AppData\Local\Programs\Python\Python39\python.exe", "C:\Python312\python.exe", "C:\Python311\python.exe", "C:\Python310\python.exe", - "C:\Python39\python.exe" ) @@ -178,10 +175,10 @@ function Main { "Starting the operations..." | Out-File $LogFilePath -Append "Current directory: $(Get-Location)" | Out-File $LogFilePath -Append - # Exit on lower versions than Python 3.9 or when Python executable not found + # Exit on lower versions than Python 3.10 or when Python executable not found $PythonExecutable = Find-PythonExecutable if ($null -eq $PythonExecutable) { - Write-Log "No suitable Python executable found. Please ensure that Python 3.9 or higher is installed and available in the system PATH." -Level 'ERROR' + Write-Log "No suitable Python executable found. Please ensure that Python 3.10 or higher is installed and available in the system PATH." -Level 'ERROR' Exit 1 }