@@ -1090,7 +1090,7 @@ def find_additional_dependencies(project: pathlib.Path):
1090
1090
elif arch == "arm64" :
1091
1091
abi_platform = "win_arm64"
1092
1092
else :
1093
- raise ValueError ("unhandled arch : %s" % arch )
1093
+ raise Exception ("unhandled architecture : %s" % arch )
1094
1094
1095
1095
if freethreaded :
1096
1096
abi_tag = ".cp%st-%s" % (python_majmin , abi_platform )
@@ -1276,7 +1276,11 @@ def build_cpython(
1276
1276
# runtime dependencies, so we are conservative and use the old version
1277
1277
# elsewhere. The old version isn't built for arm64, so we use the new
1278
1278
# version there too
1279
- tk_bin_entry = "tk-windows-bin" if meets_python_minimum_version (python_version , "3.14" ) or arch == "arm64" else "tk-windows-bin-8612"
1279
+ tk_bin_entry = (
1280
+ "tk-windows-bin"
1281
+ if meets_python_minimum_version (python_version , "3.14" ) or arch == "arm64"
1282
+ else "tk-windows-bin-8612"
1283
+ )
1280
1284
tk_bin_archive = download_entry (
1281
1285
tk_bin_entry , BUILD , local_name = "tk-windows-bin.tar.gz"
1282
1286
)
@@ -1357,7 +1361,13 @@ def build_cpython(
1357
1361
# Delete the tk nmake helper, it's not needed and links msvc
1358
1362
tcltk_commit : str = DOWNLOADS [tk_bin_entry ]["git_commit" ]
1359
1363
tcltk_path = td / ("cpython-bin-deps-%s" % tcltk_commit )
1360
- (tcltk_path / build_directory / "lib" / "nmake" / "x86_64-w64-mingw32-nmakehlp.exe" ).unlink ()
1364
+ (
1365
+ tcltk_path
1366
+ / build_directory
1367
+ / "lib"
1368
+ / "nmake"
1369
+ / "x86_64-w64-mingw32-nmakehlp.exe"
1370
+ ).unlink ()
1361
1371
1362
1372
cpython_source_path = td / ("Python-%s" % python_version )
1363
1373
pcbuild_path = cpython_source_path / "PCbuild"
0 commit comments