diff --git a/python/pyproject.toml b/python/pyproject.toml index b4d16069a..a85f9405b 100755 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -172,6 +172,8 @@ exclude = [ root = ".." version_file = "sglang/_version.py" git_describe_command = ["git", "describe", "--tags", "--long", "--match", "v*"] +# Allow editable installs even when .git metadata is not available. +fallback_version = "0.0.0.dev0" [tool.codespell] ignore-words-list = "ans, als, hel, boostrap, childs, te, vas, hsa, ment"