plugin_compat.py 831 B

12345678910111213141516171819202122
  1. """Frozen exports for ``hermes update`` processes that predate the plugin compat layer's removal.
  2. The Sep 2026 decomposition kept old import paths alive for external plugins until 2026-09-14; that
  3. layer, and the scanner that reported plugins still using it, is gone. An updater already running from
  4. an older checkout still lazy-imports these three names for its post-update notice after the swap
  5. (``tests/compat/old_updater_surface.json``), so they stay as inert stubs with nothing left to report.
  6. """
  7. from __future__ import annotations
  8. from typing import Any, Dict, List
  9. def compat_report(manifests: Any = None, *, force: bool = False) -> dict[str, list[Any]]:
  10. return {}
  11. def removal_in_effect(today: Any = None) -> bool:
  12. return True
  13. def summary_lines(report: Any, *, today: Any = None) -> list[str]:
  14. return []