Skip to content

Commit

Permalink
Lock and resolve with project name where available
Browse files Browse the repository at this point in the history
This populates the project package name (if available) for
lock-and-resolve operations.
  • Loading branch information
lucab committed Sep 18, 2024
1 parent f942561 commit bca45ce
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/uv/src/commands/project/lock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,11 @@ async fn do_lock(
.collect(),
dev,
source_trees,
None,
workspace
.pyproject_toml()
.project
.as_ref()
.map(|proj| proj.name.clone()),
Some(workspace.packages().keys().cloned().collect()),
&extras,
preferences,
Expand Down

0 comments on commit bca45ce

Please sign in to comment.