mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
7
setup.py
7
setup.py
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user