File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ dev = [
5353name = " torch"
5454description = " Tensors and Dynamic neural networks in Python with strong GPU acceleration"
5555readme = " README.md"
56- requires-python = " >=3.9 "
56+ requires-python = " >=3.10 "
5757# TODO: change to `license = "BSD-3-Clause"` and enable PEP 639 after pinning setuptools>=77
5858# FIXME: As of 2025.06.20, it is hard to ensure the minimum version of setuptools in our CI environment.
5959# TOML-table-based license deprecated in setuptools>=77, and the deprecation warning will be changed
@@ -74,7 +74,6 @@ classifiers = [
7474 " Topic :: Software Development :: Libraries :: Python Modules" ,
7575 " Programming Language :: C++" ,
7676 " Programming Language :: Python :: 3 :: Only" ,
77- " Programming Language :: Python :: 3.9" ,
7877 " Programming Language :: Python :: 3.10" ,
7978 " Programming Language :: Python :: 3.11" ,
8079 " Programming Language :: Python :: 3.12" ,
Original file line number Diff line number Diff line change 259259
260260
261261# Also update `project.requires-python` in pyproject.toml when changing this
262- python_min_version = (3 , 9 , 0 )
262+ python_min_version = (3 , 10 , 0 )
263263python_min_version_str = "." .join (map (str , python_min_version ))
264264if sys .version_info < python_min_version :
265265 print (
@@ -1033,7 +1033,7 @@ def build_deps() -> None:
10331033 CWD / "third_party/valgrind-headers/callgrind.h" ,
10341034 CWD / "third_party/valgrind-headers/valgrind.h" ,
10351035 ]
1036- for sym_file , orig_file in zip (sym_files , orig_files ):
1036+ for sym_file , orig_file in zip (sym_files , orig_files , strict = True ):
10371037 same = False
10381038 if sym_file .exists ():
10391039 if filecmp .cmp (sym_file , orig_file ):
You can’t perform that action at this time.
0 commit comments