Skip to content

Commit

Permalink
Document yanked packages caveat during sync (#6219)
Browse files Browse the repository at this point in the history
Closes #5928
  • Loading branch information
zanieb authored Aug 19, 2024
1 parent c410d0d commit df2ebf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/uv-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<h3 class="cli-reference">Usage</h3>

```
Expand Down

0 comments on commit df2ebf7

Please sign in to comment.