def create(major: int = 0, minor: int = 0, patch: int = 0) -> str:
    """Creates new semver from 3 integers: major, minor and patch"""
    if not (
        0 <= major <= MAX_VERSION_NUMBER
        and 0 <= minor <= MAX_VERSION_NUMBER
        and 0 <= patch <= MAX_VERSION_NUMBER
    ):
        raise ValueError("Major, minor and patch must be greater or equal to zero")

    return ".".join([str(major), str(minor), str(patch)])
Creates new semver from 3 integers: major, minor and patch
src/datachain/semver.py