Bump simple cache bucket to v16 (#13498)

We broke the rkyv deserialization in
e70cf25ea7 (diff-348b24d7a84672ab2873833988156191995ff467619a77f548adbd9808549999L30-R41)
by placing `.tar.bz2` in the position of `.tar.gz`. We need to
invalidate the cache bucket.

Fixes #13492
This commit is contained in:
konsti 2025-05-17 02:17:23 +02:00 committed by GitHub
parent 316439337f
commit b31d08c683
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -986,7 +986,7 @@ impl CacheBucket {
Self::Interpreter => "interpreter-v4", Self::Interpreter => "interpreter-v4",
// Note that when bumping this, you'll also need to bump it // Note that when bumping this, you'll also need to bump it
// in `crates/uv/tests/it/cache_clean.rs`. // in `crates/uv/tests/it/cache_clean.rs`.
Self::Simple => "simple-v15", Self::Simple => "simple-v16",
// Note that when bumping this, you'll also need to bump it // Note that when bumping this, you'll also need to bump it
// in `crates/uv/tests/it/cache_prune.rs`. // in `crates/uv/tests/it/cache_prune.rs`.
Self::Wheels => "wheels-v5", Self::Wheels => "wheels-v5",

View File

@ -51,7 +51,7 @@ fn clean_package_pypi() -> Result<()> {
// Assert that the `.rkyv` file is created for `iniconfig`. // Assert that the `.rkyv` file is created for `iniconfig`.
let rkyv = context let rkyv = context
.cache_dir .cache_dir
.child("simple-v15") .child("simple-v16")
.child("pypi") .child("pypi")
.child("iniconfig.rkyv"); .child("iniconfig.rkyv");
assert!( assert!(
@ -125,7 +125,7 @@ fn clean_package_index() -> Result<()> {
// Assert that the `.rkyv` file is created for `iniconfig`. // Assert that the `.rkyv` file is created for `iniconfig`.
let rkyv = context let rkyv = context
.cache_dir .cache_dir
.child("simple-v15") .child("simple-v16")
.child("index") .child("index")
.child("e8208120cae3ba69") .child("e8208120cae3ba69")
.child("iniconfig.rkyv"); .child("iniconfig.rkyv");