The version_checker.py module#

Summary#

VersionChecker

Class to check version.

check_version

Check that the input version is greater than or equal to the major.minor.patch.

Description#

Module to ease version checks.

Module detail#

version_checker.check_version(input_version, major, minor, patch)#

Check that the input version is greater than or equal to the major.minor.patch.

Parameters:
input_version: str

Input version written as “major.minor.patch”, e.g. “2026.1.0”

majorint

Major release version, e.g. 2025

minorint

Minor release version e.g. 2

patchint

Service Pack version e.g. 3

Returns:
bool

True if the input version is >= to the major.minor.patch

version_checker.server_version_checker#