uv/docs/reference
John Mumm 5b2c3595a7
Require disambiguated relative paths for --index (#14152)
We do not currently support passing index names to `--index` for
installing packages. However, we do accept relative paths that can look
like index names. This PR adds the requirement that `--index` values
must be disambiguated with a prefix (`./` or `../` on Unix and Windows
or `.\\` or `..\\` on Windows). For now, if an ambiguous value is
provided, uv will warn that this will not be supported in the future.

Currently, if you provide an index name like `--index test` when there
is no `test` directory, uv will error with a `Directory not found...`
error. That's not very informative if you thought index names were
supported. The new warning makes the context clearer.

Closes #13921
2025-06-25 10:02:06 +02:00
..
policies Add 3.14 to the supported platform reference (#13990) 2025-06-12 15:18:48 +00:00
troubleshooting Fix and improve docs (#13620) 2025-06-10 13:15:38 -05:00
benchmarks.md Add link to benchmarks in documentation (#6257) 2024-08-20 12:54:46 -04:00
cli.md Require disambiguated relative paths for --index (#14152) 2025-06-25 10:02:06 +02:00
environment.md add UV_NO_GITHUB_FAST_PATH 2025-06-09 23:50:36 +00:00
index.md Add policies reference section and license document (#9367) 2024-12-03 10:56:32 -06:00
installer.md Fix and improve docs (#13620) 2025-06-10 13:15:38 -05:00
resolver-internals.md Update resolver internals docs (#11098) 2025-02-04 13:06:27 +00:00
settings.md Add [tool.uv.dependency-groups].mygroup.requires-python (#13735) 2025-06-13 22:04:13 +00:00