uv/scripts/editable-installs
Charlie Marsh e71e3e8dd1
Refresh `BuildDispatch` when running pip install with `--reinstall` (#933)
## Summary

This fixes an extremely subtle bug in `pip install --reinstall`, whereby
if you depend on `setuptools` at the top level, we end up uninstalling
it after resolving, which breaks some cached state. If we have
`--reinstall`, we need to reset that cached state between resolving and
installing.

## Test Plan

Running `pip install --reinstall` with:

```txt
setuptools
devpi @ e334eb4dc9bb023329e4b610e4515b/devpi-2.2.0.tar.gz
```

Fails on `main`, but passes.
2024-01-15 18:56:18 +00:00
..
black_editable Refresh `BuildDispatch` when running pip install with `--reinstall` (#933) 2024-01-15 18:56:18 +00:00
maturin_editable Add Poetry support to `bench.py` (#803) 2024-01-06 02:52:55 +00:00
poetry_editable Support editable in pip-sync and pip-compile (#587) 2023-12-16 22:37:34 +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