From 9b333264794cce7271614de7482b55cfd2587755 Mon Sep 17 00:00:00 2001 From: Andy Chrzaszcz Date: Fri, 5 Jun 2020 19:40:47 -0400 Subject: [PATCH] build: fix bazel version Executing tests on MacOS Catalina runs into issues with bazel 3.0.0. Bazel will use the version specified in the .bazelversion file and hence no matter what is installed, if 3.0.0 is available that will run. d4d12a95 changed WORKSPACE and .bazelversion from 3.1.0 to 3.0.0 which looks to have introduced this issue. Changing back to 3.1.0 fixes tests on Catalina --- .bazelversion | 2 +- WORKSPACE | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.bazelversion b/.bazelversion index 4a36342fcab7..fd2a01863fdd 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -3.0.0 +3.1.0 diff --git a/WORKSPACE b/WORKSPACE index bdc3dea6398a..9dda87b249d0 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -29,7 +29,7 @@ http_archive( load("@build_bazel_rules_nodejs//:index.bzl", "check_bazel_version", "node_repositories", "yarn_install") # The minimum bazel version to use with this repo is v3.1.0. -check_bazel_version("3.0.0") +check_bazel_version("3.1.0") node_repositories( node_repositories = {