uv/crates/uv-build
Charlie Marsh db5898bd67
Add support for Hatch's {root:uri} paths in editable installs (#2492)
## Summary

If a package uses Hatch's `root.uri` feature, we currently error:

```toml
dependencies = [
  "black @ {root:uri}/../black_editable"
]
```

Even though we're using PEP 517 hooks to get the metadata, which
_should_ support this. The problem is that we load the full
`PyProjectToml`, which means we parse the requirements, which means we
reject what looks like a relative URL in dependencies.

Instead, we should only enforce a limited subset of `pyproject.toml`
(arguably none).

Closes https://github.com/astral-sh/uv/issues/2475.
2024-03-16 19:06:42 +00:00
..
src Add support for Hatch's {root:uri} paths in editable installs (#2492) 2024-03-16 19:06:42 +00:00
.gitignore Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
Cargo.toml Add support for Hatch's {root:uri} paths in editable installs (#2492) 2024-03-16 19:06:42 +00:00