From 19c199cebd707c401bc48853188f4e3e354d011a Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Fri, 2 Aug 2024 13:36:20 -0400 Subject: [PATCH] uv/tests: update another test that now succeeds Fixes #4668 --- crates/uv/tests/pip_compile.rs | 39 ++++++---------------------------- 1 file changed, 7 insertions(+), 32 deletions(-) diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs index 00250ec34e20..4a694e477521 100644 --- a/crates/uv/tests/pip_compile.rs +++ b/crates/uv/tests/pip_compile.rs @@ -7804,42 +7804,17 @@ fn universal_requires_python_incomplete() -> Result<()> { .arg("-p") .arg("3.7") .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 -p 3.7 --universal + uv==0.1.24 ; python_version >= '3.8' + # via -r requirements.in ----- stderr ----- warning: The requested Python version 3.7 is not available; 3.12.[X] will be used to build dependencies instead. - × No solution found when resolving dependencies: - ╰─▶ Because only the following versions of uv{python_version >= '3.8'} are available: - uv{python_version >= '3.8'}==0.0.5 - uv{python_version >= '3.8'}==0.1.0 - uv{python_version >= '3.8'}==0.1.1 - uv{python_version >= '3.8'}==0.1.2 - uv{python_version >= '3.8'}==0.1.3 - uv{python_version >= '3.8'}==0.1.4 - uv{python_version >= '3.8'}==0.1.5 - uv{python_version >= '3.8'}==0.1.6 - uv{python_version >= '3.8'}==0.1.7 - uv{python_version >= '3.8'}==0.1.8 - uv{python_version >= '3.8'}==0.1.9 - uv{python_version >= '3.8'}==0.1.10 - uv{python_version >= '3.8'}==0.1.11 - uv{python_version >= '3.8'}==0.1.12 - uv{python_version >= '3.8'}==0.1.13 - uv{python_version >= '3.8'}==0.1.14 - uv{python_version >= '3.8'}==0.1.15 - uv{python_version >= '3.8'}==0.1.16 - uv{python_version >= '3.8'}==0.1.17 - uv{python_version >= '3.8'}==0.1.18 - uv{python_version >= '3.8'}==0.1.19 - uv{python_version >= '3.8'}==0.1.20 - uv{python_version >= '3.8'}==0.1.21 - uv{python_version >= '3.8'}==0.1.22 - uv{python_version >= '3.8'}==0.1.23 - uv{python_version >= '3.8'}==0.1.24 - and the requested Python version (>=3.7) does not satisfy Python>=3.8, we can conclude that all versions of uv{python_version >= '3.8'} are incompatible. - And because you require uv{python_version >= '3.8'}, we can conclude that the requirements are unsatisfiable. + Resolved 1 package in [TIME] "### );