def get_current_version()

in release.py [0:0]


def get_current_version() -> str:
    package_info: Dict[str, str] = {}
    with get_version_py_paths()[0].open() as version_file:
        exec(version_file.read(), package_info)
    return package_info["__version__"]