[Fix] Fix setuptools-scm version resolution for rc tags (#22165)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: Baizhou Zhang <sobereddiezhang@gmail.com>
This commit is contained in:
Kangyan-Zhou
2026-04-05 16:55:32 -07:00
committed by GitHub
co-authored by Claude Opus 4.6 Baizhou Zhang
parent 30ba1f78b0
commit 93109cc89b
9 changed files with 179 additions and 16 deletions
+1 -1
View File
@@ -146,4 +146,4 @@ exclude = [
[tool.setuptools_scm]
root = ".."
version_file = "sglang/_version.py"
git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"]
git_describe_command = ["python3", "python/tools/get_version_tag.py", "--tag-only"]