Skip to content

Commit 1b63859

Browse files
dtrifiroshreyankg
authored andcommitted
[CI/Build] force writing version file (vllm-project#13544)
Signed-off-by: Daniele Trifirò <[email protected]>
1 parent d60e1a6 commit 1b63859

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Slack="http://slack.vllm.ai/"
4242
vllm = "vllm.entrypoints.cli.main:main"
4343

4444
[tool.setuptools_scm]
45-
version_file = "vllm/_version.py"
45+
# no extra settings needed, presence enables setuptools-scm
4646

4747
[tool.setuptools.packages.find]
4848
where = ["."]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def get_gaudi_sw_version():
496496

497497

498498
def get_vllm_version() -> str:
499-
version = get_version()
499+
version = get_version(write_to="vllm/_version.py")
500500
sep = "+" if "+" not in version else "." # dev versions might contain +
501501

502502
if _no_device():

0 commit comments

Comments
 (0)