diff --git a/version.py b/version.py index cf37e645c4a2..4bd37c500c02 100644 --- a/version.py +++ b/version.py @@ -21,6 +21,7 @@ List of affected files: - tvm-root/python/tvm/libinfo.py +- tvm-root/pyproject.toml - tvm-root/include/tvm/runtime/base.h - tvm-root/conda/recipe/meta.yaml - tvm-root/web/package.json @@ -175,6 +176,13 @@ def sync_version(pub_ver, local_ver, dry_run): local_ver, dry_run, ) + # pyproject.toml + update( + os.path.join(PROJ_ROOT, "pyproject.toml"), + r"(?<=version = \")[.0-9a-z\+]+", + pub_ver, + dry_run, + ) # Use public version for other parts for now # Note that full git hash is already available in libtvm # C++ header