mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-19 19:25:08 +00:00
Use the first pre-release discovered when only pre-release Python versions are available (#7666)
This commit is contained in:
parent
a53ddaa24a
commit
e6cd6c9b01
1 changed files with 3 additions and 1 deletions
|
@ -950,7 +950,9 @@ pub(crate) fn find_python_installation(
|
|||
&& !has_default_executable_name
|
||||
{
|
||||
debug!("Skipping pre-release {}", installation.key());
|
||||
first_prerelease = Some(installation.clone());
|
||||
if first_prerelease.is_none() {
|
||||
first_prerelease = Some(installation.clone());
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue