diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 04e56e3d4bed1..ba0bc0f46c3a6 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -3034,11 +3034,12 @@ pub struct ResolverArgs { )] pub no_build_isolation: bool, - /// Disable isolation when building source distributions for specified packages. + /// Disable isolation when building source distributions for a specific package. /// - /// Assumes that build dependencies specified by PEP 518 are already installed. + /// Assumes that the packages' build dependencies specified by PEP 518 are already installed. #[arg(long, help_heading = "Build options")] pub no_build_isolation_package: Vec, + #[arg( long, overrides_with("no_build_isolation"), @@ -3204,9 +3205,9 @@ pub struct ResolverInstallerArgs { )] pub no_build_isolation: bool, - /// Disable isolation when building source distributions for specified packages. + /// Disable isolation when building source distributions for a specific package. /// - /// Assumes that build dependencies specified by PEP 518 are already installed. + /// Assumes that the packages' build dependencies specified by PEP 518 are already installed. #[arg(long, help_heading = "Build options")] pub no_build_isolation_package: Vec, diff --git a/crates/uv-settings/src/settings.rs b/crates/uv-settings/src/settings.rs index 80c172f800e12..fd631010f03db 100644 --- a/crates/uv-settings/src/settings.rs +++ b/crates/uv-settings/src/settings.rs @@ -351,12 +351,10 @@ pub struct ResolverInstallerOptions { "# )] pub no_build_isolation: Option, - - /// Disable isolation when building source distributions. + /// Disable isolation when building source distributions for a specific package. /// - /// Assumes that build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) + /// Assumes that the packages' build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) /// are already installed. - /// #[option( default = "[]", value_type = "Vec", @@ -732,9 +730,9 @@ pub struct PipOptions { "# )] pub no_build_isolation: Option, - /// Disable isolation when building source distributions. + /// Disable isolation when building source distributions for a specific package. /// - /// Assumes that build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) + /// Assumes that the packages' build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) /// are already installed. #[option( default = "[]", diff --git a/docs/reference/cli.md b/docs/reference/cli.md index e1bec745a26ca..f9394b1f38071 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -144,9 +144,9 @@ uv run [OPTIONS]
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -423,9 +423,9 @@ uv add [OPTIONS] ...
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -614,9 +614,9 @@ uv remove [OPTIONS] ...
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -801,9 +801,9 @@ uv sync [OPTIONS]
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -982,9 +982,9 @@ uv lock [OPTIONS]
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -1174,9 +1174,9 @@ uv tree [OPTIONS]
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -1426,9 +1426,9 @@ uv tool run [OPTIONS] [COMMAND]
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -1617,9 +1617,9 @@ uv tool install [OPTIONS]
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -2496,9 +2496,9 @@ uv pip compile [OPTIONS] ...
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

@@ -3009,9 +3009,9 @@ uv pip install [OPTIONS] |--editable
--config-setting, -C config-setting

Settings to pass to the PEP 517 build backend, specified as KEY=VALUE pairs

-
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for specified packages.

+
--no-build-isolation-package no-build-isolation-package

Disable isolation when building source distributions for a specific package.

-

Assumes that build dependencies specified by PEP 518 are already installed.

+

Assumes that the packages’ build dependencies specified by PEP 518 are already installed.

--exclude-newer exclude-newer

Limit candidate packages to those that were uploaded prior to the given date.

diff --git a/docs/reference/settings.md b/docs/reference/settings.md index a8e0874c0a48d..bf5d2621a589a 100644 --- a/docs/reference/settings.md +++ b/docs/reference/settings.md @@ -478,9 +478,9 @@ are already installed. #### [`no-build-isolation-package`](#no-build-isolation-package) {: #no-build-isolation-package } -Disable isolation when building source distributions. +Disable isolation when building source distributions for a specific package. -Assumes that build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) +Assumes that the packages' build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) are already installed. **Default value**: `[]` @@ -1752,9 +1752,9 @@ are already installed. #### [`no-build-isolation-package`](#pip_no-build-isolation-package) {: #pip_no-build-isolation-package } -Disable isolation when building source distributions. +Disable isolation when building source distributions for a specific package. -Assumes that build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) +Assumes that the packages' build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) are already installed. **Default value**: `[]` diff --git a/uv.schema.json b/uv.schema.json index 844cdb1c634e7..8b3e09f810588 100644 --- a/uv.schema.json +++ b/uv.schema.json @@ -169,7 +169,7 @@ ] }, "no-build-isolation-package": { - "description": "Disable isolation when building source distributions.\n\nAssumes that build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) are already installed.", + "description": "Disable isolation when building source distributions for a specific package.\n\nAssumes that the packages' build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) are already installed.", "type": [ "array", "null" @@ -761,7 +761,7 @@ ] }, "no-build-isolation-package": { - "description": "Disable isolation when building source distributions.\n\nAssumes that build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) are already installed.", + "description": "Disable isolation when building source distributions for a specific package.\n\nAssumes that the packages' build dependencies specified by [PEP 518](https://peps.python.org/pep-0518/) are already installed.", "type": [ "array", "null"