5b2c3595a7
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
58 lines
1.6 KiB
TOML
58 lines
1.6 KiB
TOML
[package]
|
|
name = "uv-distribution-types"
|
|
version = "0.0.1"
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
homepage = { workspace = true }
|
|
documentation = { workspace = true }
|
|
repository = { workspace = true }
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
uv-auth = { workspace = true, features = ["schemars"] }
|
|
uv-cache-info = { workspace = true }
|
|
uv-cache-key = { workspace = true }
|
|
uv-distribution-filename = { workspace = true }
|
|
uv-fs = { workspace = true }
|
|
uv-git-types = { workspace = true }
|
|
uv-normalize = { workspace = true }
|
|
uv-pep440 = { workspace = true }
|
|
uv-pep508 = { workspace = true }
|
|
uv-platform-tags = { workspace = true }
|
|
uv-pypi-types = { workspace = true }
|
|
uv-redacted = { workspace = true }
|
|
uv-small-str = { workspace = true }
|
|
uv-warnings = { workspace = true }
|
|
|
|
arcstr = { workspace = true }
|
|
bitflags = { workspace = true }
|
|
fs-err = { workspace = true }
|
|
http = { workspace = true }
|
|
itertools = { workspace = true }
|
|
jiff = { workspace = true }
|
|
owo-colors = { workspace = true }
|
|
percent-encoding = { workspace = true }
|
|
petgraph = { workspace = true }
|
|
rkyv = { workspace = true }
|
|
rustc-hash = { workspace = true }
|
|
schemars = { workspace = true, optional = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
url = { workspace = true }
|
|
version-ranges = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
toml = { workspace = true }
|
|
|
|
[features]
|
|
schemars = ["dep:schemars", "uv-redacted/schemars"]
|