diff --git a/crates/uv/src/requirements.rs b/crates/uv/src/requirements.rs index 26f5f30a6..8358d493d 100644 --- a/crates/uv/src/requirements.rs +++ b/crates/uv/src/requirements.rs @@ -243,7 +243,7 @@ impl RequirementsSpecification { .iter() .any(|v| v.name.as_dist_info_name().starts_with("poetry")) }) { - warn_user!("`{}` does not contain any dependencies (hint: Poetry's format is not supported for now)", path.normalized_display()); + warn_user!("`{}` does not contain any dependencies (hint: specify dependencies in the `project.dependencies` section; `tool.poetry.dependencies` is not currently supported)", path.normalized_display()); } } diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs index 03c44616f..2ba16a94d 100644 --- a/crates/uv/tests/pip_compile.rs +++ b/crates/uv/tests/pip_compile.rs @@ -409,7 +409,7 @@ build-backend = "poetry.core.masonry.api" # uv pip compile --cache-dir [CACHE_DIR] --exclude-newer 2023-11-18T12:00:00Z pyproject.toml ----- stderr ----- - warning: `pyproject.toml` does not contain any dependencies (hint: Poetry's format is not supported for now) + warning: `pyproject.toml` does not contain any dependencies (hint: specify dependencies in the `project.dependencies` section; `tool.poetry.dependencies` is not currently supported) Resolved 0 packages in [TIME] "### );