From fceb45c3edad847a1c2bfcd0dc8087d698d944ef Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 31 Jul 2025 17:32:10 -0400 Subject: [PATCH] Prefix cache buckets --- crates/uv-cache/src/lib.rs | 22 +++++++++++----------- crates/uv-cli/src/lib.rs | 4 ++-- crates/uv-cli/src/version.rs | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/crates/uv-cache/src/lib.rs b/crates/uv-cache/src/lib.rs index afb51f677..e0fdb40f0 100644 --- a/crates/uv-cache/src/lib.rs +++ b/crates/uv-cache/src/lib.rs @@ -1102,23 +1102,23 @@ impl CacheBucket { match self { // Note that when bumping this, you'll also need to bump it // in `crates/uv/tests/it/cache_prune.rs`. - Self::SourceDistributions => "sdists-v9", - Self::FlatIndex => "flat-index-v2", - Self::Git => "git-v0", - Self::Interpreter => "interpreter-v4", + Self::SourceDistributions => "wheelnext-sdists-v9", + Self::FlatIndex => "wheelnext-flat-index-v2", + Self::Git => "wheelnext-git-v0", + Self::Interpreter => "wheelnext-interpreter-v4", // Note that when bumping this, you'll also need to bump it // in `crates/uv/tests/it/cache_clean.rs`. - Self::Simple => "simple-v18", + Self::Simple => "wheelnext-simple-v18", // Note that when bumping this, you'll also need to bump it // in `crates/uv/tests/it/cache_prune.rs`. - Self::Wheels => "wheels-v5", + Self::Wheels => "wheelnext-wheels-v5", // Note that when bumping this, you'll also need to bump // `ARCHIVE_VERSION` in `crates/uv-cache/src/lib.rs`. - Self::Archive => "archive-v0", - Self::Builds => "builds-v0", - Self::Environments => "environments-v2", - Self::Python => "python-v0", - Self::Binaries => "binaries-v0", + Self::Archive => "wheelnext-archive-v0", + Self::Builds => "wheelnext-builds-v0", + Self::Environments => "wheelnext-environments-v2", + Self::Python => "wheelnext-python-v0", + Self::Binaries => "wheelnext-binaries-v0", } } diff --git a/crates/uv-cli/src/lib.rs b/crates/uv-cli/src/lib.rs index 34797ae14..f5785535d 100644 --- a/crates/uv-cli/src/lib.rs +++ b/crates/uv-cli/src/lib.rs @@ -96,8 +96,8 @@ const STYLES: Styles = Styles::styled() .placeholder(AnsiColor::Cyan.on_default()); #[derive(Parser)] -#[command(name = "uv", author, long_version = crate::version::uv_self_version())] -#[command(about = "An extremely fast Python package manager.")] +#[command(name = "uv-wheelnext", author, long_version = crate::version::uv_self_version())] +#[command(about = "A variant-enabled build of uv, an extremely fast Python package manager.")] #[command( after_help = "Use `uv help` for more details.", after_long_help = "", diff --git a/crates/uv-cli/src/version.rs b/crates/uv-cli/src/version.rs index 8ec96e4df..b05e12f1f 100644 --- a/crates/uv-cli/src/version.rs +++ b/crates/uv-cli/src/version.rs @@ -94,7 +94,7 @@ pub fn uv_self_version() -> VersionInfo { }); VersionInfo { - package_name: Some("uv".to_owned()), + package_name: Some("uv-wheelnext".to_owned()), version, commit_info, }