uv/crates/uv-cli
Arthur Bied-Charreton 73fd0aedd1
Split UV_INDEX on all whitespace (#12820)
## Summary
Closes #12806

Split `UV_INDEX` by any whitespace rather than only ASCII 32, which does
not align with the behavior of `PIP_EXTRA_INDEX_URL` and can possibly
lead to difficulties when migrating from pip to uv.

Clap unfortunately does not support passing multiple delimiters, writing
a custom parsing function involved parsing index into a Vec<Vec<Index>>
and flattening it afterwards in order to avoid breaking the --index
command line option.

There might be a prettier solution I overlooked, let me know if there is
anything I should change!
2025-04-10 16:22:17 -04:00
..
src Split UV_INDEX on all whitespace (#12820) 2025-04-10 16:22:17 -04:00
build.rs Fix commits_since_last_tag in version info (#9730) 2024-12-09 09:43:27 -06:00
Cargo.toml Automatically infer the PyTorch index via --torch-backend=auto (#12070) 2025-03-19 14:37:08 +00:00