Skip to content

Commit

Permalink
Bump python3 version to 3.12.0 (#830)
Browse files Browse the repository at this point in the history
* chore: Update the python3 version in the provision-env.yml file

Made with ❤️️ by updatecli

* Update windows-provision.ps1

---------

Co-authored-by: Jenkins Infra Bot (updatecli) <[email protected]>
Co-authored-by: Damien Duportal <[email protected]>
  • Loading branch information
3 people authored Oct 9, 2023
1 parent cbd981f commit 4516941
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion provisioning/tools-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ netlifydeploy_version: 0.1.8
nodejs_version: 18.17.0
openssh_authorized_keys_url: https://raw.githubusercontent.com/jenkins-infra/aws/main/ec2_agents_authorized_keys
packer_version: 1.9.4
python3_version: 3.11.5
python3_version: 3.12.0
ruby_version: 2.6.10
terraform_version: 1.5.7
trivy_version: 0.45.1
Expand Down
10 changes: 5 additions & 5 deletions provisioning/windows-provision.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ $downloads = [ordered]@{
& Remove-Item -Force -Recurse "$baseDir\chocolatey.tmp";
};
'cleanupLocal' = 'true';
'path' = "$baseDir\ruby26\bin\;C:\HashiCorp\Vagrant\;C:\Program Files\Amazon\AWSCLIV2\;c:\python311\;C:\python311\Scripts\;";
'path' = "$baseDir\ruby26\bin\;C:\HashiCorp\Vagrant\;C:\Program Files\Amazon\AWSCLIV2\;c:\python312\;C:\python312\Scripts\;";
'postInstall' = {
# Installation of make for Windows
& "choco.exe" install make --yes --no-progress --limit-output --fail-on-error-output;
Expand All @@ -326,8 +326,8 @@ $downloads = [ordered]@{
# Installation of python3 for Launchable
& "choco.exe" install python3 --yes --no-progress --limit-output --fail-on-error-output --version "${env:PYTHON3_VERSION}";
# Installation of Launchable globally (no other python tool)
& "c:\python311\python.exe" -m pip --no-cache-dir --upgrade install setuptools wheel pip;
& "c:\python311\python.exe" -m pip --no-cache-dir install launchable=="${env:LAUNCHABLE_VERSION}";
& "c:\python312\python.exe" -m pip --no-cache-dir --upgrade install setuptools wheel pip;
& "c:\python312\python.exe" -m pip --no-cache-dir install launchable=="${env:LAUNCHABLE_VERSION}";
};
'sanityCheck'= {
& choco.exe;
Expand All @@ -338,8 +338,8 @@ $downloads = [ordered]@{
& "$baseDir\ruby26\bin\bundle" -v;
& updatecli.exe version;
& yq.exe --version;
& "c:\python311\python.exe" --version;
& "C:\python311\Scripts\launchable.exe" --version;
& "c:\python312\python.exe" --version;
& "C:\python312\Scripts\launchable.exe" --version;
}
};
}
Expand Down

0 comments on commit 4516941

Please sign in to comment.