)]}'
{
  "commit": "2c83321f9cd242f70927e7beaffa4af6a97a5adf",
  "tree": "f6890577e50d5909f19106a992d57465fcbf62e6",
  "parents": [
    "7cfa952b423b7db5d43bf6299a10b5ccb1a9fdae"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Fri Nov 20 01:27:37 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Nov 20 01:27:37 2026 +0000"
  },
  "message": "fix(rules): resolve the label values in config_settings relative to the caller (#4508)\n\nThe values of label flags set via `config_settings`, such as\n`--debugger`,\nwere resolved by the transition relative to `rules_python`, so e.g.\n`\":my_debugger\"` or `\"//tools:my_debugger\"` referred to targets in\n`rules_python` instead of the caller\u0027s repository, and the build failed\nwith a\n`no such target` error. Only canonical labels, e.g. from\n`str(Label(...))`,\nworked.\n\nThe `py_binary` and `py_test` macros run in the context of the caller,\nso they\nnow convert the values of label flags to canonical labels relative to\nthe\npackage of the caller, like label attributes. Values passed within a\n`select()` are left as-is.\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "fc15268efed4a374e1f7a63687dc44d2b8ee5c08",
      "new_mode": 33188,
      "new_path": "news/config-settings-label-values.fixed.md"
    },
    {
      "type": "modify",
      "old_id": "0fd627f0dedc3f9dcfd0d2ffaf8f0b48a6de4dce",
      "old_mode": 33188,
      "old_path": "python/private/attributes.bzl",
      "new_id": "0698a65f1a018409740465d25021061935a4913f",
      "new_mode": 33188,
      "new_path": "python/private/attributes.bzl"
    },
    {
      "type": "modify",
      "old_id": "c1fb7588f82058f33d024240bf6326b23431a3c1",
      "old_mode": 33188,
      "old_path": "python/private/py_executable.bzl",
      "new_id": "7119dc567de014112ba60c04fc0648f1f703b4f1",
      "new_mode": 33188,
      "new_path": "python/private/py_executable.bzl"
    },
    {
      "type": "modify",
      "old_id": "d1be72deb11dc06eaca07d979ac932755e050945",
      "old_mode": 33188,
      "old_path": "tests/base_rules/py_executable_base_tests.bzl",
      "new_id": "6662491bc13b922bf5b6f635e17efccebcdaccf6",
      "new_mode": 33188,
      "new_path": "tests/base_rules/py_executable_base_tests.bzl"
    }
  ]
}
