[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 = [ requires = [
"cmake>=3.26", "cmake>=3.26",
"ninja", "ninja",
"packaging", "packaging>=24.2",
"setuptools>=61", "setuptools>=77.0.3,<80.0.0",
"setuptools-scm>=8.0", "setuptools-scm>=8.0",
"torch == 2.7.0", "torch == 2.7.0",
"wheel", "wheel",

View File

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

View File

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

View File

@ -7,6 +7,6 @@ triton==3.1.0
pandas pandas
numpy==1.26.4 numpy==1.26.4
tabulate tabulate
setuptools>=61 setuptools>=77.0.3,<80.0.0
setuptools-scm>=8 setuptools-scm>=8
vllm-hpu-extension @ git+https://github.com/HabanaAI/vllm-hpu-extension.git@f1f6624 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 triton==3.2
cmake>=3.26,<4 cmake>=3.26,<4
packaging packaging>=24.2
setuptools>=61 setuptools>=77.0.3,<80.0.0
setuptools-scm>=8 setuptools-scm>=8
wheel wheel
jinja2>=3.1.6 jinja2>=3.1.6

View File

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

View File

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

View File

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