mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-14 08:45:01 +00:00
Require opt-in to use alternative Python implementations (#7650)
Closes #7118 This only really affects managed interpreters, as we exclude alternative Python implementations from the search path during the `VersionRequest::executable_names` part of discovery.
This commit is contained in:
parent
da328379c1
commit
a53ddaa24a
6 changed files with 100 additions and 14 deletions
|
@ -1793,7 +1793,7 @@ mod tests {
|
|||
})?;
|
||||
assert!(
|
||||
matches!(result, Err(PythonNotFound { .. })),
|
||||
"We should not the pypy interpreter if not named `python` or requested; got {result:?}"
|
||||
"We should not find the pypy interpreter if not named `python` or requested; got {result:?}"
|
||||
);
|
||||
|
||||
// But we should find it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue