From 00c055a6bd8a93c980c4d32772b7fd55069de4fe Mon Sep 17 00:00:00 2001 From: konsti Date: Mon, 15 Jul 2024 13:15:58 +0200 Subject: [PATCH] Use correct pyproject.toml path in warnings (#5069) One part of #5068. I think the other is not warning when the version is dynamic, but this fix is needed either way. --- crates/uv-distribution/src/workspace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uv-distribution/src/workspace.rs b/crates/uv-distribution/src/workspace.rs index 959581adc..c104fafa8 100644 --- a/crates/uv-distribution/src/workspace.rs +++ b/crates/uv-distribution/src/workspace.rs @@ -777,7 +777,7 @@ async fn find_workspace( // We require that a `project.toml` file either declares a workspace or a project. warn_user!( "pyproject.toml does not contain `project` table: `{}`", - workspace_root.simplified_display() + pyproject_path.simplified_display() ); Ok(None) };