Use operations API in pip compile (#4493)

## Summary

Closes https://github.com/astral-sh/uv/issues/4235.
This commit is contained in:
Charlie Marsh 2024-06-25 01:20:03 +03:00 committed by GitHub
parent 9905521957
commit 10ec9c9d0b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 157 additions and 245 deletions

View file

@ -573,8 +573,11 @@ impl<InstalledPackages: InstalledPackagesProvider> ResolverState<InstalledPackag
combined.union(resolution);
}
ResolutionGraph::from_state(
&self.index,
&self.requirements,
&self.constraints,
&self.overrides,
&self.preferences,
&self.index,
&self.git,
&self.python_requirement,
combined,