)]}'
{
  "commit": "a426453da88f026b0b362a516b0c4b61f53bb2b1",
  "tree": "fc7c4638705409bb5a2bf162d76935d4e7b8596c",
  "parents": [
    "ef462f6229292b42ea05369a4a290de6e5a72266"
  ],
  "author": {
    "name": "Tobias Fuchs",
    "email": "fuchs@roofline.ai",
    "time": "Thu Dec 03 09:23:10 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Dec 03 09:23:10 2026 +0100"
  },
  "message": "[Core] Plugin registry (#25344)\n\n## Why\n\nA compile driver/runtime driver may be extedned by packages installed\nnext to them, without changes to IREE. For example, an importer for an\nML framework, or the configurations of an out-of-tree backend, ship in\ntheir own packages and register with the compile driver when installed.\n\n## Change\n\n- `hookspec` and `hookimpl`: shared markers, so that a plugin does not\nhave to import its host\n- `create_plugin_manager(hookspecs, entry_point_group\u003dNone)`: creates\nthe plugin manager and loads the plugins that installed packages declare\nin the entry point group.\n- `merge_plugin_mappings(kind, mappings)`: merges the name-to-value\nmappings that plugins return from a hook, and rejects a name that two\nplugins provide\n- plugin modules: must be cheap to import, so they return factories that\nimport heavy dependencies, such as an ML framework, only when called\n- pluggy (`\u003e\u003d1.5.0`) as a dependency of `iree-base-core`\n\nSigned-off-by: Tobias Fuchs \u003cfuchs@roofline.ai\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "50b32644bbdf1d771c89181dd78f6111e846887d",
      "old_mode": 33188,
      "old_path": "build_tools/bazel/requirements.txt",
      "new_id": "c64566df9f3ed102c41fbf7d7f8d184f8260a92f",
      "new_mode": 33188,
      "new_path": "build_tools/bazel/requirements.txt"
    },
    {
      "type": "modify",
      "old_id": "bdf8361d45b273cbb34162f9e1b8bdd7924bbcc3",
      "old_mode": 33188,
      "old_path": "core/python/BUILD.bazel",
      "new_id": "1011de3aa7990867e8677ca813354f49babd8402",
      "new_mode": 33188,
      "new_path": "core/python/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "d08e7e0bfc78f76d5ad290fff47db0a5091fd390",
      "old_mode": 33188,
      "old_path": "core/python/CMakeLists.txt",
      "new_id": "16cdbee3dc4b6babea19f8a42c070048f8ba675e",
      "new_mode": 33188,
      "new_path": "core/python/CMakeLists.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b6989c24ed96f2333b7bd2649f692c63460c746f",
      "new_mode": 33188,
      "new_path": "core/python/iree/core/plugins.py"
    },
    {
      "type": "modify",
      "old_id": "6c9eb46ce28d75afa569a9ea781b26cbbbc7fd74",
      "old_mode": 33188,
      "old_path": "core/python/pyproject.toml",
      "new_id": "d5c3fe2e1452635ff7149b63e3af9ad1fe035a6b",
      "new_mode": 33188,
      "new_path": "core/python/pyproject.toml"
    },
    {
      "type": "modify",
      "old_id": "e1551faa7e88a6b7409de9c05a0be6f99fd55fe2",
      "old_mode": 33188,
      "old_path": "core/python/requirements.txt",
      "new_id": "305ed405713c183045498e3a6ae2acc626cf0cd2",
      "new_mode": 33188,
      "new_path": "core/python/requirements.txt"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "280f7baed264bd78732940c7f6c009c6f0430ab0",
      "new_mode": 33188,
      "new_path": "core/python/test/plugins_test.py"
    }
  ]
}
