Skip to content

Commit

Permalink
uv/tests: update test that expects to find a resolution
Browse files Browse the repository at this point in the history
Fixes #4640
  • Loading branch information
BurntSushi committed Aug 13, 2024
1 parent c48257b commit 309e10f
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions crates/uv/tests/pip_compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6811,13 +6811,18 @@ fn universal_multi_version() -> Result<()> {
.arg("-c")
.arg("constraints.txt")
.arg("--universal"), @r###"
success: false
exit_code: 1
success: true
exit_code: 0
----- stdout -----
# This file was autogenerated by uv via the following command:
# uv pip compile --cache-dir [CACHE_DIR] requirements.in -c constraints.txt --universal
iniconfig==1.0.0 ; python_version == '3.12'
# via -r requirements.in
iniconfig==2.0.0 ; python_version > '3.12'
# via -r requirements.in
----- stderr -----
× No solution found when resolving dependencies:
╰─▶ Because you require iniconfig{python_version > '3.12'}==2.0.0 and iniconfig{python_version == '3.12'}==1.0.0, we can conclude that the requirements are unsatisfiable.
Resolved 2 packages in [TIME]
"###
);

Expand Down

0 comments on commit 309e10f

Please sign in to comment.