mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 18:20:34 +00:00
ci: only install Python once in Windows setup script
Previously, the script would install the python package without a version specifier, then attempt to install a specific version (3.9.0), but this would fail because the first step installed a newer Python version: A newer version of python (v3.10.4) is already installed. Use --allow-downgrade or --force to attempt to install older versions, or use side by side to allow multiple versions. Chocolatey installed 0/1 packages. 1 packages failed. Remove the first unversioned step so we always get the requested version of Python only. BUG=None TEST=kokoro CI Change-Id: I95b224926ee9ebcaacdb7d6c2716381a46ec467c Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3657850 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
69daee101e
commit
5b0f6aaaae
1 changed files with 1 additions and 2 deletions
|
@ -26,8 +26,7 @@ cargo install bindgen
|
|||
|
||||
:: Install python. The default kokoro intalled version is 3.7 but linux tests
|
||||
:: seem to run on 3.9+.
|
||||
choco install -y python
|
||||
choco install python --version=3.9.0
|
||||
choco install -y python --version=3.9.0
|
||||
|
||||
:: Reload path for installed rust toolchain.
|
||||
call RefreshEnv.cmd
|
||||
|
|
Loading…
Reference in a new issue