From c29ecddede78f19176564cd411749a868e9f062e Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Sat, 13 Jun 2026 00:45:38 +0300 Subject: [PATCH] + comment on critical knowledge --- plugins/python-build/scripts/add_cpython.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/python-build/scripts/add_cpython.py b/plugins/python-build/scripts/add_cpython.py index 5a2448b3..2cf38816 100755 --- a/plugins/python-build/scripts/add_cpython.py +++ b/plugins/python-build/scripts/add_cpython.py @@ -176,6 +176,8 @@ def handle_version_patches( logger.info(f"Copying patches from {previous_version} to {version}") shutil.copytree(previous_patches, new_patches) + # Subdir rename as a separate step from upper dir copying/moving + # in case there are patches for dependency packages as well previous_package_patches = new_patches / f"Python-{previous_version}" new_package_patches = new_patches / f"Python-{version}" if is_prerelease_upgrade: