From c4d41bbf551eddf36fb22e70d1a7e478fcc71f40 Mon Sep 17 00:00:00 2001 From: Jer Miller Date: Wed, 8 Jul 2026 19:52:11 -0600 Subject: [PATCH] docs(tests): drop stale owner-HDBSCAN reference in conftest note The sklearn no-stub NOTE named the speakers discovery/owner code as HDBSCAN users. After candidate-backed owner detection, only discovery.py uses sklearn.cluster.HDBSCAN. --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index d78aba714..6f017b761 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -67,7 +67,7 @@ def _install_heavy_module_stubs(): st_mod.SentenceTransformer = DummyST sys.modules["sentence_transformers"] = st_mod # NOTE: do NOT stub sklearn. scikit-learn is a hard, installed dependency - # (pyproject `scikit-learn>=1.3`) and the speakers discovery/owner code uses + # (pyproject `scikit-learn>=1.3`) and the speakers discovery code uses # the real `sklearn.cluster.HDBSCAN`. A persistent `sys.modules` stub here # leaked a DummyHDBSCAN (labels every point as noise) into whichever # co-scheduled test imported it first under xdist, silently breaking the -- 2.51.2