mirror of https://github.com/astral-sh/uv
Skip compile_html test on musl (#1756)
The torch index has no musllinux wheel, so we need to skip the test on alpine.
This commit is contained in:
parent
6ea49ef7bf
commit
db61d848a7
|
|
@ -5,6 +5,7 @@
|
||||||
# will have compiled files and executables
|
# will have compiled files and executables
|
||||||
debug/
|
debug/
|
||||||
target/
|
target/
|
||||||
|
target-alpine/
|
||||||
|
|
||||||
# Bootstrapped Python versions
|
# Bootstrapped Python versions
|
||||||
bin/
|
bin/
|
||||||
|
|
|
||||||
|
|
@ -2434,6 +2434,7 @@ fn cache_errors_are_non_fatal() -> Result<()> {
|
||||||
|
|
||||||
/// Resolve a distribution from an HTML-only registry.
|
/// Resolve a distribution from an HTML-only registry.
|
||||||
#[test]
|
#[test]
|
||||||
|
#[cfg(not(target_env = "musl"))] // No musllinux wheels in the torch index
|
||||||
fn compile_html() -> Result<()> {
|
fn compile_html() -> Result<()> {
|
||||||
let context = TestContext::new("3.12");
|
let context = TestContext::new("3.12");
|
||||||
let requirements_in = context.temp_dir.child("requirements.in");
|
let requirements_in = context.temp_dir.child("requirements.in");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue