Remove test infra

This commit is contained in:
Charlie Marsh 2025-11-11 21:20:39 -05:00
parent 4e25397b04
commit bd6cc12a4f
8 changed files with 9 additions and 29 deletions

View File

@ -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(),
}
}

View File

@ -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]

View File

@ -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`
"
);
}

View File

@ -954,6 +954,11 @@ The domain of the pyx CDN.
Specifies the directory where uv stores pyx credentials.
### `PYX_GIT_CACHE`
<small class="added-in">added in `0.9.9`</small>
The pyx workspace in which to search for cached Git dependencies.
### `RUST_BACKTRACE`
<small class="added-in">added in `0.7.22`</small>

View File

@ -1,12 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="pypi:repository-version" content="1.0">
<title>Links for anyio</title>
</head>
<body>
<h1>Links for anyio</h1>
<a href="anyio-4.11.0.post24-py3-none-any.whl">anyio-4.11.0.post24-py3-none-any.whl</a><br/>
<a href="anyio-4.11.0.post24.tar.gz">anyio-4.11.0.post24.tar.gz</a><br/>
</body>
</html>

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta name="pypi:repository-version" content="1.0">
<title>Links for anyio</title>
</head>
<body>
<h1>Links for anyio</h1>
<a href="anyio/">anyio</a><br/>
</body>
</html>