Skip to content

Commit

Permalink
Update choco dependencies to use python39 package (#825)
Browse files Browse the repository at this point in the history
## Usage and product changes

Choco is `unable to resolve dependency 'python3 (= 3.7.4)'.` We upgrade
to 3.9.
  • Loading branch information
dmitrii-ubskii authored Mar 25, 2024
1 parent ee47368 commit 42a5297
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .circleci/windows/dependencies.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="bazelisk" version="1.17.0"/>
<package id="python" version="3.7.4"/>
<package id="python39" version="3.9.13"/>
<package id="openjdk11" version="11.0.9.11"/>
</packages>
6 changes: 3 additions & 3 deletions .circleci/windows/prepare.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 42a5297

Please sign in to comment.