Hi,
Maybe I am doing things wrong, but is there a way to use the new index feature without it sending credentials to uv lock?
E.g.: With something like this
[[tool.uv.index]]
name = "ixname"
url = "https://user:password@mynexusrepo.example.com/repository/hosted/simple/"
[tool.uv.sources]
mypackage = { index = "ixname" }
I will get the user and password on the index name on uv.toml
{ name = "mypackage", specifier = "==5.4.1", index = "https://user:password@mynexusrepo.example.com/repository/hosted/simple/" },
Notice this won't happen to the URL portion, which remains the same after using the new syntax
{ url = "https://mynexusrepo.example.com/repository/hosted/packages/mypackage/5.4.1/...", hash = "sha256:..." }
Hi,
Maybe I am doing things wrong, but is there a way to use the new index feature without it sending credentials to uv lock?
E.g.: With something like this
I will get the user and password on the index name on uv.toml
Notice this won't happen to the URL portion, which remains the same after using the new syntax