Add python3 support Bump bazlets and fix the workspace_status.py helper. $ git log --no-merges --oneline ^a52e3f3 cd9b114 cd9b114 Upgrade Bouncy Castle to 1.72 b2b8548 download to GERRIT_CACHE_HOME when set 2d0cc7e Migrate to python 3 6311520 tools/maven/package.bzl: Use bazelisk instead bazel Change-Id: Ic88538d9e072d71bb6ca70555ccdc93bb465b1c4
diff --git a/.bazelrc b/.bazelrc index 3ae03ff..f9248ea 100644 --- a/.bazelrc +++ b/.bazelrc
@@ -1,2 +1,2 @@ -build --workspace_status_command="python ./tools/workspace_status.py" +build --workspace_status_command="python3 ./tools/workspace_status.py" test --build_tests_only
diff --git a/WORKSPACE b/WORKSPACE index 5e4b7ea..11075ae 100644 --- a/WORKSPACE +++ b/WORKSPACE
@@ -8,7 +8,7 @@ load("//:bazlets.bzl", "load_bazlets") load_bazlets( - commit = "a52e3f381e2fe2a53f7641150ff723171a2dda1e", + commit = "cd9b114339913aad2c9981e387fd151123f40a44", #local_path = "/home/<user>/projects/bazlets", )
diff --git a/tools/workspace_status.py b/tools/workspace_status.py index d948424..fb5ec6d 100644 --- a/tools/workspace_status.py +++ b/tools/workspace_status.py
@@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # This script will be run by bazel when the build process starts to # generate key-value information that represents the status of the