mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[BE] Update Python min version to 3.10 (#162310)"
This reverts commit 9f5a644f0768258bc81f8b38492754d297399f74. Reverted https://github.com/pytorch/pytorch/pull/162310 on behalf of https://github.com/malfet due to Broke lint, but to the best of my knowledge it's no longer possible to run lint for all files on PRs ([comment](https://github.com/pytorch/pytorch/pull/162310#issuecomment-3319289031))
This commit is contained in:
4
setup.py
4
setup.py
@ -256,7 +256,7 @@ import platform
|
||||
|
||||
|
||||
# Also update `project.requires-python` in pyproject.toml when changing this
|
||||
python_min_version = (3, 10, 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(
|
||||
@ -1029,7 +1029,7 @@ def build_deps() -> None:
|
||||
CWD / "third_party/valgrind-headers/callgrind.h",
|
||||
CWD / "third_party/valgrind-headers/valgrind.h",
|
||||
]
|
||||
for sym_file, orig_file in zip(sym_files, orig_files, strict=True):
|
||||
for sym_file, orig_file in zip(sym_files, orig_files):
|
||||
same = False
|
||||
if sym_file.exists():
|
||||
if filecmp.cmp(sym_file, orig_file):
|
||||
|
Reference in New Issue
Block a user