From 691a4f137920980ddaec0d64d5fc783cf1845a8b Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Sun, 1 Jun 2025 19:20:56 -0500 Subject: [PATCH] Propagate credentials to files on devpi indexes ending in `/+simple` (#13743) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes https://github.com/astral-sh/uv/issues/13737 Not much to say here — devpi is common enough that we should support their weird `/+simple` URL format. --- crates/uv-distribution-types/src/index_url.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/uv-distribution-types/src/index_url.rs b/crates/uv-distribution-types/src/index_url.rs index f569a6a80..9604fbd30 100644 --- a/crates/uv-distribution-types/src/index_url.rs +++ b/crates/uv-distribution-types/src/index_url.rs @@ -79,7 +79,8 @@ impl IndexUrl { segment => segment, }; - if !last.eq_ignore_ascii_case("simple") { + // We also handle `/+simple` as it's used in devpi + if !(last.eq_ignore_ascii_case("simple") || last.eq_ignore_ascii_case("+simple")) { return None; }