Report yanks for cached and resolved packages (#3772)

## Summary

We now show yanks as part of the resolution diagnostics, so they now
appear for `sync`, `install`, `compile`, and any other operations.
Further, they'll also appear for cached packages (but not packages that
are _already_ installed).

Closes https://github.com/astral-sh/uv/issues/3768.

Closes #3766.
This commit is contained in:
Charlie Marsh 2024-05-22 17:21:37 -04:00 committed by GitHub
parent 1fc71ea736
commit 74c494d7dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 153 additions and 117 deletions

View file

@ -10,7 +10,7 @@ pub use options::{Options, OptionsBuilder};
pub use preferences::{Preference, PreferenceError};
pub use prerelease_mode::PreReleaseMode;
pub use python_requirement::PythonRequirement;
pub use resolution::{AnnotationStyle, Diagnostic, DisplayResolutionGraph, ResolutionGraph};
pub use resolution::{AnnotationStyle, DisplayResolutionGraph, ResolutionGraph};
pub use resolution_mode::ResolutionMode;
pub use resolver::{
BuildId, DefaultResolverProvider, InMemoryIndex, MetadataResponse, PackageVersionsResult,