[CI/Build] force writing version file (#13544)

Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com>
This commit is contained in:
Daniele 2025-02-19 11:48:03 +01:00 committed by GitHub
parent 423330263b
commit 81dabf24a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ Slack="http://slack.vllm.ai/"
vllm = "vllm.entrypoints.cli.main:main"
[tool.setuptools_scm]
version_file = "vllm/_version.py"
# no extra settings needed, presence enables setuptools-scm
[tool.setuptools.packages.find]
where = ["."]

View File

@ -499,7 +499,7 @@ def get_gaudi_sw_version():
def get_vllm_version() -> str:
version = get_version()
version = get_version(write_to="vllm/_version.py")
sep = "+" if "+" not in version else "." # dev versions might contain +
if _no_device():