uv/crates/uv-distribution/src
Charlie Marsh 0f8186d9ad
Add requires-python to uv init (#5322)
## Summary

Prefers, in order:

- The major-minor version of an interpreter discovered via `--python`.
- The `requires-python` from the workspace.
- The major-minor version of the default interpreter.

If the `--python` request is a version or a version range, we use that
without fetching an interpreter.

Closes https://github.com/astral-sh/uv/issues/5299.
2024-07-23 16:02:40 +00:00
..
index Key hash policy on version, rather than package (#5169) 2024-07-17 19:01:49 -04:00
metadata Add requires-python to uv init (#5322) 2024-07-23 16:02:40 +00:00
source Support workspace to workspace path dependencies (#4833) 2024-07-16 20:38:46 +00:00
archive.rs Store IDs rather than paths in the cache (#2985) 2024-04-10 21:07:51 -04:00
distribution_database.rs Cache downloaded wheel when range requests aren't supported (#5089) 2024-07-16 09:21:47 -04:00
download.rs Add hash-checking support to install and sync (#2945) 2024-04-10 19:09:03 +00:00
error.rs Show when we retried requests (#4725) 2024-07-02 19:04:11 +02:00
lib.rs Move workspace abstractions to uv-workspace crate (#5236) 2024-07-20 02:15:32 +00:00
locks.rs Remove unnecessary uses of DashMap and Arc (#3413) 2024-05-06 22:30:43 -04:00
reporter.rs Concurrent progress bars (#3252) 2024-05-27 01:21:07 +00:00