[Build] Require setuptools >= 77.0.3 for PEP 639 (#17389)

Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Russell Bryant 2025-05-01 02:25:36 -04:00 committed by GitHub
parent 7ab643e425
commit 7a0a146c54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 13 additions and 13 deletions

View File

@ -3,8 +3,8 @@
requires = [
"cmake>=3.26",
"ninja",
"packaging",
"setuptools>=61",
"packaging>=24.2",
"setuptools>=77.0.3,<80.0.0",
"setuptools-scm>=8.0",
"torch == 2.7.0",
"wheel",

View File

@ -1,8 +1,8 @@
# Should be mirrored in pyproject.toml
cmake>=3.26
ninja
packaging
setuptools>=61
packaging>=24.2
setuptools>=77.0.3,<80.0.0
setuptools-scm>=8
torch==2.7.0
wheel

View File

@ -34,7 +34,7 @@ mistral_common[opencv] >= 1.5.4
opencv-python-headless >= 4.11.0 # required for video IO
pyyaml
six>=1.16.0; python_version > '3.11' # transitive dependency of pandas that needs to be the latest version for python 3.12
setuptools>=74.1.1,<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
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
einops # Required for Qwen2-VL.
compressed-tensors == 0.9.4 # required for compressed-tensors
depyf==0.18.0 # required for profiling and debugging with compilation config

View File

@ -7,6 +7,6 @@ triton==3.1.0
pandas
numpy==1.26.4
tabulate
setuptools>=61
setuptools>=77.0.3,<80.0.0
setuptools-scm>=8
vllm-hpu-extension @ git+https://github.com/HabanaAI/vllm-hpu-extension.git@f1f6624

View File

@ -8,8 +8,8 @@ torchaudio==2.7.0
triton==3.2
cmake>=3.26,<4
packaging
setuptools>=61
packaging>=24.2
setuptools>=77.0.3,<80.0.0
setuptools-scm>=8
wheel
jinja2>=3.1.6

View File

@ -396,7 +396,7 @@ opencv-python-headless==4.11.0.86
# via
# -r requirements/test.in
# mistral-common
packaging==24.1
packaging==24.2
# via
# accelerate
# black
@ -632,7 +632,7 @@ sentence-transformers==3.2.1
# via -r requirements/test.in
sentencepiece==0.2.0
# via mistral-common
setuptools==75.8.0
setuptools==77.0.3
# via
# mamba-ssm
# pytablewriter

View File

@ -3,7 +3,7 @@
# Dependencies for TPU
cmake>=3.26
packaging
packaging>=24.2
setuptools-scm>=8
wheel
jinja2>=3.1.6

View File

@ -3,9 +3,9 @@
ray>=2.9
cmake>=3.26
packaging
packaging>=24.2
setuptools-scm>=8
setuptools>=75.8.0,<80.0.0
setuptools>=77.0.3,<80.0.0
wheel
jinja2>=3.1.6
datasets # for benchmark scripts