From 7825a53d2156c3db6ea9c203a660a82889b34b8d Mon Sep 17 00:00:00 2001 From: konsti Date: Sun, 10 Mar 2024 20:03:07 +0100 Subject: [PATCH] install_extra_index_url_has_priority without exclude newer (#2340) Manual synthesis of #2337 and #2339, i think one accidentally reverted the other? No rush in merging, CI is green. --- crates/uv/tests/pip_install.rs | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs index 94da6c0fd..b636c5c48 100644 --- a/crates/uv/tests/pip_install.rs +++ b/crates/uv/tests/pip_install.rs @@ -822,6 +822,7 @@ fn install_extra_index_url_has_priority() { // the fix, `uv` will check pypi.org first since it is given // priority via --extra-index-url. .arg("black==24.2.0") + .arg("--no-deps") .arg("--exclude-newer") .arg("2024-03-09"), @r###" success: true @@ -829,15 +830,10 @@ fn install_extra_index_url_has_priority() { ----- stdout ----- ----- stderr ----- - Resolved 6 packages in [TIME] - Downloaded 6 packages in [TIME] - Installed 6 packages in [TIME] + Resolved 1 package in [TIME] + Downloaded 1 package in [TIME] + Installed 1 package in [TIME] + black==24.2.0 - + click==8.1.7 - + mypy-extensions==1.0.0 - + packaging==23.2 - + pathspec==0.12.1 - + platformdirs==4.2.0 "### );