Skip to content

Commit 4057841

Browse files
committed
Revert "patch windows for 3.15 startup"
This reverts commit 711e1ff.
1 parent fe7f317 commit 4057841

2 files changed

Lines changed: 0 additions & 177 deletions

File tree

cpython-windows/build.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -311,19 +311,6 @@ def static_replace_in_file(p: pathlib.Path, search, replace):
311311
fh.write(data)
312312

313313

314-
def apply_source_patch(cpython_source_path: pathlib.Path, patch_path: pathlib.Path):
315-
subprocess.run(
316-
[
317-
"git.exe",
318-
"-C",
319-
str(cpython_source_path),
320-
"apply",
321-
str(patch_path),
322-
],
323-
check=True,
324-
)
325-
326-
327314
OPENSSL_PROPS_REMOVE_RULES_LEGACY = b"""
328315
<ItemGroup>
329316
<_SSLDLL Include="$(opensslOutDir)\libcrypto$(_DLLSuffix).dll" />
@@ -1505,12 +1492,6 @@ def build_cpython(
15051492
cpython_source_path = td / ("Python-%s" % python_version)
15061493
pcbuild_path = cpython_source_path / "PCbuild"
15071494

1508-
if python_version.startswith("3.15."):
1509-
apply_source_patch(
1510-
cpython_source_path,
1511-
SUPPORT / "patch-site-reentrant-startup-files-3.15.patch",
1512-
)
1513-
15141495
out_dir = td / "out"
15151496

15161497
build_dir = out_dir / "python" / "build"

cpython-windows/patch-site-reentrant-startup-files-3.15.patch

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)