mirror of https://github.com/astral-sh/uv
Use `--exclude-newer` in some `pip sync` tests (#3846)
## Summary Saw a bunch of failures in https://github.com/astral-sh/uv/actions/runs/9247239042/job/25435791135?pr=3252 due to `anyio` publishing v0.4.4.
This commit is contained in:
parent
98652e3954
commit
34e1cc8dd4
|
|
@ -7,7 +7,7 @@ use assert_cmd::prelude::*;
|
|||
use assert_fs::fixture::ChildPath;
|
||||
use assert_fs::prelude::*;
|
||||
|
||||
use crate::common::{get_bin, uv_snapshot, TestContext};
|
||||
use crate::common::{get_bin, uv_snapshot, TestContext, EXCLUDE_NEWER};
|
||||
|
||||
mod common;
|
||||
|
||||
|
|
@ -33,6 +33,8 @@ fn sync_command(context: &TestContext) -> Command {
|
|||
.arg("sync")
|
||||
.arg("--cache-dir")
|
||||
.arg(context.cache_dir.path())
|
||||
.arg("--exclude-newer")
|
||||
.arg(EXCLUDE_NEWER)
|
||||
.env("VIRTUAL_ENV", context.venv.as_os_str())
|
||||
.env("UV_NO_WRAP", "1")
|
||||
.current_dir(&context.temp_dir);
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue