From f52814e7295ecad503e335d6542af418f6dd5708 Mon Sep 17 00:00:00 2001 From: konsti Date: Sun, 3 Nov 2024 16:52:14 +0100 Subject: [PATCH] Fix no_binary_only_binary test (#8776) --- crates/uv/tests/it/pip_compile.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/uv/tests/it/pip_compile.rs b/crates/uv/tests/it/pip_compile.rs index 6612a3b7e..07c957911 100644 --- a/crates/uv/tests/it/pip_compile.rs +++ b/crates/uv/tests/it/pip_compile.rs @@ -11961,7 +11961,7 @@ fn file_url() -> Result<()> { fn no_binary_only_binary() -> Result<()> { let context = TestContext::new("3.12"); let requirements_in = context.temp_dir.child("requirements.in"); - requirements_in.write_str("source-distribution")?; + requirements_in.write_str("source-distribution<=0.0.1")?; uv_snapshot!(context .pip_compile() @@ -11975,8 +11975,8 @@ fn no_binary_only_binary() -> Result<()> { ----- stderr ----- × No solution found when resolving dependencies: - ╰─▶ Because only source-distribution==0.0.1 is available and source-distribution==0.0.1 has no usable wheels and building from source is disabled, we can conclude that all versions of source-distribution cannot be used. - And because you require source-distribution, we can conclude that your requirements are unsatisfiable. + ╰─▶ Because only source-distribution>=0.0.1 is available and source-distribution==0.0.1 has no usable wheels and building from source is disabled, we can conclude that source-distribution<=0.0.1 cannot be used. + And because you require source-distribution<=0.0.1, we can conclude that your requirements are unsatisfiable. "### );