document the way member sources shadow workspace sources

Closes https://github.com/astral-sh/uv/issues/14093.
This commit is contained in:
Jack O'Connor
2025-06-18 12:12:56 -07:00
parent e1046242e7
commit c3e4b63806
+7
View File
@@ -113,6 +113,13 @@ build-backend = "hatchling.build"
Every workspace member would, by default, install `tqdm` from GitHub, unless a specific member
overrides the `tqdm` entry in its own `tool.uv.sources` table.
!!! note
If a workspace member provides `tool.uv.sources` for some dependency, it will ignore any
`tool.uv.sources` for the same dependency in the workspace root, even if the member's source is
limited by a [marker](dependencies.md#platform-specific-sources) that doesn't match the current
platform.
## Workspace layouts
The most common workspace layout can be thought of as a root project with a series of accompanying