uv/crates/uv-client/src
Charlie Marsh dc957d7322
Respect --no-index with --find-links in pip sync (#2692)
## Summary

In `pip sync`, we weren't properly handling cases in which a package
_only_ existed in `--find-links` (e.g., the user passed `--offline` or
`--no-index`).

I plan to explore removing `Finder` entirely to avoid these mismatch
bugs between `pip sync` and other commands, but this is fine for now.

Closes https://github.com/astral-sh/uv/issues/2688.

## Test Plan

`cargo test`
2024-03-27 16:15:14 +00:00
..
httpcache Fallback to fresh request on non-validating 304 (#2218) 2024-03-06 22:51:03 +00:00
base_client.rs Respect HTTP client options when reading remote requirements files (#2434) 2024-03-21 13:48:57 -05:00
cached_client.rs Introduce a BaseClient for construction of canonical configured client (#2431) 2024-03-15 12:07:38 -05:00
error.rs Respect --no-index with --find-links in pip sync (#2692) 2024-03-27 16:15:14 +00:00
flat_index.rs Introduce a BaseClient for construction of canonical configured client (#2431) 2024-03-15 12:07:38 -05:00
html.rs Use Box<str> in Hashes to reduce size (#2536) 2024-03-19 02:51:46 +00:00
lib.rs Respect HTTP client options when reading remote requirements files (#2434) 2024-03-21 13:48:57 -05:00
linehaul.rs Use mac version from python for linehaul information (#2509) 2024-03-20 10:55:50 +01:00
middleware.rs Add support for retrieving credentials from keyring (#2254) 2024-03-13 15:02:18 -05:00
registry_client.rs Enable PEP 517 builds for unnamed requirements (#2600) 2024-03-21 22:46:39 -04:00
remote_metadata.rs Add Seek fallback for zip files (#2320) 2024-03-10 11:39:28 -04:00
rkyvutil.rs Clippy pedantic (#1963) 2024-02-25 14:04:05 -05:00
tls.rs Enable TLS native root toggling at runtime (#2362) 2024-03-12 04:05:49 +00:00