Summary
If I create a new project with uv init and add two index specifications with the same name to pyproject.toml, I can run uv add without encountering an error.
[[tool.uv.index]]
name = "alpha_b"
url = "<omitted>"
[[tool.uv.index]]
name = "alpha_b"
url = "<omitted>"
I would expect that this would result in at least a warning. For example, it could lead to surprising behavior when interacting with the in-progress [index proxy url work][https://github.com//pull/11782].
Platform
macOS 13.5
Version
0.5.21
Python version
No response