mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 04:48:18 +00:00
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
This commit is contained in:
parent
30b15361e5
commit
1ddfcee9e9
1 changed files with 5 additions and 7 deletions
|
|
@ -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]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue