I would like to support editable installs of a package and one of its dependencies, if the dependencies are already checked out locally.
This is what I tried:
[project]
name = "Test"
version = "0.1"
dependencies = [
"humanize @ git+https://github.com/python-humanize/humanize.git/",
]
[tool.uv.sources]
humanize = { path = "../humanize", editable = true }
Unfortunately, uv pip install . gives me
× Failed to build `test @ file:///C:/Git/bug`
├─▶ Failed to parse entry: `humanize`
╰─▶ Can't combine URLs from both `project.dependencies` and `tool.uv.sources`
I read some documentation, but I must admit I was unable to figure out if the above should be supported or not.
uv 0.5.6 (b70c4f30e 2024-12-03)