## versions.get
versions.get()
Returns the current Bazel version ## versions.parse
versions.parse(bazel_version)
Parses a version string into a 3-tuple of ints int tuples can be compared directly using binary operators (<, >). ### Parameters
bazel_version required.

the Bazel version string

## versions.check
versions.check(minimum_bazel_version, maximum_bazel_version, bazel_version)
Check that the version of Bazel is valid within the specified range. ### Parameters
minimum_bazel_version required.

minimum version of Bazel expected

maximum_bazel_version optional. default is None

maximum version of Bazel expected

bazel_version optional. default is None

the version of Bazel to check. Used for testing, defaults to native.bazel_version

## versions.is_at_most
versions.is_at_most(threshold, version)
Check that a version is lower or equals to a threshold. ### Parameters
threshold required.

the maximum version string

version required.

the version string to be compared to the threshold

## versions.is_at_least
versions.is_at_least(threshold, version)
Check that a version is higher or equals to a threshold. ### Parameters
threshold required.

the minimum version string

version required.

the version string to be compared to the threshold