mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-17 02:52:45 +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 {
|
if !found {
|
||||||
// Clear any remnants in the registry
|
// Clear any remnants in the registry
|
||||||
if preview.is_enabled() {
|
#[cfg(windows)]
|
||||||
#[cfg(windows)]
|
{
|
||||||
{
|
uv_python::windows_registry::remove_orphan_registry_entries(
|
||||||
uv_python::windows_registry::remove_orphan_registry_entries(
|
&installed_installations,
|
||||||
&installed_installations,
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if matches!(requests.as_slice(), [PythonRequest::Default]) {
|
if matches!(requests.as_slice(), [PythonRequest::Default]) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue