Skip to content

Commit 2b0f8ff

Browse files
Remove remaining references to deprecated first-match (#10038)
## Summary Missed these in #10036.
1 parent 4513ce0 commit 2b0f8ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/configuration/indexes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ index.
112112
## Searching across multiple indexes
113113

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

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

128-
- `first-match` (default): Search for each package across all indexes, limiting the candidate
128+
- `first-index` (default): Search for each package across all indexes, limiting the candidate
129129
versions to those present in the first index that contains the package.
130130
- `unsafe-first-match`: Search for each package across all indexes, but prefer the first index with
131131
a compatible version, even if newer versions are available on other indexes.

docs/pip/compatibility.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ As of v0.1.39, users can opt in to `pip`-style behavior for multiple indexes via
108108
`--index-strategy` command-line option, or the `UV_INDEX_STRATEGY` environment variable, which
109109
supports the following values:
110110

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

0 commit comments

Comments
 (0)