depot_tools: Run using Python 3 by default.
Run gclient, roll-dep, fetch and custom git commands (i.e. git-cl, git-rebase-update, git-new-branch, etc.)
using vpython3 by default.
Change-Id: I4eecddafa6ca4c5f82ec097615c79d2a741613e7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2113550
Reviewed-by: Anthony Polito <apolito@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
diff --git a/python_runner.sh b/python_runner.sh
index 2199666..adb4639 100755
--- a/python_runner.sh
+++ b/python_runner.sh
@@ -59,6 +59,6 @@
# Explicitly run on Python 2
vpython "$DEPOT_TOOLS/$SCRIPT" "$@"
else
- # Run on Python 2 for now, allows default to be flipped.
- vpython "$DEPOT_TOOLS/$SCRIPT" "$@"
+ # Run on Python 3, allows default to be flipped.
+ vpython3 "$DEPOT_TOOLS/$SCRIPT" "$@"
fi