)]}'
{
  "commit": "c5b1997f217b7439b1edaf58f156bd800c5227c6",
  "tree": "a58e3584dfde7d4fda3e34ae543f0cd89d493e99",
  "parents": [
    "db24d4425a4d710d0138364be2bf727a2d477b4a"
  ],
  "author": {
    "name": "Austin Schuh",
    "email": "AustinSchuh@users.noreply.github.com",
    "time": "Sun Nov 22 05:19:00 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Nov 22 05:19:00 2026 +0000"
  },
  "message": "fix(cc): don\u0027t drop Windows import libs from cc_binary with dynamic_deps (#4487)\n\nOn Windows, `current_py_cc_headers` forwards a `CcInfo` that includes\nthe Python import libraries. A `cc_binary` with `dynamic_deps` only\nlinks libraries whose owners it can find in its dependency graph, and it\ncan\u0027t find these through the toolchain. The libraries get dropped and\nthe link fails with `LNK1104: cannot open file \u0027python313.lib\u0027`.\n\nReturn `CcSharedLibraryHintInfo` with the owners, the same fix #4166\nmade for `current_py_cc_libs`. Apply it to `current_py_cc_headers_abi3`\ntoo.",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "7cab53dbc120b96200ff0f4bbeeab12fd028afaa",
      "new_mode": 33188,
      "new_path": "news/current-py-cc-headers-dynamic-deps.fixed.md"
    },
    {
      "type": "modify",
      "old_id": "f7fcd8d738364a35f3f856a3c6512421ff91c227",
      "old_mode": 33188,
      "old_path": "python/private/current_py_cc_headers.bzl",
      "new_id": "38bd43c47a2d8a0744117e5812ceba4de49106bb",
      "new_mode": 33188,
      "new_path": "python/private/current_py_cc_headers.bzl"
    },
    {
      "type": "modify",
      "old_id": "f52d93e75f8d1cfebcae181e41e62d5311836f22",
      "old_mode": 33188,
      "old_path": "tests/cc/current_py_cc_headers/current_py_cc_headers_tests.bzl",
      "new_id": "c8c78778d9a34304d3420006404543dfc91baa17",
      "new_mode": 33188,
      "new_path": "tests/cc/current_py_cc_headers/current_py_cc_headers_tests.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "cea2d11795c112daf7b3f568d28a17ff64ee7b1f",
      "new_mode": 33188,
      "new_path": "tests/cc/current_py_cc_headers/python_lib.c"
    }
  ]
}
