aboutsummaryrefslogtreecommitdiff
path: root/version.bzl
diff options
context:
space:
mode:
authorIgnas Anikevicius <ignas.anikevicius@woven-planet.global>2023-02-16 13:11:23 +0900
committerGitHub <noreply@github.com>2023-02-15 20:11:23 -0800
commit64d9d6f59f645ae2c7870623e82ac8b1a9534e44 (patch)
tree52015b166312c5d6b6274c36f07c75913086bb17 /version.bzl
parent2893d858262fd1dd4fd5d011b7f4a6d50ba5d88d (diff)
downloadbazelbuild-rules_python-64d9d6f59f645ae2c7870623e82ac8b1a9534e44.tar.gz
fix: correctly advertise minimum supported version (#1065)
* feat: bump the latest supported version to 5.4.0 * feat: add gazelle and RBE minimum supported version tests * feat: pip_parse_vendored example is now 5.4.0 compatible
Diffstat (limited to 'version.bzl')
-rw-r--r--version.bzl8
1 files changed, 7 insertions, 1 deletions
diff --git a/version.bzl b/version.bzl
index 91125c2..8c7f01c 100644
--- a/version.bzl
+++ b/version.bzl
@@ -19,14 +19,20 @@
# in .bazelversion.
BAZEL_VERSION = "6.0.0"
+# NOTE: Keep in sync with .bazelci/presubmit.yml
+# This is the minimum supported bazel version, that we have some tests for.
+MINIMUM_BAZEL_VERSION = "5.4.0"
+
# Versions of Bazel which users should be able to use.
# Ensures we don't break backwards-compatibility,
# accidentally forcing users to update their LTS-supported bazel.
# These are the versions used when testing nested workspaces with
# bazel_integration_test.
SUPPORTED_BAZEL_VERSIONS = [
- # TODO: add LTS versions of bazel like 1.0.0, 2.0.0
BAZEL_VERSION,
+ # TODO @aignas 2023-02-15: the integration tests currently support
+ # only a single element in this array.
+ #MINIMUM_BAZEL_VERSION,
]
def bazel_version_to_binary_label(version):