Clarify locking and resolving without package name (#7578)

This adds a guiding comment around an hardcoded no-value in the
lock-and-resolve flow.

Ref: https://github.com/astral-sh/uv/pull/7488#issuecomment-2358385418

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
This commit is contained in:
Luca Bruno 2024-10-01 20:53:31 +02:00 committed by GitHub
parent 267dda995b
commit 0e8bf62902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -549,6 +549,7 @@ async fn do_lock(
.collect(),
dev,
source_trees,
// The root is always null in workspaces, it "depends on" the projects
None,
Some(workspace.packages().keys().cloned().collect()),
&extras,