)]}'
{
  "commit": "99f547bc5e88202d6415336d576f90a54a145493",
  "tree": "fb2dcc4f4b04d9eb3f945aab8a3d51bd9bc877c6",
  "parents": [
    "02765d517f2d29479eb011d237705bbf4f6cc2cf"
  ],
  "author": {
    "name": "Tobias Fuchs",
    "email": "fuchs@roofline.ai",
    "time": "Mon Nov 09 17:25:26 2026 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 09 17:25:26 2026 +0100"
  },
  "message": "[Bindings] Fix change HAL bitmask enums to IntEnums instead of IntFlags (#25223)\n\nhttps://github.com/iree-org/iree/pull/25163 made MemoryType,\nBufferCompatibility, BufferUsage and MemoryAccess nanobind IntFlags. On\nPython 3.11.0 to 3.11.3, `MemoryType.HOST_LOCAL |\nMemoryType.DEVICE_VISIBLE` then fails with \"ValueError: 86 is not a\nvalid MemoryType\".\n\nDrop py::is_flag() from the four enums. As IntEnums they keep\n`__index__`, which https://github.com/iree-org/iree/pull/25163 added,\nand `|` and `\u0026` return plain ints, as\nthey did before.\n\nci-extra: linux_arm64_clang\n\n---------\n\nSigned-off-by: Tobias Fuchs \u003cfuchs@roofline.ai\u003e\nCo-authored-by: Claude Opus 5.5 \u003cnoreply@anthropic.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0cacd6e52cade2b48174c574ac54c56c193196fb",
      "old_mode": 33188,
      "old_path": "runtime/bindings/python/CMakeLists.txt",
      "new_id": "5423c6c6352ef4b48ea583f187dd1dfa6fe67182",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "ceb6712ae63b4fcade32167b5d40ee153ce5312e",
      "old_mode": 33188,
      "old_path": "runtime/bindings/python/hal.cc",
      "new_id": "3895a8214b70001ed4a25b75540a7dcef51030cb",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/hal.cc"
    },
    {
      "type": "modify",
      "old_id": "504dc013add76f4eb222fcc3e91c9a981884d298",
      "old_mode": 33188,
      "old_path": "runtime/bindings/python/iree/runtime/_binding.pyi",
      "new_id": "822e0568df4c5332ab8796ca6a2e505a2bc193ca",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/iree/runtime/_binding.pyi"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "2504a9f7e7be70748dd0d3d25c5f8b8d10051b7f",
      "new_mode": 33188,
      "new_path": "runtime/bindings/python/tests/hal_enums_test.py"
    }
  ]
}
