versions.get

Returns the current Bazel version

versions.parse

Parses a version string into a 3-tuple of ints

int tuples can be compared directly using binary operators (<, >).

Parameters

versions.check

Check that the version of Bazel is valid within the specified range.

Parameters

versions.is_at_most

Check that a version is lower or equals to a threshold.

Parameters

versions.is_at_least

Check that a version is higher or equals to a threshold.

Parameters