mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 21:40:11 -05:00
## Summary Added the actual error message to the warning when uv fails to parse `pyproject.toml`. Resolves https://github.com/astral-sh/uv/issues/5934 ## Test Plan Took the case from the issue: - have `pyproject.toml` which contains ``` [tool.uv] foobar = false ``` - ``` $ uv venv --preview -v ``` - Expect the message that contains the actual problem in the `pyproject.toml` like: ``` warning: Failed to parse `pyproject.toml` during settings discovery: unknown field `foobar`; skipping... ```