Remove unused methods from Resolution (#3754)

This commit is contained in:
Charlie Marsh 2024-05-22 14:48:44 -04:00 committed by GitHub
parent 0a87391d5d
commit fe28b2c278
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 11 additions and 24 deletions

View file

@ -192,12 +192,14 @@ impl<'a> BuildContext for BuildDispatch<'a> {
// Determine the set of installed packages.
let site_packages = SitePackages::from_executable(venv)?;
let requirements = resolution.requirements().collect::<Vec<_>>();
let Plan {
cached,
remote,
reinstalls,
extraneous: _,
} = Planner::with_requirements(&resolution.requirements()).build(
} = Planner::with_requirements(&requirements).build(
site_packages,
&Reinstall::None,
&NoBinary::None,