diff --git a/crates/uv/src/commands/pip/latest.rs b/crates/uv/src/commands/pip/latest.rs
index 486d034d0..d8b0de47f 100644
--- a/crates/uv/src/commands/pip/latest.rs
+++ b/crates/uv/src/commands/pip/latest.rs
@@ -12,7 +12,7 @@ use uv_warnings::warn_user_once;
/// A client to fetch the latest version of a package from an index.
///
/// The returned distribution is guaranteed to be compatible with the provided tags and Python
-/// requirement.
+/// requirement (if specified).
#[derive(Debug, Clone)]
pub(crate) struct LatestClient<'env> {
pub(crate) client: &'env RegistryClient,
@@ -20,7 +20,7 @@ pub(crate) struct LatestClient<'env> {
pub(crate) prerelease: PrereleaseMode,
pub(crate) exclude_newer: &'env ExcludeNewer,
pub(crate) tags: Option<&'env Tags>,
- pub(crate) requires_python: &'env RequiresPython,
+ pub(crate) requires_python: Option<&'env RequiresPython>,
}
impl LatestClient<'_> {
@@ -30,7 +30,7 @@ impl LatestClient<'_> {
package: &PackageName,
index: Option<&IndexUrl>,
download_concurrency: &Semaphore,
- ) -> anyhow::Result