uv
Support using `--index` to refer to index names
#17455
Open

Support using `--index` to refer to index names #17455

EliteTK wants to merge 55 commits into main from tk/index-by-name
EliteTK
EliteTK EliteTK force pushed from 13f85cab to edc3c0ec 114 days ago
EliteTK EliteTK force pushed from 5b1f40e5 to 747f88f2 113 days ago
EliteTK EliteTK force pushed from 747f88f2 to 6355b204 113 days ago
EliteTK
EliteTK commented on 2026-01-15
EliteTK
EliteTK commented on 2026-01-15
EliteTK EliteTK force pushed from 6355b204 to 4c9003d9 109 days ago
EliteTK EliteTK force pushed from 4c9003d9 to a4070c95 109 days ago
EliteTK EliteTK marked this pull request as ready for review 109 days ago
EliteTK EliteTK requested a review from konstin konstin 109 days ago
EliteTK EliteTK force pushed from a4070c95 to d5df9b10 109 days ago
konstin
konstin approved these changes on 2026-01-20
konstin konstin requested a review from zanieb zanieb 108 days ago
zanieb zanieb added breaking
zanieb zanieb added this to the v0.10.0 milestone 107 days ago
zanieb
zanieb
zanieb
EliteTK
zanieb
zanieb
zanieb
zanieb commented on 2026-01-21
zanieb
zanieb commented on 2026-01-21
EliteTK
zanieb
zanieb commented on 2026-01-21
zanieb
zanieb commented on 2026-01-21
zanieb
zanieb commented on 2026-01-21
zanieb
zanieb commented on 2026-01-21
zanieb
zanieb commented on 2026-01-21
zanieb
zanieb commented on 2026-01-21
zanieb
EliteTK EliteTK force pushed from d5df9b10 to 7c062e10 98 days ago
EliteTK EliteTK marked this pull request as draft 98 days ago
EliteTK EliteTK force pushed from 7c062e10 to 56472a1e 94 days ago
EliteTK EliteTK force pushed from 56472a1e to 492db424 92 days ago
EliteTK EliteTK force pushed from 06d4b10b to ce7e7631 92 days ago
EliteTK EliteTK marked this pull request as ready for review 91 days ago
EliteTK EliteTK force pushed from d4c7d26f to 924c5791 77 days ago
EliteTK EliteTK force pushed from 924c5791 to 2e6e2cd0 77 days ago
EliteTK
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
zanieb
zanieb commented on 2026-02-23
konstin
konstin commented on 2026-02-24
zanieb
zanieb commented on 2026-02-24
EliteTK EliteTK force pushed from 2e6e2cd0 to 032164a7 65 days ago
EliteTK EliteTK force pushed from 032164a7 to cab753ce 65 days ago
EliteTK EliteTK force pushed from 51683051 to 6939e8ca 65 days ago
EliteTK EliteTK force pushed from fe43f829 to a008ecda 64 days ago
EliteTK EliteTK removed breaking
EliteTK EliteTK added enhancement
EliteTK EliteTK added preview
EliteTK EliteTK removed this from to the v0.10.0 milestone 59 days ago
EliteTK
EliteTK EliteTK force pushed from a008ecda to 53db5fd6 59 days ago
EliteTK EliteTK force pushed from 53db5fd6 to 2e7e602f 59 days ago
EliteTK EliteTK force pushed from 2e7e602f to 1b18f238 49 days ago
EliteTK EliteTK requested a review from zanieb zanieb 49 days ago
EliteTK EliteTK force pushed from 1b1bbe0e to 9df72107 42 days ago
EliteTK EliteTK force pushed from 9df72107 to d489e9cc 42 days ago
zanieb
zanieb commented on 2026-04-07
zanieb
zanieb commented on 2026-04-09
zanieb
zanieb commented on 2026-04-09
zanieb
zanieb commented on 2026-04-09
zanieb
zanieb commented on 2026-04-09
zanieb
zanieb commented on 2026-04-09
EliteTK Replace `impl FromStr for Index` with `Index::from_cli`
6a81441a
EliteTK Use Index::with_origin where possible
b5329100
zanieb Add an `IndexArg` type to allow unresolved index arguments
c458f815
EliteTK impl FromStr for IndexArg
8abd7f90
EliteTK Basic `--index` by name support
39b5dacf
EliteTK Just exit during index resolution to avoid the Result mess
5684f425
EliteTK Basic test case
a4db77a0
EliteTK More tests
576f4434
EliteTK Document new `--index <name>` behaviour
bee9ae8e
EliteTK Remove support for `--default-index <name>`
01f86e71
EliteTK Remove serialisation and schema support from IndexArg
6dd54632
EliteTK Implement IndexArgStrategy to configure between directory-first and i…
e132c742
EliteTK Preview feature alternative resolution
258c9f87
EliteTK Some additional comments
8b82987d
EliteTK Fix origin tracking on indexes from `pyproject.toml`
a5c6698c
EliteTK Only add necessary indexes into pyproject.toml
2f66a3cd
EliteTK prioritize package indexes when a package is specified
c0eea03e
EliteTK Add some useful debugging information for index resolution
64ed335b
EliteTK Add workspace test
8e07dcf2
EliteTK Test name changes
5d290cdb
EliteTK Tests for sync, run, and lock
32f9d38c
EliteTK Adjust CLI documentation
cf290df8
EliteTK More sophisticated precedence testing
655ecb57
EliteTK Use warn_user_once for index ambiguity warning
1feb1e81
EliteTK More tests
18ab309c
EliteTK Explicit index warning
0e8ef501
EliteTK Add some missing doc comments
692a598e
EliteTK Write the error chain for index name resolution errors
d67222d4
EliteTK Clean up name/directory warning
b2c7eb91
EliteTK Mention `--preview-features index-assume-name` in warning
5bd9df45
EliteTK Address review comments and fix explicit index handling
e0581b75
EliteTK Clean up comment punctuation
5619e5fc
EliteTK flatten IndexArg::try_resolve
0222694b
EliteTK s/Resolve/ResolveOptions/g
d1aa8c38
EliteTK Make extracting the `--package` less error prone
7d3470c2
EliteTK Fix up ambiguous path warnings
86d21ec4
EliteTK Improve non-edit tests
76a9bdf5
EliteTK Documentation revisions
feadfc19
EliteTK Don't use the fly.dev proxy
cb397c7b
EliteTK Additional test comments
8da6fbd8
EliteTK Add more comments for the weird error handling
b6181824
EliteTK Address some review comments
6f81f484
EliteTK Switch tool tests to use `executable-application`
9410a32b
EliteTK Fix `add_index_by_name_directory_ambiguity` on windows
f3f429b7
EliteTK Mention `index-assume-name` in CLI docs
7c5bb4b5
zanieb Review
8b3b11cb
zanieb Add tests for bug cases
440e6641
zanieb Reject `uv add` when the index would need to be copied from `uv.toml`…
f910b76a
zanieb Prettier
c8650ce7
zanieb Toggle the `default` flag when selected by `--index <name>`
9782ba82
zanieb Fix relative index handling in workspaces
a06c019c
zanieb Add another failing test case
5aa5d83f
zanieb Support `--index` in workspace members
4f43140a
zanieb Review
d9c369ea
zanieb Track project origin files
74a77198
EliteTK EliteTK force pushed from 9b2d0d64 to 74a77198 21 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone