From 8267b0511968448c63c8105e208aaf9079944409 Mon Sep 17 00:00:00 2001 From: renren247 Date: Wed, 26 Mar 2025 18:08:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AF=BC=E5=85=A5vllm?= =?UTF-8?q?=E6=97=B6=E6=97=A0=E7=89=88=E6=9C=AC=E5=8F=B7=E5=91=8A=E8=AD=A6?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98https://github.com/vllm-project/vllm?= =?UTF-8?q?/issues/9421?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 5cd156e384b0aa88700eb80045df393fa8022e36) --- vllm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/vllm.spec b/vllm.spec index be80680..126db8d 100644 --- a/vllm.spec +++ b/vllm.spec @@ -3,7 +3,7 @@ Name: vllm Version: 0.6.6.post1 -Release: 1 +Release: 2 Summary: Powerful engine for LLMs License: (Apache-2.0 AND BSD-3-Clause) OR BSD-3-CLause URL: https://github.com/vllm-project/vllm @@ -30,10 +30,12 @@ Buildrequires: python3-pytorch %autosetup -n %{name}-%{version} -N %build +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} export VLLM_TARGET_DEVICE=empty %py3_build %install +export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} export VLLM_TARGET_DEVICE=empty %py3_install pushd %{buildroot} @@ -60,5 +62,8 @@ mv %{buildroot}/filelist.lst . %files -n python3-%{_name} -f filelist.lst %changelog +* Thu Mar 27 2025 renwenjie - 0.6.6.post1-2 +- solve 'no module named vllm._version' problem + * Fri Feb 28 2025 renwenjie - 0.6.6.post1-1 - Package init -- Gitee