uv/crates/uv-resolver
Charlie Marsh 1d21e65fbc
Skip prefetching when --no-deps is specified (#2373)
## Summary

When running under `--no-deps`, we don't need to pre-fetch, because
pre-fetching fetches the _distribution_ metadata. But with `--no-deps`,
we only need the package metadata for the top-level requirements. We
never need distribution metadata.

Incidentally, this will fix https://github.com/astral-sh/uv/issues/2300.

## Test Plan

- `cargo test`
- `./target/debug/uv pip install --verbose --no-cache-dir --no-deps
--reinstall ddtrace==2.6.2 debugpy==1.8.1 ecdsa==0.18.0
editorconfig==0.12.4 --verbose` in a Python 3.10 Docker contain
repeatedly.
2024-03-12 03:44:02 +00:00
..
src Skip prefetching when --no-deps is specified (#2373) 2024-03-12 03:44:02 +00:00
tests Add support for --no-build-isolation (#2258) 2024-03-07 14:04:02 +00:00
Cargo.toml Bump insta from 1.35.1 to 1.36.1 (#2180) 2024-03-04 23:01:49 +00:00