mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 05:50:25 -05:00
## Summary When a `pyproject.toml` `[tool.uv.sources.(package)]` section specifies `workspace` and one or more of (`index`, `git`, `url`, `path`, `rev`, `tag`, `branch`, `editable`), running `uv` to build or sync the package gives the error: ``` cannot specify both `index` and `(parameter name)` ``` The error should actually say: ``` cannot specify both `workspace` and `(parameter name)` ``` ## Test Plan I ran `cargo test`, and all tests still passed.