ultralytics integration is silently disabled on early 8.0.x releases, including the documented minimum 8.0.0
What happens
On early ultralytics 8.0.x releases, including 8.0.0, the min version in docs/compatibility.md, the ultralytics integration is silently off. YOLO(...) loads and predictions record no events.
wildedge/integrations/ultralytics.py imports ultralytics and from ultralytics.utils import WEIGHTS_DIR in the same try. Those releases keep their helpers in ultralytics.yolo.utils, so the second import fails and the except ImportError sets _ultralytics = None. instrument("ultralytics") succeeds without a warning.
The compat job didn't catch it: the old test only called instrument(), and on Python 3.12 and 3.13 it skipped.
Checked: 8.0.0 has no ultralytics.utils; 8.0.200, 8.0.239 and 8.1.0 do, and the integration works there.
Expected
One of:
- Support the old layout: fall back to
ultralytics.yolo.utils, and don't disable the integration when only the weights dir can't be found. - Raise the minimum supported version to the first release with
ultralytics.utils, and update the compat matrix and docs.
Either way, a failed optional import shouldn't turn the integration off silently. Log it at least.
Repro
tests/compat/test_ultralytics_compat.py on the min row; the tests are marked xfail(strict=True) when ultralytics.utils is missing.
🤖 Generated with Claude Code