diff --git a/Cargo.lock b/Cargo.lock index 2e07d191f..63090f344 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -594,9 +594,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.35" +version = "4.5.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8aa86934b44c19c50f87cc2790e19f54f7a67aedb64101c2e1a2e5ecfb73944" +checksum = "ed93b9805f8ba930df42c2590f05453d5ec36cbb85d018868a5b24d31f6ac000" dependencies = [ "clap_builder", "clap_derive", @@ -604,9 +604,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.35" +version = "4.5.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2414dbb2dd0695280da6ea9261e327479e9d37b0630f6b53ba2a11c60c679fd9" +checksum = "379026ff283facf611b0ea629334361c4211d1b12ee01024eec1591133b04120" dependencies = [ "anstream", "anstyle", diff --git a/crates/uv/tests/it/help.rs b/crates/uv/tests/it/help.rs index 99dc0e457..83837b313 100644 --- a/crates/uv/tests/it/help.rs +++ b/crates/uv/tests/it/help.rs @@ -42,9 +42,10 @@ fn help() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet... @@ -120,9 +121,10 @@ fn help_flag() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet... @@ -197,9 +199,10 @@ fn help_short_flag() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet... @@ -312,7 +315,7 @@ fn help_subcommand() { [env: UV_CACHE_DIR=] Python options: - --managed-python + --managed-python Require use of uv-managed Python versions. By default, uv prefers using Python versions it manages. However, it will use system @@ -321,14 +324,14 @@ fn help_subcommand() { [env: UV_MANAGED_PYTHON=] - --no-managed-python + --no-managed-python Disable use of uv-managed Python versions. Instead, uv will search for a suitable Python version on the system. [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads + --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] Global options: @@ -569,7 +572,7 @@ fn help_subsubcommand() { [env: UV_CACHE_DIR=] Python options: - --managed-python + --managed-python Require use of uv-managed Python versions. By default, uv prefers using Python versions it manages. However, it will use system @@ -578,14 +581,14 @@ fn help_subsubcommand() { [env: UV_MANAGED_PYTHON=] - --no-managed-python + --no-managed-python Disable use of uv-managed Python versions. Instead, uv will search for a suitable Python version on the system. [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads + --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] Global options: @@ -726,9 +729,10 @@ fn help_flag_subcommand() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet... @@ -802,9 +806,10 @@ fn help_flag_subsubcommand() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet... @@ -955,9 +960,10 @@ fn help_with_global_option() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet... @@ -1075,9 +1081,10 @@ fn help_with_no_pager() { --cache-dir [CACHE_DIR] Path to the cache directory [env: UV_CACHE_DIR=] Python options: - --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] - --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] - --no-python-downloads Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"] + --managed-python Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=] + --no-managed-python Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=] + --no-python-downloads Disable automatic downloads of Python. [env: + "UV_PYTHON_DOWNLOADS=never"] Global options: -q, --quiet...