Add all 3.12 binary build for wheel. Let's see how it goes. V2 (#112882)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/112882
Approved by: https://github.com/malfet, https://github.com/sammcj
This commit is contained in:
albanD
2023-11-16 18:20:07 +00:00
committed by PyTorch MergeBot
parent 275403be16
commit 25fb88cf23
11 changed files with 1553 additions and 5 deletions

View File

@ -1110,13 +1110,18 @@ def main():
# the list of runtime dependencies required by this built package
install_requires = [
"filelock",
"typing-extensions",
"typing-extensions>=4.8.0",
"sympy",
"networkx",
"jinja2",
"fsspec",
]
if IS_WINDOWS and sys.version_info >= (3, 12, 0):
# torch.version requires this and it is not part
# of the default cpython install on windows in 3.12+
install_requires.append("packaging")
# Parse the command line and check the arguments before we proceed with
# building deps and setup. We need to set values so `--help` works.
dist = Distribution()