def check_version_compatibility(self): minimum_version = get_minimum_compatible_version() if version_compare(__version__, minimum_version) < 0: raise ValueError( f"Incompatible Version of lightly pip package. " f"Please upgrade to at least version {minimum_version} " f"to be able to access the api and webapp")
def test_get_minimum_compatible_version(self): get_minimum_compatible_version()