diff --git a/crates/uv-dispatch/src/lib.rs b/crates/uv-dispatch/src/lib.rs index 49da99f6e..e5a185128 100644 --- a/crates/uv-dispatch/src/lib.rs +++ b/crates/uv-dispatch/src/lib.rs @@ -195,7 +195,6 @@ impl<'a> BuildContext for BuildDispatch<'a> { let Plan { cached, remote, - installed: _, reinstalls, extraneous: _, } = Planner::with_requirements(&resolution.requirements()).build( diff --git a/crates/uv-installer/src/plan.rs b/crates/uv-installer/src/plan.rs index ad2b9722f..bfa393bcb 100644 --- a/crates/uv-installer/src/plan.rs +++ b/crates/uv-installer/src/plan.rs @@ -84,7 +84,6 @@ impl<'a> Planner<'a> { let mut cached = vec![]; let mut remote = vec![]; let mut reinstalls = vec![]; - let mut installed = vec![]; let mut extraneous = vec![]; let mut seen = FxHashMap::with_capacity_and_hasher( self.requirements.len(), @@ -191,7 +190,6 @@ impl<'a> Planner<'a> { RequirementSatisfaction::Mismatch => {} RequirementSatisfaction::Satisfied => { debug!("Requirement already installed: {distribution}"); - installed.push(distribution.clone()); continue; } RequirementSatisfaction::OutOfDate => { @@ -474,7 +472,6 @@ impl<'a> Planner<'a> { Ok(Plan { cached, - installed, remote, reinstalls, extraneous, @@ -496,10 +493,6 @@ pub struct Plan { /// available in the local cache. pub cached: Vec, - /// Any distributions that are already installed in the current environment, and can be used - /// to satisfy the requirements. - pub installed: Vec, - /// The distributions that are not already installed in the current environment, and are /// not available in the local cache. pub remote: Vec, diff --git a/crates/uv/src/commands/pip/install.rs b/crates/uv/src/commands/pip/install.rs index a988cdf66..ddfb67158 100644 --- a/crates/uv/src/commands/pip/install.rs +++ b/crates/uv/src/commands/pip/install.rs @@ -863,7 +863,6 @@ async fn install( cached, remote, reinstalls, - installed: _, extraneous: _, } = plan; @@ -1032,7 +1031,6 @@ async fn install( cached, remote, reinstalls, - installed: _, extraneous: _, } = plan; diff --git a/crates/uv/src/commands/pip/sync.rs b/crates/uv/src/commands/pip/sync.rs index 008194f50..ebaf72937 100644 --- a/crates/uv/src/commands/pip/sync.rs +++ b/crates/uv/src/commands/pip/sync.rs @@ -321,7 +321,6 @@ pub(crate) async fn pip_sync( cached, remote, reinstalls, - installed: _, extraneous, } = Planner::with_requirements(&requirements) .with_editable_requirements(&resolved_editables.editables) diff --git a/crates/uv/src/commands/project/mod.rs b/crates/uv/src/commands/project/mod.rs index c37e77865..1e5888d71 100644 --- a/crates/uv/src/commands/project/mod.rs +++ b/crates/uv/src/commands/project/mod.rs @@ -279,7 +279,6 @@ pub(crate) async fn install( cached, remote, reinstalls, - installed: _, extraneous: _, } = plan;