uv/scripts
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
..
bench fix: remove uv version from uv pip compile header (#1716) 2024-02-19 20:26:53 +00:00
benchmarks Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
bootstrap Add musl to python bootstrapping script (#1758) 2024-02-22 10:46:48 +01:00
editable-installs Add support for Hatch's {root:uri} paths in editable installs (#2492) 2024-03-16 19:06:42 +00:00
popular_packages Finish install-many with pypi 10k most dependents (#732) 2023-12-27 09:42:51 -05:00
release Update the lockfile in release/bump.sh (#1924) 2024-02-23 13:45:46 -06:00
requirements Replace boto3.in with slow scenario (#2451) 2024-03-14 09:58:01 +00:00
scenarios Add support for PyTorch-style local version semantics (#2430) 2024-03-16 10:24:50 -04:00
wheels Win Trampoline: Use Python executable path encoded in binary (#1803) 2024-02-22 16:10:02 +01:00
check_system_python.py Add system install test for alpine (#2371) 2024-03-12 14:26:05 +00:00