Check for matching Python implementation during uv python upgrade (#16420)

Closes https://github.com/astral-sh/uv/issues/16416
This commit is contained in:
Zanie Blue
2025-10-23 10:48:34 -05:00
committed by GitHub
parent 00bf80bfda
commit 1fbc1c7ff4
7 changed files with 82 additions and 15 deletions
+4
View File
@@ -411,6 +411,10 @@ impl PythonDownloadRequest {
self.libc.as_ref()
}
pub fn take_version(&mut self) -> Option<VersionRequest> {
self.version.take()
}
/// Iterate over all [`PythonDownload`]'s that match this request.
pub fn iter_downloads<'a>(
&'a self,