Skip to content

Commit

Permalink
Fix no_binary_only_binary test (#8776)
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin authored Nov 3, 2024
1 parent 3dfedf1 commit f52814e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/uv/tests/it/pip_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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.
"###
);

Expand Down

0 comments on commit f52814e

Please sign in to comment.