diff --git a/crates/uv-distribution/src/remote.rs b/crates/uv-distribution/src/remote.rs index e2d46cd54..5450a8d9a 100644 --- a/crates/uv-distribution/src/remote.rs +++ b/crates/uv-distribution/src/remote.rs @@ -44,7 +44,7 @@ impl<'a, T: BuildContext> RemoteCacheResolver<'a, T> { build_context, cache: Arc::default(), store: PyxTokenStore::from_settings().ok(), - workspace: std::env::var(EnvVars::PYX_GIT_WORKSPACE).ok(), + workspace: std::env::var(EnvVars::PYX_GIT_CACHE).ok(), } } diff --git a/crates/uv-static/src/env_vars.rs b/crates/uv-static/src/env_vars.rs index 4439f22c2..505d74a72 100644 --- a/crates/uv-static/src/env_vars.rs +++ b/crates/uv-static/src/env_vars.rs @@ -1140,8 +1140,8 @@ impl EnvVars { pub const PYX_API_KEY: &'static str = "PYX_API_KEY"; /// The pyx workspace in which to search for cached Git dependencies. - #[attr_added_in("0.9.8")] - pub const PYX_GIT_WORKSPACE: &'static str = "PYX_GIT_WORKSPACE"; + #[attr_added_in("0.9.9")] + pub const PYX_GIT_CACHE: &'static str = "PYX_GIT_CACHE"; /// The pyx API key, for backwards compatibility. #[attr_hidden] diff --git a/crates/uv/tests/it/pip_install.rs b/crates/uv/tests/it/pip_install.rs index accb2aca4..cc41b7d1b 100644 --- a/crates/uv/tests/it/pip_install.rs +++ b/crates/uv/tests/it/pip_install.rs @@ -3678,9 +3678,7 @@ fn install_git_source_respects_offline_mode() { ----- stderr ----- × Failed to download and build `uv-public-pypackage @ git+https://github.com/astral-test/uv-public-pypackage` - ├─▶ Git operation failed - ├─▶ failed to clone into: [CACHE_DIR]/git-v0/db/8dab139913c4b566 - ╰─▶ Remote Git fetches are not allowed because network connectivity is disabled (i.e., with `--offline`) + ╰─▶ Network connectivity is disabled, but the requested data wasn't found in the cache for: `https://api.github.com/repos/astral-test/uv-public-pypackage/commits/HEAD` " ); } diff --git a/docs/reference/environment.md b/docs/reference/environment.md index a25c50266..7d66a1f35 100644 --- a/docs/reference/environment.md +++ b/docs/reference/environment.md @@ -954,6 +954,11 @@ The domain of the pyx CDN. Specifies the directory where uv stores pyx credentials. +### `PYX_GIT_CACHE` +added in `0.9.9` + +The pyx workspace in which to search for cached Git dependencies. + ### `RUST_BACKTRACE` added in `0.7.22` diff --git a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/anyio-4.11.0.post24-py3-none-any.whl b/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/anyio-4.11.0.post24-py3-none-any.whl deleted file mode 100644 index 5f63bfdf8..000000000 Binary files a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/anyio-4.11.0.post24-py3-none-any.whl and /dev/null differ diff --git a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/anyio-4.11.0.post24.tar.gz b/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/anyio-4.11.0.post24.tar.gz deleted file mode 100644 index 01f49c80a..000000000 Binary files a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/anyio-4.11.0.post24.tar.gz and /dev/null differ diff --git a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/index.html b/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/index.html deleted file mode 100644 index 599de154b..000000000 --- a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/index.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - Links for anyio - - -

Links for anyio

- anyio-4.11.0.post24-py3-none-any.whl
- anyio-4.11.0.post24.tar.gz
- - diff --git a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/index.html b/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/index.html deleted file mode 100644 index 16b4e5eae..000000000 --- a/server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - Links for anyio - - -

Links for anyio

- anyio
- -