From 83271f01852735ea39ac6b5f4d133f792abfca93 Mon Sep 17 00:00:00 2001 From: konsti Date: Fri, 14 Mar 2025 19:29:44 +0100 Subject: [PATCH] Fix double space typo (#12171) --- crates/uv-resolver/src/lock/mod.rs | 2 +- crates/uv/tests/it/sync.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/uv-resolver/src/lock/mod.rs b/crates/uv-resolver/src/lock/mod.rs index c5733cee6..d66920fef 100644 --- a/crates/uv-resolver/src/lock/mod.rs +++ b/crates/uv-resolver/src/lock/mod.rs @@ -4754,7 +4754,7 @@ impl std::fmt::Display for LockErrorHint { if let Some(version) = version { write!( f, - "{}{} You're using {}, but `{}` ({}) only has wheels with the following Python ABI tag{s}: {}", + "{}{} You're using {}, but `{}` ({}) only has wheels with the following Python ABI tag{s}: {}", "hint".bold().cyan(), ":".bold(), best, diff --git a/crates/uv/tests/it/sync.rs b/crates/uv/tests/it/sync.rs index e07e4379b..d94e9d2b5 100644 --- a/crates/uv/tests/it/sync.rs +++ b/crates/uv/tests/it/sync.rs @@ -4669,7 +4669,7 @@ fn sync_wheel_url_source_error() -> Result<()> { Resolved 3 packages in [TIME] error: Distribution `cffi==1.17.1 @ direct+https://files.pythonhosted.org/packages/08/fd/cc2fedbd887223f9f5d170c96e57cbf655df9831a6546c1727ae13fa977a/cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl` can't be installed because the binary distribution is incompatible with the current platform - hint: You're using CPython 3.12 (`cp312`), but `cffi` (v1.17.1) only has wheels with the following Python ABI tag: `cp310` + hint: You're using CPython 3.12 (`cp312`), but `cffi` (v1.17.1) only has wheels with the following Python ABI tag: `cp310` "###); Ok(()) @@ -4720,7 +4720,7 @@ fn sync_wheel_path_source_error() -> Result<()> { Resolved 3 packages in [TIME] error: Distribution `cffi==1.17.1 @ path+cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl` can't be installed because the binary distribution is incompatible with the current platform - hint: You're using CPython 3.12 (`cp312`), but `cffi` (v1.17.1) only has wheels with the following Python ABI tag: `cp310` + hint: You're using CPython 3.12 (`cp312`), but `cffi` (v1.17.1) only has wheels with the following Python ABI tag: `cp310` "###); Ok(())