[build] pin setuptools>=77 to enable PEP 639 (#158104)

For reference here is the link PEP 639: [peps.python.org/pep-0639](https://peps.python.org/pep-0639/)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/158104
Approved by: https://github.com/rgommers, https://github.com/Skylion007, https://github.com/atalman
This commit is contained in:
Xuehai Pan
2025-07-21 14:26:45 +08:00
committed by PyTorch MergeBot
parent 7205458b85
commit a78fb63dbd
19 changed files with 57 additions and 46 deletions

View File

@ -1,9 +1,9 @@
# Build System requirements
setuptools>=70.1.0,<80.0 # setuptools develop deprecated on 80.0
setuptools>=77.0.0,<80.0 # setuptools develop deprecated on 80.0
cmake>=3.27
ninja
numpy
packaging
packaging>=24.2
pyyaml
requests
six # dependency chain: NNPACK -> PeachPy -> six