Skip to content

Commit 6aa1e06

Browse files
committed
chore: update python used in tests
Signed-off-by: Samuel Anderson <[email protected]>
1 parent a317a02 commit 6aa1e06

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/deadline_test_fixtures/deadline/worker.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -609,11 +609,11 @@ def userdata(self, s3_files) -> str:
609609

610610
userdata = f"""<powershell>
611611
$ProgressPreference = 'SilentlyContinue'
612-
Invoke-WebRequest -Uri "https://www.python.org/ftp/python/3.12.8/python-3.12.8-amd64.exe" -OutFile "C:\python-3.12.8-amd64.exe"
613-
$installerHash=(Get-FileHash "C:\python-3.12.8-amd64.exe" -Algorithm "MD5")
614-
$expectedHash="2f2ab2472a6aa29f8755c72c58f58f4b"
612+
Invoke-WebRequest -Uri "https://www.python.org/ftp/python/3.12.9/python-3.12.9-amd64.exe" -OutFile "C:\python-3.12.9-amd64.exe"
613+
$installerHash=(Get-FileHash "C:\python-3.12.9-amd64.exe" -Algorithm "MD5")
614+
$expectedHash="1cfb1bbf96007b12b98db895dcd86487"
615615
if ($installerHash.Hash -ne $expectedHash) {{ throw "Could not verify Python installer." }}
616-
Start-Process -FilePath "C:\python-3.12.8-amd64.exe" -ArgumentList "/quiet InstallAllUsers=1 PrependPath=1 AppendPath=1" -Wait
616+
Start-Process -FilePath "C:\python-3.12.9-amd64.exe" -ArgumentList "/quiet InstallAllUsers=1 PrependPath=1 AppendPath=1" -Wait
617617
Invoke-WebRequest -Uri "https://awscli.amazonaws.com/AWSCLIV2.msi" -Outfile "C:\AWSCLIV2.msi"
618618
Start-Process msiexec.exe -ArgumentList "/i C:\AWSCLIV2.msi /quiet" -Wait
619619
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")

0 commit comments

Comments
 (0)