From 73b30ba8ed681a3c8e66746534f9c678851cbd68 Mon Sep 17 00:00:00 2001 From: konsti Date: Sun, 10 Mar 2024 14:35:16 +0100 Subject: [PATCH] Fix failing install_extra_index_url_has_priority test (#2335) `install_extra_index_url_has_priority` started failing because `packaging` had a new release. I'm not sure if this preserves the index order check as intended, but it does unblock CI. --- crates/uv/tests/pip_install.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/uv/tests/pip_install.rs b/crates/uv/tests/pip_install.rs index d58a89aca..e57d53865 100644 --- a/crates/uv/tests/pip_install.rs +++ b/crates/uv/tests/pip_install.rs @@ -855,7 +855,9 @@ fn install_extra_index_url_has_priority() { // find it, but then not find a compatible version. After // the fix, `uv` will check pypi.org first since it is given // priority via --extra-index-url. - .arg("black==24.2.0"), @r###" + .arg("black==24.2.0") + .arg("--exclude-newer") + .arg("2024-03-09"), @r###" success: true exit_code: 0 ----- stdout -----