Skip to content

Commit bd6cc12

Browse files
committed
Remove test infra
1 parent 4e25397 commit bd6cc12

File tree

8 files changed

+9
-29
lines changed

8 files changed

+9
-29
lines changed

crates/uv-distribution/src/remote.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl<'a, T: BuildContext> RemoteCacheResolver<'a, T> {
4444
build_context,
4545
cache: Arc::default(),
4646
store: PyxTokenStore::from_settings().ok(),
47-
workspace: std::env::var(EnvVars::PYX_GIT_WORKSPACE).ok(),
47+
workspace: std::env::var(EnvVars::PYX_GIT_CACHE).ok(),
4848
}
4949
}
5050

crates/uv-static/src/env_vars.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,8 +1140,8 @@ impl EnvVars {
11401140
pub const PYX_API_KEY: &'static str = "PYX_API_KEY";
11411141

11421142
/// The pyx workspace in which to search for cached Git dependencies.
1143-
#[attr_added_in("0.9.8")]
1144-
pub const PYX_GIT_WORKSPACE: &'static str = "PYX_GIT_WORKSPACE";
1143+
#[attr_added_in("0.9.9")]
1144+
pub const PYX_GIT_CACHE: &'static str = "PYX_GIT_CACHE";
11451145

11461146
/// The pyx API key, for backwards compatibility.
11471147
#[attr_hidden]

crates/uv/tests/it/pip_install.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3678,9 +3678,7 @@ fn install_git_source_respects_offline_mode() {
36783678
36793679
----- stderr -----
36803680
× Failed to download and build `uv-public-pypackage @ git+https://github.com/astral-test/uv-public-pypackage`
3681-
├─▶ Git operation failed
3682-
├─▶ failed to clone into: [CACHE_DIR]/git-v0/db/8dab139913c4b566
3683-
╰─▶ Remote Git fetches are not allowed because network connectivity is disabled (i.e., with `--offline`)
3681+
╰─▶ 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`
36843682
"
36853683
);
36863684
}

docs/reference/environment.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,11 @@ The domain of the pyx CDN.
954954

955955
Specifies the directory where uv stores pyx credentials.
956956

957+
### `PYX_GIT_CACHE`
958+
<small class="added-in">added in `0.9.9`</small>
959+
960+
The pyx workspace in which to search for cached Git dependencies.
961+
957962
### `RUST_BACKTRACE`
958963
<small class="added-in">added in `0.7.22`</small>
959964

server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/anyio/index.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

server/v1/git/astral-sh/9e/d1/54a640517fe5836f86a0844598bda6a7ad5c46321d0e2f4efa0362bf0b0b/index.html

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)