Use lockfile directly in uv tree (#5761)

## Summary

Ensures that we properly handle (1) duplicated packages and (2) packages
that aren't relevant to the current platform.

Closes https://github.com/astral-sh/uv/issues/5716.
Closes https://github.com/astral-sh/uv/issues/5253.
This commit is contained in:
Charlie Marsh 2024-08-04 14:33:13 -04:00 committed by GitHub
parent c5052bc36c
commit a9a535da14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 371 additions and 40 deletions

View file

@ -3,7 +3,7 @@ pub use error::{NoSolutionError, ResolveError};
pub use exclude_newer::ExcludeNewer;
pub use exclusions::Exclusions;
pub use flat_index::FlatIndex;
pub use lock::{Lock, LockError};
pub use lock::{Lock, LockError, TreeDisplay};
pub use manifest::Manifest;
pub use options::{Options, OptionsBuilder};
pub use preferences::{Preference, PreferenceError, Preferences};