1. 09 Mar, 2022 1 commit
    • Darshan Sen's avatar
      Fix vpython3 version mismatch error · 1b4881c9
      Darshan Sen authored
      I ran into this error coming from the gclient.py script when I was
      trying to run it on a Cygwin setup on Windows:
      
      ...
      ________ running 'vpython.bat -vpython-spec src/.vpython -vpython-tool install' in '/c/Users/circleci/project'
      Hook 'vpython.bat -vpython-spec src/.vpython -vpython-tool install' took 34.10 secs
      ________ running 'vpython3 -vpython-spec src/.vpython3 -vpython-tool install' in '/c/Users/circleci/project'
      [E2022-02-17T07:07:56.374746Z 10204 0 annotate.go:273] goroutine 1:
      #0 go.chromium.org/luci/vpython/venv/config.go:309 - venv.(*Config).resolvePythonInterpreter()
        reason: none of [C:/Users/circleci/project/vendor/depot_tools/bootstrap-2@3_8_10_chromium_23_binpython3bin/python3] matched specification 3.8.0
      
      #1 go.chromium.org/luci/vpython/venv/config.go:153 - venv.(*Config).resolveRuntime()
        reason: failed to resolve system Python interpreter
      
      #2 go.chromium.org/luci/vpython/venv/venv.go:143 - venv.With()
        reason: failed to resolve python runtime
      
      #3 go.chromium.org/luci/vpython/application/subcommand_install.go:61 - application.(*installCommandRun).Run.func1()
        reason: failed to setup the environment
      ...
      
      Similar to the Windows-only "vpython" -> "vpython.bat" modification, I
      added the necessary code to do it for vpython3 too, i.e.,
      "vpython3" -> "vpython3.bat", and it fixed the problem for me.
      Signed-off-by: 's avatarDarshan Sen <raisinten@gmail.com>
      Change-Id: Iac167ffe61b04a2836b03e620b98ee97b56965e1
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3513473Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
      Commit-Queue: Josip Sokcevic <sokcevic@google.com>
      1b4881c9
  2. 08 Mar, 2022 3 commits
  3. 05 Mar, 2022 1 commit
    • Bruce Dawson's avatar
      Revert "Support multiple VS installations" · 9ce8be33
      Bruce Dawson authored
      This reverts commit 36d41cef.
      
      Reason for revert: Script references VS_VERSION variable that was
      renamed in the prior change, so it doesn't work.
      
      Original change's description:
      > Support multiple VS installations
      >
      > Currently, package_from_installed.py assumes only one version of VS is
      > installed. It takes the path of the first installation.
      >
      > This could be incorrect in several ways:
      > - Maybe both 2017 and 2019 (the supported versions) are installed and
      >   although the user specified using 2019, the 2017 path comes first.
      > - Maybe 2019 and 2022 are installed, and the 2022 path is used even
      >   though it isn't supported.
      >
      > This CL fixes that issue by parsing the vswhere.exe output to confirm
      > the VS version matches what the user specified, using its corresponding
      > path.
      >
      > Change-Id: I2029a4f7126d0a45b5370ad58ab257df55571b3b
      > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3458722
      > Reviewed-by: Gavin Mak <gavinmak@google.com>
      > Reviewed-by: Chris Blume <cblume@chromium.org>
      > Commit-Queue: Chris Blume <cblume@chromium.org>
      > Auto-Submit: Chris Blume <cblume@chromium.org>
      
      Change-Id: I3d9147a7786f7f54f861087d16967b75d4afe2c5
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3504193
      Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      9ce8be33
  4. 04 Mar, 2022 6 commits
  5. 03 Mar, 2022 2 commits
  6. 02 Mar, 2022 4 commits
  7. 01 Mar, 2022 2 commits
  8. 28 Feb, 2022 5 commits
  9. 24 Feb, 2022 7 commits
  10. 23 Feb, 2022 3 commits
  11. 22 Feb, 2022 1 commit
  12. 21 Feb, 2022 1 commit
  13. 20 Feb, 2022 1 commit
  14. 19 Feb, 2022 1 commit
  15. 18 Feb, 2022 2 commits