Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Constraint setuptools to 72.1.0 or older in requirements.txt (pytorch…
…#136489) FIXES: pytorch#136541 Setuptools>=74.0.0 has deprecated support for some functions in distutils, and so the builds run into error such as ```AttributeError: module 'distutils' has no attribute '_msvccompiler'```. Also, the pytorch builds have setuptools pin to 72.1.0 according to these PRs: pytorch/builder#1995 and pytorch/builder@89d9a8c. So, until there is a fix to change the function usage in accordance with latest setuptools, the 72.1.0 version works fine. Also observed in CI jobs: https://github.com/pytorch/pytorch/actions/runs/10979326524 Pull Request resolved: pytorch#136489 Approved by: https://github.com/malfet Co-authored-by: Nikita Shulga <2453524+malfet@users.noreply.github.com>
- Loading branch information