mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-31 15:57:26 +00:00
Add support for uv sync --all-packages
(#8739)
## Summary This PR enables `uv sync --all-packages` to sync all packages in a workspace. It removes a common use-case for the legacy non-`[project]` packages that we're trying to move away from. Closes https://github.com/astral-sh/uv/issues/8724.
This commit is contained in:
parent
58a9811881
commit
3c9dd97fe9
16 changed files with 407 additions and 83 deletions
|
@ -1369,6 +1369,12 @@ uv sync [OPTIONS]
|
|||
|
||||
<p>Note that all optional dependencies are always included in the resolution; this option only affects the selection of packages to install.</p>
|
||||
|
||||
</dd><dt><code>--all-packages</code></dt><dd><p>Sync all packages in the workspace.</p>
|
||||
|
||||
<p>The workspace’s environment (<code>.venv</code>) is updated to include all workspace members.</p>
|
||||
|
||||
<p>Any extras or groups specified via <code>--extra</code>, <code>--group</code>, or related options will be applied to all workspace members.</p>
|
||||
|
||||
</dd><dt><code>--allow-insecure-host</code> <i>allow-insecure-host</i></dt><dd><p>Allow insecure connections to a host.</p>
|
||||
|
||||
<p>Can be provided multiple times.</p>
|
||||
|
@ -7260,7 +7266,7 @@ uv build [OPTIONS] [SRC]
|
|||
|
||||
<h3 class="cli-reference">Options</h3>
|
||||
|
||||
<dl class="cli-reference"><dt><code>--all</code></dt><dd><p>Builds all packages in the workspace.</p>
|
||||
<dl class="cli-reference"><dt><code>--all-packages</code></dt><dd><p>Builds all packages in the workspace.</p>
|
||||
|
||||
<p>The workspace will be discovered from the provided source directory, or the current directory if no source directory is provided.</p>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue