diff --git a/crates/uv/tests/it/python_find.rs b/crates/uv/tests/it/python_find.rs index e5d29024b..2e848f36a 100644 --- a/crates/uv/tests/it/python_find.rs +++ b/crates/uv/tests/it/python_find.rs @@ -665,8 +665,14 @@ fn python_find_venv_invalid() { } /// See: +/// +/// This test will not succeed on macOS if using a Homebrew provided interpreter. The interpreter +/// reports `sys.executable` as the canonicalized path instead of `[TEMP_DIR]/...`. For this reason, +/// it's marked as requiring our `python-managed` feature — but it does not enforce that these are +/// used in the test context. #[test] #[cfg(unix)] +#[cfg(feature = "python-managed")] fn python_required_python_major_minor() { let context: TestContext = TestContext::new_with_versions(&["3.11", "3.12"]);