From dd7d533411e43cf5b9e84f80024dc48abb7fc224 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 20 Feb 2024 09:49:16 -0500 Subject: [PATCH] Set index URLs for seeding venv (#1755) Just an oversight due to builder pattern. Closes https://github.com/astral-sh/uv/issues/1752. --- crates/uv/src/commands/venv.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/uv/src/commands/venv.rs b/crates/uv/src/commands/venv.rs index 490e98bdd..31b826f79 100644 --- a/crates/uv/src/commands/venv.rs +++ b/crates/uv/src/commands/venv.rs @@ -128,6 +128,7 @@ async fn venv_impl( // Instantiate a client. let client = RegistryClientBuilder::new(cache.clone()) + .index_urls(index_locations.index_urls()) .connectivity(connectivity) .build();