mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
Modify cache versioning to support backwards compatibility (#8386)
## Summary Going forward, we're going to provide better versioning guarantees around using the same cache across multiple uv versions, so this PR updates the docs to reflect that. It also bumps the `sdists-` version to fix the inconvenience demonstrated in https://github.com/astral-sh/uv/issues/8367. Closes https://github.com/astral-sh/uv/issues/8367.
This commit is contained in:
parent
842ef12017
commit
e9f1161b95
3 changed files with 10 additions and 13 deletions
|
@ -764,7 +764,7 @@ pub enum CacheBucket {
|
|||
impl CacheBucket {
|
||||
fn to_str(self) -> &'static str {
|
||||
match self {
|
||||
Self::SourceDistributions => "sdists-v4",
|
||||
Self::SourceDistributions => "sdists-v5",
|
||||
Self::FlatIndex => "flat-index-v1",
|
||||
Self::Git => "git-v0",
|
||||
Self::Interpreter => "interpreter-v2",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue