Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find-links TOML parse error: expected Path or Url #3617

Closed
masonkirchner opened this issue May 15, 2024 · 2 comments · Fixed by #3619
Closed

find-links TOML parse error: expected Path or Url #3617

masonkirchner opened this issue May 15, 2024 · 2 comments · Fixed by #3619
Assignees
Labels
bug Something isn't working

Comments

@masonkirchner
Copy link

Hey team, I have the following uv.toml file:

[pip]
find-links = ["file:///home/mkirchner/development/"]

When I try to run uv pip compile requirements.in I get the following error:

error: Failed to parse `uv.toml`
  Caused by: TOML parse error at line 2, column 15
  |
2 | find-links = ["file:///home/mkirchner/development/"]
  |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
unknown variant `file:///home/mkirchner/development/`, expected `Path` or `Url`

I'm not exactly sure if this is a bug in the parsing or user error on my end, but regardless I can't get it to work. I cannot find much documentation about the uv.toml file. Any ideas?

@charliermarsh charliermarsh self-assigned this May 15, 2024
@charliermarsh charliermarsh added the bug Something isn't working label May 15, 2024
@charliermarsh
Copy link
Member

I suspect it's just a bug. Will take a look!

@charliermarsh
Copy link
Member

Sorry about that, fixed here: #3619

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants