From db61d848a70ce8bf47adee46c11ce81ad4d84334 Mon Sep 17 00:00:00 2001 From: konsti Date: Tue, 20 Feb 2024 17:36:03 +0100 Subject: [PATCH] Skip compile_html test on musl (#1756) The torch index has no musllinux wheel, so we need to skip the test on alpine. --- .gitignore | 1 + crates/uv/tests/pip_compile.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index bf6f1e65a..b195ac35c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ # will have compiled files and executables debug/ target/ +target-alpine/ # Bootstrapped Python versions bin/ diff --git a/crates/uv/tests/pip_compile.rs b/crates/uv/tests/pip_compile.rs index 2ba16a94d..5cb52e0b5 100644 --- a/crates/uv/tests/pip_compile.rs +++ b/crates/uv/tests/pip_compile.rs @@ -2434,6 +2434,7 @@ fn cache_errors_are_non_fatal() -> Result<()> { /// Resolve a distribution from an HTML-only registry. #[test] +#[cfg(not(target_env = "musl"))] // No musllinux wheels in the torch index fn compile_html() -> Result<()> { let context = TestContext::new("3.12"); let requirements_in = context.temp_dir.child("requirements.in");