From 1ddfcee9e9a23c720f2f8b7f7e55cc9c7055c951 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 23 Jul 2025 17:44:48 -0500 Subject: [PATCH] Fix missed stabilization of removal of registry entry during Python uninstall (#14859) Funny enough, I caught this via https://github.com/astral-sh/uv/pull/14823 --- crates/uv/src/commands/python/uninstall.rs | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/crates/uv/src/commands/python/uninstall.rs b/crates/uv/src/commands/python/uninstall.rs index c2e2e6877..3370e1f6f 100644 --- a/crates/uv/src/commands/python/uninstall.rs +++ b/crates/uv/src/commands/python/uninstall.rs @@ -112,13 +112,11 @@ async fn do_uninstall( } if !found { // Clear any remnants in the registry - if preview.is_enabled() { - #[cfg(windows)] - { - uv_python::windows_registry::remove_orphan_registry_entries( - &installed_installations, - ); - } + #[cfg(windows)] + { + uv_python::windows_registry::remove_orphan_registry_entries( + &installed_installations, + ); } if matches!(requests.as_slice(), [PythonRequest::Default]) {