uv/crates/uv-resolver/src
Charlie Marsh d8323551f8
Update hashes without `--upgrade` if not present (#2966)
## Summary

If the user runs with `--generate-hashes`, and the lockfile doesn't
contain _any_ hashes for a package (despite being pinned), we should add
new hashes. This mirrors running `uv pip compile --generate-hashes` for
the first time with an existing lockfile.

Closes #2962.
2024-04-10 14:56:34 +00:00
..
pubgrub Enforce and backtrack on invalid versions in source metadata (#2954) 2024-04-10 05:13:33 +00:00
resolver Enforce and backtrack on invalid versions in source metadata (#2954) 2024-04-10 05:13:33 +00:00
bare.rs Add support for parsing unnamed URL requirements (#2567) 2024-03-21 03:28:58 +00:00
candidate_selector.rs Refactor candidate selector for batch prefetching (#2832) 2024-04-05 16:51:01 +02:00
dependency_mode.rs Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00
dependency_provider.rs Update pubgrub to use a dependency provider (#2648) 2024-03-25 15:51:31 +01:00
editables.rs Add support for Metadata 2.2 (#2293) 2024-03-08 16:02:32 +00:00
error.rs Surface invalid metadata as hints in error reports (#2850) 2024-04-09 23:12:10 -04:00
exclusions.rs Split configuration options out of `uv-types` (#2924) 2024-04-09 11:35:53 -05:00
lib.rs Backtrack on distributions with invalid metadata (#2834) 2024-04-05 18:00:48 -04:00
manifest.rs Split configuration options out of `uv-types` (#2924) 2024-04-09 11:35:53 -05:00
options.rs Rename to `uv` (#1302) 2024-02-15 11:19:46 -06:00
pins.rs Consider installed packages during resolution (#2596) 2024-03-28 13:49:17 -05:00
preferences.rs Replace PyPI-internal Hashes representation with flat vector (#2925) 2024-04-09 16:56:16 +00:00
prerelease_mode.rs Add convenience methods to `Manifest` to iterate over requirements (#2701) 2024-03-28 01:03:44 +00:00
python_requirement.rs Trim injected `python_version` marker to (major, minor) (#2395) 2024-03-13 00:11:50 +00:00
redirect.rs Remove redirects from the resolver (#2792) 2024-04-03 02:43:57 +00:00
resolution.rs Update hashes without `--upgrade` if not present (#2966) 2024-04-10 14:56:34 +00:00
resolution_mode.rs Add convenience methods to `Manifest` to iterate over requirements (#2701) 2024-03-28 01:03:44 +00:00
version_map.rs Replace PyPI-internal Hashes representation with flat vector (#2925) 2024-04-09 16:56:16 +00:00
yanks.rs Use distinct `Constraints` and `Overrides` types more widely (#2741) 2024-03-31 13:46:37 -04:00