From c3e4b6380608a0425982f3082a5403e7249a7532 Mon Sep 17 00:00:00 2001 From: Jack O'Connor Date: Wed, 18 Jun 2025 12:12:56 -0700 Subject: [PATCH] document the way member sources shadow workspace sources Closes https://github.com/astral-sh/uv/issues/14093. --- docs/concepts/projects/workspaces.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/concepts/projects/workspaces.md b/docs/concepts/projects/workspaces.md index 942cea8c2..4b2d670b4 100644 --- a/docs/concepts/projects/workspaces.md +++ b/docs/concepts/projects/workspaces.md @@ -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