mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[BE] Update Python min version to 3.10 (#162310)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/162310 Approved by: https://github.com/atalman, https://github.com/Skylion007, https://github.com/ZainRizvi
This commit is contained in:
committed by
PyTorch MergeBot
parent
06fe5b9025
commit
5e7be98800
2
setup.py
2
setup.py
@ -256,7 +256,7 @@ import platform
|
||||
|
||||
|
||||
# Also update `project.requires-python` in pyproject.toml when changing this
|
||||
python_min_version = (3, 9, 0)
|
||||
python_min_version = (3, 10, 0)
|
||||
python_min_version_str = ".".join(map(str, python_min_version))
|
||||
if sys.version_info < python_min_version:
|
||||
print(
|
||||
|
Reference in New Issue
Block a user