mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[EZ] Update minversion to 3.9.0 (#139085)
Fixes https://github.com/pytorch/pytorch/issues/138979 Pull Request resolved: https://github.com/pytorch/pytorch/pull/139085 Approved by: https://github.com/kit1980, https://github.com/huydhn, https://github.com/seemethere, https://github.com/Skylion007
This commit is contained in:
committed by
PyTorch MergeBot
parent
74878ac271
commit
5c49db98b4
2
setup.py
2
setup.py
@ -232,7 +232,7 @@ import platform
|
||||
BUILD_LIBTORCH_WHL = os.getenv("BUILD_LIBTORCH_WHL", "0") == "1"
|
||||
BUILD_PYTHON_ONLY = os.getenv("BUILD_PYTHON_ONLY", "0") == "1"
|
||||
|
||||
python_min_version = (3, 8, 0)
|
||||
python_min_version = (3, 9, 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