From 42a52970224b0525a9d432d17dee926c1ea3755d Mon Sep 17 00:00:00 2001 From: Dmitrii Ubskii <18616863+dmitrii-ubskii@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:48:48 +0300 Subject: [PATCH] Update choco dependencies to use python39 package (#825) ## Usage and product changes Choco is `unable to resolve dependency 'python3 (= 3.7.4)'.` We upgrade to 3.9. --- .circleci/windows/dependencies.config | 2 +- .circleci/windows/prepare.bat | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/windows/dependencies.config b/.circleci/windows/dependencies.config index f58c032ac..1b5a0b1dd 100644 --- a/.circleci/windows/dependencies.config +++ b/.circleci/windows/dependencies.config @@ -1,6 +1,6 @@ - + diff --git a/.circleci/windows/prepare.bat b/.circleci/windows/prepare.bat index acc801fe7..9f2a612b1 100644 --- a/.circleci/windows/prepare.bat +++ b/.circleci/windows/prepare.bat @@ -26,12 +26,12 @@ REM install dependencies needed for build choco install .circleci\windows\dependencies.config --limit-output --yes --no-progress REM create a symlink python3.exe and make it available in %PATH% -mklink C:\Python37\python3.exe C:\Python37\python.exe +mklink C:\Python39\python3.exe C:\Python39\python.exe SET PATH=%PATH%;C:\Python39 REM install runtime dependency for the build -C:\Python37\python.exe -m pip install wheel +C:\Python39\python.exe -m pip install wheel REM permanently set variables for Bazel build SETX BAZEL_SH "C:\Program Files\Git\usr\bin\bash.exe" -SETX BAZEL_PYTHON C:\Python37\python.exe +SETX BAZEL_PYTHON C:\Python39\python.exe