mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Remove unused methods from Resolution
(#3754)
This commit is contained in:
parent
0a87391d5d
commit
fe28b2c278
7 changed files with 11 additions and 24 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue