File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ dev = [
53
53
name = " torch"
54
54
description = " Tensors and Dynamic neural networks in Python with strong GPU acceleration"
55
55
readme = " README.md"
56
- requires-python = " >=3.10 "
56
+ requires-python = " >=3.9 "
57
57
# TODO: change to `license = "BSD-3-Clause"` and enable PEP 639 after pinning setuptools>=77
58
58
# FIXME: As of 2025.06.20, it is hard to ensure the minimum version of setuptools in our CI environment.
59
59
# TOML-table-based license deprecated in setuptools>=77, and the deprecation warning will be changed
@@ -74,6 +74,7 @@ classifiers = [
74
74
" Topic :: Software Development :: Libraries :: Python Modules" ,
75
75
" Programming Language :: C++" ,
76
76
" Programming Language :: Python :: 3 :: Only" ,
77
+ " Programming Language :: Python :: 3.9" ,
77
78
" Programming Language :: Python :: 3.10" ,
78
79
" Programming Language :: Python :: 3.11" ,
79
80
" Programming Language :: Python :: 3.12" ,
Original file line number Diff line number Diff line change 256
256
257
257
258
258
# Also update `project.requires-python` in pyproject.toml when changing this
259
- python_min_version = (3 , 10 , 0 )
259
+ python_min_version = (3 , 9 , 0 )
260
260
python_min_version_str = "." .join (map (str , python_min_version ))
261
261
if sys .version_info < python_min_version :
262
262
print (
@@ -1029,7 +1029,7 @@ def build_deps() -> None:
1029
1029
CWD / "third_party/valgrind-headers/callgrind.h" ,
1030
1030
CWD / "third_party/valgrind-headers/valgrind.h" ,
1031
1031
]
1032
- for sym_file , orig_file in zip (sym_files , orig_files , strict = True ):
1032
+ for sym_file , orig_file in zip (sym_files , orig_files ):
1033
1033
same = False
1034
1034
if sym_file .exists ():
1035
1035
if filecmp .cmp (sym_file , orig_file ):
You can’t perform that action at this time.
0 commit comments