Skip to content

Commit 5522947

Browse files
russellbEduardDurech
authored andcommitted
[Build] Require setuptools >= 77.0.3 for PEP 639 (vllm-project#17389)
Signed-off-by: Russell Bryant <[email protected]>
1 parent 3015d56 commit 5522947

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
requires = [
44
"cmake>=3.26",
55
"ninja",
6-
"packaging",
7-
"setuptools>=61",
6+
"packaging>=24.2",
7+
"setuptools>=77.0.3,<80.0.0",
88
"setuptools-scm>=8.0",
99
"torch == 2.6.0",
1010
"wheel",

requirements/build.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Should be mirrored in pyproject.toml
22
cmake>=3.26
33
ninja
4-
packaging
5-
setuptools>=61
4+
packaging>=24.2
5+
setuptools>=77.0.3,<80.0.0
66
setuptools-scm>=8
77
torch==2.6.0
88
wheel

requirements/common.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ mistral_common[opencv] >= 1.5.4
3434
opencv-python-headless >= 4.11.0 # required for video IO
3535
pyyaml
3636
six>=1.16.0; python_version > '3.11' # transitive dependency of pandas that needs to be the latest version for python 3.12
37-
setuptools>=74.1.1; python_version > '3.11' # Setuptools is used by triton, we need to ensure a modern version is installed for 3.12+ so that it does not try to import distutils, which was removed in 3.12
37+
setuptools>=77.0.3,<80; python_version > '3.11' # Setuptools is used by triton, we need to ensure a modern version is installed for 3.12+ so that it does not try to import distutils, which was removed in 3.12
3838
einops # Required for Qwen2-VL.
39-
compressed-tensors == 0.9.3 # required for compressed-tensors
39+
compressed-tensors == 0.9.4 # required for compressed-tensors
4040
depyf==0.18.0 # required for profiling and debugging with compilation config
4141
cloudpickle # allows pickling lambda functions in model_executor/models/registry.py
4242
watchfiles # required for http server to monitor the updates of TLS files

requirements/hpu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ triton==3.1.0
77
pandas
88
numpy==1.26.4
99
tabulate
10-
setuptools>=61
10+
setuptools>=77.0.3,<80.0.0
1111
setuptools-scm>=8
1212
vllm-hpu-extension @ git+https://github.com/HabanaAI/vllm-hpu-extension.git@f1f6624

requirements/rocm-build.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ torchaudio==2.6.0
88

99
triton==3.2
1010
cmake>=3.26,<4
11-
packaging
12-
setuptools>=61
11+
packaging>=24.2
12+
setuptools>=77.0.3,<80.0.0
1313
setuptools-scm>=8
1414
wheel
1515
jinja2>=3.1.6

requirements/test.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ opencv-python-headless==4.11.0.86
393393
# via
394394
# -r requirements/test.in
395395
# mistral-common
396-
packaging==24.1
396+
packaging==24.2
397397
# via
398398
# accelerate
399399
# black
@@ -629,7 +629,7 @@ sentence-transformers==3.2.1
629629
# via -r requirements/test.in
630630
sentencepiece==0.2.0
631631
# via mistral-common
632-
setuptools==75.8.0
632+
setuptools==77.0.3
633633
# via
634634
# mamba-ssm
635635
# pytablewriter

requirements/tpu.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Dependencies for TPU
55
cmake>=3.26
6-
packaging
6+
packaging>=24.2
77
setuptools-scm>=8
88
wheel
99
jinja2>=3.1.6

requirements/xpu.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33

44
ray>=2.9
55
cmake>=3.26
6-
packaging
6+
packaging>=24.2
77
setuptools-scm>=8
8-
setuptools>=75.8.0
8+
setuptools>=77.0.3,<80.0.0
99
wheel
1010
jinja2>=3.1.6
1111
datasets # for benchmark scripts
1212

13-
torch==2.6.0+xpu
13+
torch==2.7.0+xpu
1414
torchaudio
1515
torchvision
1616
pytorch-triton-xpu
1717
--extra-index-url=https://download.pytorch.org/whl/xpu
1818

1919
# Please refer xpu doc, we need manually install intel-extension-for-pytorch 2.6.10+xpu due to there are some conflict dependencies with torch 2.6.0+xpu
2020
# FIXME: This will be fix in ipex 2.7. just leave this here for awareness.
21-
# intel-extension-for-pytorch==2.6.10+xpu
22-
oneccl_bind_pt==2.6.0+xpu
21+
intel-extension-for-pytorch==2.7.10+xpu
22+
oneccl_bind_pt==2.7.0+xpu
2323
--extra-index-url=https://pytorch-extension.intel.com/release-whl/stable/xpu/us/

0 commit comments

Comments
 (0)