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

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-18 13:23:09 +08:00
committed by PyTorch MergeBot
parent 27af877f84
commit a4ec381302
15 changed files with 46 additions and 40 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