Skip to content

Commit

Permalink
Remove remaining references to deprecated first-match (#10038)
Browse files Browse the repository at this point in the history
## Summary

Missed these in #10036.
  • Loading branch information
charliermarsh authored Dec 19, 2024
1 parent 4513ce0 commit 2b0f8ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/indexes.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ index.
## Searching across multiple indexes

By default, uv will stop at the first index on which a given package is available, and limit
resolutions to those present on that first index (`first-match`).
resolutions to those present on that first index (`first-index`).

For example, if an internal index is specified via `[[tool.uv.index]]`, uv's behavior is such that
if a package exists on that internal index, it will _always_ be installed from that internal index,
Expand All @@ -125,7 +125,7 @@ December 2022.
Users can opt in to alternate index behaviors via the`--index-strategy` command-line option, or the
`UV_INDEX_STRATEGY` environment variable, which supports the following values:

- `first-match` (default): Search for each package across all indexes, limiting the candidate
- `first-index` (default): Search for each package across all indexes, limiting the candidate
versions to those present in the first index that contains the package.
- `unsafe-first-match`: Search for each package across all indexes, but prefer the first index with
a compatible version, even if newer versions are available on other indexes.
Expand Down
2 changes: 1 addition & 1 deletion docs/pip/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ As of v0.1.39, users can opt in to `pip`-style behavior for multiple indexes via
`--index-strategy` command-line option, or the `UV_INDEX_STRATEGY` environment variable, which
supports the following values:

- `first-match` (default): Search for each package across all indexes, limiting the candidate
- `first-index` (default): Search for each package across all indexes, limiting the candidate
versions to those present in the first index that contains the package, prioritizing the
`--extra-index-url` indexes over the default index URL.
- `unsafe-first-match`: Search for each package across all indexes, but prefer the first index with
Expand Down

0 comments on commit 2b0f8ff

Please sign in to comment.