Skip to content

Commit

Permalink
Remove bz2 builds from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 24, 2024
1 parent ea0f0e1 commit 07afc48
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions crates/uv/tests/pip_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -664,15 +664,17 @@ fn install_sdist_archive_type_bz2() -> Result<()> {
let context = TestContext::new("3.8");

let requirements_txt = context.temp_dir.child("requirements.txt");
requirements_txt.write_str("bz2==1.0.0")?;
requirements_txt.write_str(&format!(
"bz2 @ {}",
context
.workspace_root
.join("scripts/links/bz2-1.0.0.tar.bz2")
.display()
))?;

uv_snapshot!(command(&context)
uv_snapshot!(context.filters(), command(&context)
.arg("requirements.txt")
.arg("--no-binary")
.arg(":all:")
.arg("--strict")
.arg("--find-links")
.arg(context.workspace_root.join("scripts/links/")), @r###"
.arg("--strict"), @r###"
success: true
exit_code: 0
----- stdout -----
Expand All @@ -681,7 +683,7 @@ fn install_sdist_archive_type_bz2() -> Result<()> {
Resolved 1 package in [TIME]
Downloaded 1 package in [TIME]
Installed 1 package in [TIME]
+ bz2==1.0.0
+ bz2==1.0.0 (from file://[WORKSPACE]/scripts/links/bz2-1.0.0.tar.bz2)
"###
);

Expand Down

0 comments on commit 07afc48

Please sign in to comment.