Skip to content

Commit f52814e

Browse files
authored
Fix no_binary_only_binary test (#8776)
1 parent 3dfedf1 commit f52814e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/uv/tests/it/pip_compile.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -11961,7 +11961,7 @@ fn file_url() -> Result<()> {
1196111961
fn no_binary_only_binary() -> Result<()> {
1196211962
let context = TestContext::new("3.12");
1196311963
let requirements_in = context.temp_dir.child("requirements.in");
11964-
requirements_in.write_str("source-distribution")?;
11964+
requirements_in.write_str("source-distribution<=0.0.1")?;
1196511965

1196611966
uv_snapshot!(context
1196711967
.pip_compile()
@@ -11975,8 +11975,8 @@ fn no_binary_only_binary() -> Result<()> {
1197511975
1197611976
----- stderr -----
1197711977
× No solution found when resolving dependencies:
11978-
╰─▶ 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.
11979-
And because you require source-distribution, we can conclude that your requirements are unsatisfiable.
11978+
╰─▶ 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.
11979+
And because you require source-distribution<=0.0.1, we can conclude that your requirements are unsatisfiable.
1198011980
"###
1198111981
);
1198211982

0 commit comments

Comments
 (0)