Clear discovered interpreters when creating virtual environment (#15522)

## Summary

Closes https://github.com/astral-sh/uv/issues/15518.
This commit is contained in:
Charlie Marsh
2025-08-25 20:24:24 -04:00
committed by GitHub
parent 9b8d6989d4
commit b723129c7c
2 changed files with 82 additions and 0 deletions
+1
View File
@@ -106,6 +106,7 @@ impl Interpreter {
sys_prefix: virtualenv.root,
target: None,
prefix: None,
site_packages: vec![],
..self
}
}