diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index b4fd5cdf1ac2..0a0ef5fce1eb 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -609,6 +609,9 @@ pub enum ProjectCommand { /// /// uv will search for a project in the current directory or any parent /// directory. If a project cannot be found, uv will exit with an error. + /// + /// Note that, when installing from a lockfile, uv will not provide warnings for yanked package + /// versions. #[command( after_help = "Use `uv help sync` for more details.", after_long_help = "" diff --git a/docs/reference/cli.md b/docs/reference/cli.md index 92598e18a4b3..1141e21fbf5f 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -1007,6 +1007,8 @@ The project is re-locked before syncing unless the `--locked` or `--frozen` flag uv will search for a project in the current directory or any parent directory. If a project cannot be found, uv will exit with an error. +Note that, when installing from a lockfile, uv will not provide warnings for yanked package versions. +

Usage

```