Avoid un-strict syncing by-default for build isolation (#6606)

## Summary

Closes https://github.com/astral-sh/uv/issues/6580.

Closes https://github.com/astral-sh/uv/issues/6599.
This commit is contained in:
Charlie Marsh 2024-08-26 14:04:58 -04:00 committed by GitHub
parent a7850d2a1c
commit 023acbe4b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 130 additions and 18 deletions

View file

@ -1098,9 +1098,7 @@ uv sync [OPTIONS]
</dd><dt><code>--inexact</code></dt><dd><p>Do not remove extraneous packages present in the environment.</p>
<p>When enabled, uv will make the minimum necessary changes to satisfy the requirements.</p>
<p>By default, syncing will remove any extraneous packages from the environment, unless <code>--no-build-isolation</code> is enabled, in which case extra packages are considered necessary for builds.</p>
<p>When enabled, uv will make the minimum necessary changes to satisfy the requirements. By default, syncing will remove any extraneous packages from the environment</p>
</dd><dt><code>--keyring-provider</code> <i>keyring-provider</i></dt><dd><p>Attempt to use <code>keyring</code> for authentication for index URLs.</p>