From 65be566846528c86f05133de99249e7e4bb41729 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Wed, 7 Aug 2024 14:39:55 -0400 Subject: [PATCH] uv/tests: update test that expects to find a resolution Fixes #4640 --- crates/uv/tests/pip_compile.rs | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs index 56dd8853b..fe59fb15c 100644 --- a/crates/uv/tests/pip_compile.rs +++ b/crates/uv/tests/pip_compile.rs @@ -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] "### );