Closed florianfischer91 closed 2 weeks ago
I think you would want:
[tool.uv.pip]
index-url = "https://randomstring/simple"
I have already tried that but i also results in an error:
error: Failed to parse `pyproject.toml`
Caused by: TOML parse error at line 2, column 13
|
2 | index-url = "https://randomstring/simple"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unknown variant `https://randomstring/simple`, expected one of `Pypi`, `Url`, `Path`
Oh sorry, thanks, I'll fix that.
(This isn't an officially supported feature yet, it's undocumented.)
Please continue to file bugs on it though, much appreciated!
First of all thanks for developing uv (and ruff). They are really amazing :-)
I was trying to set the
index-url
in apyproject.toml
, but im always getting the following error:Example to reproduce the bug, call
UV_CONFIG_FILE=pyproject.toml uv pip show ruff
wherepyproject.toml
containsuv version: 0.1.38
Am I doing something wrong or is this still not ready for use?