Skip to content

Commit

Permalink
fix: dont use index as a flat index (prefix-dev#2465)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdejager authored Nov 12, 2024
1 parent 9eb2ac2 commit fb620f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install_pypi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ pub async fn update_python_distributions(
// Resolve the flat indexes from `--find-links`.
let flat_index = {
let client = FlatIndexClient::new(&registry_client, &uv_context.cache);
let indexes = index_locations.indexes().map(|index| index.url());
let indexes = index_locations.flat_indexes().map(|index| index.url());
let entries = client.fetch(indexes).await.into_diagnostic()?;
FlatIndex::from_entries(
entries,
Expand Down

0 comments on commit fb620f2

Please sign in to comment.