uv/crates/uv-workspace/src
Charlie Marsh 27ade0676f
Preserve index URL priority order when writing to pyproject.toml (#14831)
## Summary

A little nuanced, but... When you add multiple `--index` URLs on the CLI
(e.g., in `uv pip install`), we check the first-provided index, then the
second index, etc. However, when we _write_ those URLs to the
`pyproject.toml` in `uv add`, we were adding them in reverse-order. We
now add them in a way that preserves the priority order.

Closes https://github.com/astral-sh/uv/issues/14817.
2025-07-22 19:09:59 +00:00
..
dependency_groups.rs chore: remove redundant words in comment (#14532) 2025-07-10 08:25:38 -05:00
lib.rs Add `[tool.uv.dependency-groups].mygroup.requires-python` (#13735) 2025-06-13 22:04:13 +00:00
pyproject.rs Update `toml` to v0.9 (#14571) 2025-07-21 08:18:16 -05:00
pyproject_mut.rs Preserve index URL priority order when writing to pyproject.toml (#14831) 2025-07-22 19:09:59 +00:00
workspace.rs Build and install workspace members that are dependencies by default (#14663) 2025-07-17 17:20:21 -05:00