uv/scripts/editable-installs
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
..
black_editable Add support for extras in editable requirements (#1531) 2024-02-16 18:48:35 -05:00
hatchling_editable Use local package instead of `transitive_url_dependency.zip` (#2396) 2024-03-12 22:56:00 +00:00
maturin_editable Add Poetry support to `bench.py` (#803) 2024-01-06 02:52:55 +00:00
poetry_editable Remove NumPy from editable test (#2473) 2024-03-15 14:41:52 +00:00
root_editable Add support for Hatch's `{root:uri}` paths in editable installs (#2492) 2024-03-16 19:06:42 +00:00
setuptools_editable Add support for `config_settings` in PEP 517 hooks (#1833) 2024-02-23 00:53:45 +00:00
requirements.in Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00
requirements.txt Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +00:00