diff --git a/crates/uv/tests/it/pip_list.rs b/crates/uv/tests/it/pip_list.rs index fc487f8cd..830aeaf5e 100644 --- a/crates/uv/tests/it/pip_list.rs +++ b/crates/uv/tests/it/pip_list.rs @@ -791,6 +791,7 @@ fn list_ignores_quiet_flag_format_freeze() { } #[test] +#[cfg(feature = "pypi")] fn list_target() -> Result<()> { let context = TestContext::new("3.12"); @@ -839,6 +840,7 @@ fn list_target() -> Result<()> { } #[test] +#[cfg(feature = "pypi")] fn list_prefix() -> Result<()> { let context = TestContext::new("3.12"); diff --git a/crates/uv/tests/it/pip_show.rs b/crates/uv/tests/it/pip_show.rs index a44dd18f8..1ff30025d 100644 --- a/crates/uv/tests/it/pip_show.rs +++ b/crates/uv/tests/it/pip_show.rs @@ -536,6 +536,7 @@ fn show_files() { } #[test] +#[cfg(feature = "pypi")] fn show_target() -> Result<()> { let context = TestContext::new("3.12"); @@ -587,6 +588,7 @@ fn show_target() -> Result<()> { } #[test] +#[cfg(feature = "pypi")] fn show_prefix() -> Result<()> { let context = TestContext::new("3.12");