Skip to content

Commit

Permalink
Lock Windows Python to 3.9.7 and cmake to 3.21.3 (Part 2) (#313)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon authored Jun 30, 2023
1 parent b9d1e3e commit 203ad07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packer/scripts/windows/scoop-install-commons.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ $JAVA_HOME_TEMP
java -version

# Install python
scoop install python39
# Lock to 3.9.7
scoop install https://raw.githubusercontent.com/ScoopInstaller/Versions/89abc5b8f72ca84d013d30770fef7f61755b79e8/bucket/python39.json
python --version
# Reg PEP
$versionInfo = (scoop info python39 | out-string -stream | Select-String 'Version.*:')
Expand Down Expand Up @@ -183,7 +184,8 @@ scoop install gh
gh version

# Install dev tools
scoop install cmake
# Lock to 3.21.3
scoop install https://raw.githubusercontent.com/ScoopInstaller/Main/67ef407eec0cb7e6a9c9f72117a5b3e7a47e4e56/bucket/cmake.json
cmake --version

# Install zip
Expand Down

0 comments on commit 203ad07

Please sign in to comment.