From 06bac52676248d5604a5afc8b7201f02e5f5a004 Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Thu, 19 Feb 2026 04:48:55 +0300 Subject: [PATCH] add_cpython: fix erroneously deleting old thunks Looks like a leftover from older logic, before we `git mv`'d thunks on prerelease upgrade --- plugins/python-build/scripts/add_cpython.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/python-build/scripts/add_cpython.py b/plugins/python-build/scripts/add_cpython.py index f72f3d64..afb9982a 100755 --- a/plugins/python-build/scripts/add_cpython.py +++ b/plugins/python-build/scripts/add_cpython.py @@ -175,9 +175,6 @@ def handle_t_thunks(version, previous_version, is_prerelease_upgrade): "mv", previous_thunk_name, thunk_name)) - else: - logger.info(f"Deleting {previous_thunk_path}") - previous_thunk_path.unlink() logger.info(f"Writing {thunk_path}") thunk_path.write_text(T_THUNK, encoding='utf-8')