diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index da4524aaa..63e87367c 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -1491,7 +1491,7 @@ pub struct PipSyncArgs { /// Hash-checking mode introduces a number of additional constraints: /// /// - Git dependencies are not supported. - /// - Editable installs are not supported. + /// - Editable installations are not supported. /// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or /// source archive (`.zip`, `.tar.gz`), as opposed to a directory. #[arg( @@ -1801,7 +1801,7 @@ pub struct PipInstallArgs { /// Hash-checking mode introduces a number of additional constraints: /// /// - Git dependencies are not supported. - /// - Editable installs are not supported. + /// - Editable installations are not supported. /// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or /// source archive (`.zip`, `.tar.gz`), as opposed to a directory. #[arg( @@ -2471,7 +2471,7 @@ pub struct BuildArgs { /// Hash-checking mode introduces a number of additional constraints: /// /// - Git dependencies are not supported. - /// - Editable installs are not supported. + /// - Editable installations are not supported. /// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or /// source archive (`.zip`, `.tar.gz`), as opposed to a directory. #[arg( diff --git a/crates/uv-settings/src/settings.rs b/crates/uv-settings/src/settings.rs index 7c2406d0c..ff6d39995 100644 --- a/crates/uv-settings/src/settings.rs +++ b/crates/uv-settings/src/settings.rs @@ -1495,7 +1495,7 @@ pub struct PipOptions { /// Hash-checking mode introduces a number of additional constraints: /// /// - Git dependencies are not supported. - /// - Editable installs are not supported. + /// - Editable installations are not supported. /// - Local dependencies are not supported, unless they point to a specific wheel (`.whl`) or /// source archive (`.zip`, `.tar.gz`), as opposed to a directory. #[option( diff --git a/docs/reference/cli.md b/docs/reference/cli.md index d89d4498e..aef894368 100644 --- a/docs/reference/cli.md +++ b/docs/reference/cli.md @@ -3550,7 +3550,7 @@ be used with caution, as it can modify the system Python installation.
When --require-hashes
is enabled, all requirements must include a hash or set of hashes, and all requirements must either be pinned to exact versions (e.g., ==1.0.0
), or be specified via direct URL.
Hash-checking mode introduces a number of additional constraints:
.whl
) or source archive (.zip
, .tar.gz
), as opposed to a directory..whl
) or source archive (.zip
, .tar.gz
), as opposed to a directory.May also be set with the UV_REQUIRE_HASHES
environment variable.
--strict
Validate the Python environment after completing the installation, to detect packages with missing dependencies or other issues
--system
Install packages into the system Python environment.
@@ -3814,7 +3814,7 @@ should be used with caution, as it can modify the system Python installation.When--require-hashes
is enabled, all requirements must include a hash or set of hashes, and all requirements must either be pinned to exact versions (e.g., ==1.0.0
), or be specified via direct URL.
Hash-checking mode introduces a number of additional constraints:
.whl
) or source archive (.zip
, .tar.gz
), as opposed to a directory..whl
) or source archive (.zip
, .tar.gz
), as opposed to a directory.May also be set with the UV_REQUIRE_HASHES
environment variable.
--requirements
, --requirement
, -r
requirementsInstall all packages listed in the given requirements.txt
or pylock.toml
files.
If a pyproject.toml
, setup.py
, or setup.cfg
file is provided, uv will extract the requirements for the relevant project.
When --require-hashes
is enabled, all requirements must include a hash or set of hashes, and all requirements must either be pinned to exact versions (e.g., ==1.0.0
), or be specified via direct URL.
Hash-checking mode introduces a number of additional constraints:
.whl
) or source archive (.zip
, .tar.gz
), as opposed to a directory..whl
) or source archive (.zip
, .tar.gz
), as opposed to a directory.May also be set with the UV_REQUIRE_HASHES
environment variable.
--resolution
resolutionThe strategy to use when selecting between the different compatible versions for a given package requirement.
By default, uv will use the latest compatible version of each package (highest
).