From 8876335521f416c17ac98e781006a9919559930f Mon Sep 17 00:00:00 2001 From: Lucas Kacher Date: Wed, 3 Apr 2019 10:08:58 -0700 Subject: [PATCH] fix: specify min Bazel version due to PyInfo --- .../google/idea/blaze/base/plugin/BazelVersionChecker.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/src/com/google/idea/blaze/base/plugin/BazelVersionChecker.java b/base/src/com/google/idea/blaze/base/plugin/BazelVersionChecker.java index b597ac3bf64..800fafd6825 100644 --- a/base/src/com/google/idea/blaze/base/plugin/BazelVersionChecker.java +++ b/base/src/com/google/idea/blaze/base/plugin/BazelVersionChecker.java @@ -24,8 +24,9 @@ /** Verifies that the available Bazel version is supported by this plugin. */ public class BazelVersionChecker implements BuildSystemVersionChecker { - // version 0.18 introduced a backwards-incompatible change to the depset API - private static final BazelVersion OLDEST_SUPPORTED_VERSION = new BazelVersion(0, 18, 0); + // version 0.23 introduced a backwards-incompatible change to the Py struct + // providers. See: https://github.com/bazelbuild/bazel/issues/7298 + private static final BazelVersion OLDEST_SUPPORTED_VERSION = new BazelVersion(0, 23, 0); @Override public boolean versionSupported(BlazeContext context, BlazeVersionData version) {