mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-09 04:27:10 +08:00
[CI/Build] remove regex from build dependencies (#18945)
Signed-off-by: Daniele Trifirò <dtrifiro@redhat.com> Co-authored-by: Cyrus Leung <cyrus.tl.leung@gmail.com>
This commit is contained in:
parent
fba02e3bd1
commit
43ff405b90
@ -8,7 +8,6 @@ requires = [
|
|||||||
"setuptools-scm>=8.0",
|
"setuptools-scm>=8.0",
|
||||||
"torch == 2.7.0",
|
"torch == 2.7.0",
|
||||||
"wheel",
|
"wheel",
|
||||||
"regex",
|
|
||||||
"jinja2",
|
"jinja2",
|
||||||
]
|
]
|
||||||
build-backend = "setuptools.build_meta"
|
build-backend = "setuptools.build_meta"
|
||||||
|
|||||||
2
setup.py
2
setup.py
@ -5,12 +5,12 @@ import importlib.util
|
|||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import re
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from shutil import which
|
from shutil import which
|
||||||
|
|
||||||
import regex as re
|
|
||||||
import torch
|
import torch
|
||||||
from packaging.version import Version, parse
|
from packaging.version import Version, parse
|
||||||
from setuptools import Extension, setup
|
from setuptools import Extension, setup
|
||||||
|
|||||||
@ -58,6 +58,9 @@ def main() -> int:
|
|||||||
if not Path(filepath).exists():
|
if not Path(filepath).exists():
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if filepath == "setup.py":
|
||||||
|
continue
|
||||||
|
|
||||||
violations = check_file(filepath)
|
violations = check_file(filepath)
|
||||||
if violations:
|
if violations:
|
||||||
print(f"\n❌ {filepath}:")
|
print(f"\n❌ {filepath}:")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user