File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -346,14 +346,13 @@ def hack_props(
346346 pcbuild_path : pathlib .Path ,
347347 arch : str ,
348348 python_version : str ,
349- zlib_entry : str
349+ zlib_entry : str ,
350350):
351351 # TODO can we pass props into msbuild.exe?
352352
353353 # Our dependencies are in different directories from what CPython's
354354 # build system expects. Modify the config file appropriately.
355355
356-
357356 bzip2_version = DOWNLOADS ["bzip2" ]["version" ]
358357 sqlite_version = DOWNLOADS ["sqlite" ]["version" ]
359358 xz_version = DOWNLOADS ["xz" ]["version" ]
@@ -486,7 +485,7 @@ def hack_project_files(
486485 cpython_source_path : pathlib .Path ,
487486 build_directory : str ,
488487 python_version : str ,
489- zlib_entry : str
488+ zlib_entry : str ,
490489):
491490 """Hacks Visual Studio project files to work with our build."""
492491
@@ -1225,7 +1224,9 @@ def build_cpython(
12251224 entry = DOWNLOADS [python_entry_name ]
12261225 python_version = entry ["version" ]
12271226
1228- zlib_entry = "zlib-ng" if meets_python_minimum_version (python_version , "3.14" ) else "zlib"
1227+ zlib_entry = (
1228+ "zlib-ng" if meets_python_minimum_version (python_version , "3.14" ) else "zlib"
1229+ )
12291230
12301231 bzip2_archive = download_entry ("bzip2" , BUILD )
12311232 sqlite_archive = download_entry ("sqlite" , BUILD )
Original file line number Diff line number Diff line change 448448 },
449449 "zlib-ng" : {
450450 "url" : "https://github.com/python/cpython-source-deps/archive/refs/tags/zlib-ng-2.2.4.tar.gz" ,
451- "size" : 2415819 ,
451+ "size" : 2415819 ,
452452 "sha256" : "00bbd88709bc416cb96160ab61d3e1c8f76e106799af7328d0fe434dc7dd5004" ,
453453 "version" : "2.2.4" ,
454454 "library_names" : ["z" ],
455455 "licenses" : ["Zlib" ],
456456 "license_file" : "LICENSE.zlib-ng.txt" ,
457- }
457+ },
458458}
You can’t perform that action at this time.
0 commit comments