From 077eec67d69d7b23448ed130c28503ff0f36e04a Mon Sep 17 00:00:00 2001 From: Richard Levasseur Date: Mon, 25 Nov 2024 15:53:30 -0800 Subject: [PATCH] fix: upgrade to bazel_features 1.21.0 for Bazel 8 rc3 support (#2440) bazel_features has a bug where it doesn't detect Bazel 8 rc3 correctly. This is fixed in release 1.21.0. From the discussion on https://github.com/bazel-contrib/bazel_features/issues/82, it's likely this only occurs due to the "rc" notation of the Bazel release, so an earlier bazel_features version will probably work fine once Bazel 8 is no longer rc. --- CHANGELOG.md | 1 + MODULE.bazel | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d8398b835..fee657425e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -79,6 +79,7 @@ Other changes: * (binaries/tests) For {obj}`--bootstrap_impl=script`, a binary-specific (but otherwise empty) virtual env is used to customize `sys.path` initialization. * (deps) bazel_skylib 1.7.0 (workspace; bzlmod already specifying that version) +* (deps) bazel_features 1.21.0; necessary for compatiblity with Bazel 8 rc3 {#v0-0-0-fixed} ### Fixed diff --git a/MODULE.bazel b/MODULE.bazel index 913a7c49cb..8610052435 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,7 +4,7 @@ module( compatibility_level = 1, ) -bazel_dep(name = "bazel_features", version = "1.9.1") +bazel_dep(name = "bazel_features", version = "1.21.0") bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "rules_cc", version = "0.0.16") bazel_dep(name = "platforms", version = "0.0.4")