Skip to content

Commit e96eb94

Browse files
authored
Fix typo aaarch64->aarch64 (#7141)
copy pasted `--python-platform aaarch64-unknown-linux-gnu` [from the docs](https://docs.astral.sh/uv/reference/cli/#uv-pip-compile) and got > error: invalid value 'aaarch64-unknown-linux-gnu' for '--python-platform <PYTHON_PLATFORM>' > [possible values: windows, linux, macos, x86_64-pc-windows-msvc, i686-pc-windows-msvc, x86_64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-apple-darwin, aarch64-unknown-linux-gnu, aarch64-unknown-linux-musl, x86_64-unknown-linux-musl, x86_64-manylinux_2_17, x86_64-manylinux_2_28, x86_64-manylinux_2_31, aarch64-manylinux_2_17, aarch64-manylinux_2_28, aarch64-manylinux_2_31] > > tip: a similar value exists: 'aarch64-unknown-linux-gnu'
1 parent 8eff8aa commit e96eb94

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1417,7 +1417,7 @@ and `uv tool run` ([#4404](https://github.com/astral-sh/uv/pull/4404))
14171417

14181418
- Add `--workspace` option to `uv add` ([#4362](https://github.com/astral-sh/uv/pull/4362))
14191419
- Ignore query errors during `uv toolchain list` ([#4382](https://github.com/astral-sh/uv/pull/4382))
1420-
- Respect `.python-version` files and fetch manged toolchains in uv project
1420+
- Respect `.python-version` files and fetch managed toolchains in uv project
14211421
commands ([#4361](https://github.com/astral-sh/uv/pull/4361))
14221422
- Respect `.python-version` in `uv venv --preview` ([#4360](https://github.com/astral-sh/uv/pull/4360))
14231423

crates/uv-cli/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ pub struct PipCompileArgs {
995995
///
996996
/// Represented as a "target triple", a string that describes the target platform in terms of
997997
/// its CPU, vendor, and operating system name, like `x86_64-unknown-linux-gnu` or
998-
/// `aaarch64-apple-darwin`.
998+
/// `aarch64-apple-darwin`.
999999
#[arg(long)]
10001000
pub python_platform: Option<TargetTriple>,
10011001

@@ -1278,7 +1278,7 @@ pub struct PipSyncArgs {
12781278
///
12791279
/// Represented as a "target triple", a string that describes the target platform in terms of
12801280
/// its CPU, vendor, and operating system name, like `x86_64-unknown-linux-gnu` or
1281-
/// `aaarch64-apple-darwin`.
1281+
/// `aarch64-apple-darwin`.
12821282
///
12831283
/// WARNING: When specified, uv will select wheels that are compatible with the _target_
12841284
/// platform; as a result, the installed distributions may not be compatible with the _current_
@@ -1553,7 +1553,7 @@ pub struct PipInstallArgs {
15531553
///
15541554
/// Represented as a "target triple", a string that describes the target platform in terms of
15551555
/// its CPU, vendor, and operating system name, like `x86_64-unknown-linux-gnu` or
1556-
/// `aaarch64-apple-darwin`.
1556+
/// `aarch64-apple-darwin`.
15571557
///
15581558
/// WARNING: When specified, uv will select wheels that are compatible with the _target_
15591559
/// platform; as a result, the installed distributions may not be compatible with the _current_
@@ -2899,7 +2899,7 @@ pub struct TreeArgs {
28992899
///
29002900
/// Represented as a "target triple", a string that describes the target
29012901
/// platform in terms of its CPU, vendor, and operating system name, like
2902-
/// `x86_64-unknown-linux-gnu` or `aaarch64-apple-darwin`.
2902+
/// `x86_64-unknown-linux-gnu` or `aarch64-apple-darwin`.
29032903
#[arg(long, conflicts_with = "universal")]
29042904
pub python_platform: Option<TargetTriple>,
29052905

crates/uv-settings/src/settings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ pub struct PipOptions {
10121012
///
10131013
/// Represented as a "target triple", a string that describes the target platform in terms of
10141014
/// its CPU, vendor, and operating system name, like `x86_64-unknown-linux-gnu` or
1015-
/// `aaarch64-apple-darwin`.
1015+
/// `aarch64-apple-darwin`.
10161016
#[option(
10171017
default = "None",
10181018
value_type = "str",

crates/uv/tests/pip_compile.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8247,7 +8247,7 @@ fn universal_unnecessary_python() -> Result<()> {
82478247
/// on the marker environment. This is usually fine, except in this case,
82488248
/// `torchvision` has an unconditional dependency on `torch`, and this resulted
82498249
/// in the markers being dropped. As a result, we'd previously write a
8250-
/// `requirements.txt` file that unconditionally dependended on two different
8250+
/// `requirements.txt` file that unconditionally depended on two different
82518251
/// versions of `torch`.
82528252
///
82538253
/// See: <https://github.com/astral-sh/uv/issues/5086>

crates/uv/tests/sync.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ fn sync_build_isolation_extra() -> Result<()> {
744744
/// Avoid using incompatible versions for build dependencies that are also part of the resolved
745745
/// environment. This is a very subtle issue, but: when locking, we don't enforce platform
746746
/// compatibility. So, if we reuse the resolver state to install, and the install itself has to
747-
/// preform a resolution (e.g., for the build dependencies of a source distribution), that
747+
/// perform a resolution (e.g., for the build dependencies of a source distribution), that
748748
/// resolution may choose incompatible versions.
749749
///
750750
/// The key property here is that there's a shared package between the build dependencies and the

docs/reference/cli.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,7 +2182,7 @@ uv tree [OPTIONS]
21822182

21832183
<p>For example, pass <code>--platform windows</code> to display the dependencies that would be included when installing on Windows.</p>
21842184

2185-
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aaarch64-apple-darwin</code>.</p>
2185+
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aarch64-apple-darwin</code>.</p>
21862186

21872187
<p>Possible values:</p>
21882188

@@ -4469,7 +4469,7 @@ uv pip compile [OPTIONS] <SRC_FILE>...
44694469

44704470
</dd><dt><code>--python-platform</code> <i>python-platform</i></dt><dd><p>The platform for which requirements should be resolved.</p>
44714471

4472-
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aaarch64-apple-darwin</code>.</p>
4472+
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aarch64-apple-darwin</code>.</p>
44734473

44744474
<p>Possible values:</p>
44754475

@@ -4791,7 +4791,7 @@ uv pip sync [OPTIONS] <SRC_FILE>...
47914791
<p>May also be set with the <code>UV_PYTHON</code> environment variable.</p>
47924792
</dd><dt><code>--python-platform</code> <i>python-platform</i></dt><dd><p>The platform for which requirements should be installed.</p>
47934793

4794-
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aaarch64-apple-darwin</code>.</p>
4794+
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aarch64-apple-darwin</code>.</p>
47954795

47964796
<p>WARNING: When specified, uv will select wheels that are compatible with the <em>target</em> platform; as a result, the installed distributions may not be compatible with the <em>current</em> platform. Conversely, any distributions that are built from source may be incompatible with the <em>target</em> platform, as they will be built for the <em>current</em> platform. The <code>--python-platform</code> option is intended for advanced use cases.</p>
47974797

@@ -5153,7 +5153,7 @@ uv pip install [OPTIONS] <PACKAGE|--requirement <REQUIREMENT>|--editable <EDITAB
51535153
<p>May also be set with the <code>UV_PYTHON</code> environment variable.</p>
51545154
</dd><dt><code>--python-platform</code> <i>python-platform</i></dt><dd><p>The platform for which requirements should be installed.</p>
51555155

5156-
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aaarch64-apple-darwin</code>.</p>
5156+
<p>Represented as a &quot;target triple&quot;, a string that describes the target platform in terms of its CPU, vendor, and operating system name, like <code>x86_64-unknown-linux-gnu</code> or <code>aarch64-apple-darwin</code>.</p>
51575157

51585158
<p>WARNING: When specified, uv will select wheels that are compatible with the <em>target</em> platform; as a result, the installed distributions may not be compatible with the <em>current</em> platform. Conversely, any distributions that are built from source may be incompatible with the <em>target</em> platform, as they will be built for the <em>current</em> platform. The <code>--python-platform</code> option is intended for advanced use cases.</p>
51595159

docs/reference/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,7 +2361,7 @@ The platform for which requirements should be resolved.
23612361

23622362
Represented as a "target triple", a string that describes the target platform in terms of
23632363
its CPU, vendor, and operating system name, like `x86_64-unknown-linux-gnu` or
2364-
`aaarch64-apple-darwin`.
2364+
`aarch64-apple-darwin`.
23652365

23662366
**Default value**: `None`
23672367

uv.schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)