)]}'
{
  "commit": "46f08dea00288300aaefbb1186074f9d0f0779b5",
  "tree": "9a314b386115a5d0f24d8db9afdb0364d2606bf7",
  "parents": [
    "85fcd7aef8beed5e5fdbc1d65596345badae3e70"
  ],
  "author": {
    "name": "Christian von Schultz",
    "email": "christian@embedl.com",
    "time": "Fri May 23 02:58:25 2025 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri May 23 00:58:25 2025 +0000"
  },
  "message": "docs/refactor: Use python.defaults, not is_default (#2924)\n\nWhen there are multiple Python toolchains, there are currently two ways\nof setting the default version: the `is_default` attribute of the\n`python.toolchain()` tag class and the `python.defaults()` tag class.\nThe latter is more powerful, since it also supports files and\nenvironment variables. This patch updates the examples and the docs to\nuse `python.defaults()`.\n\nRelates to pull request #2588 and issue #2587.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8bea6b54bdd0d4853fcbcc462d36dbf5f862cf0b",
      "old_mode": 33188,
      "old_path": "docs/api/rules_python/python/bin/index.md",
      "new_id": "873b644341630408690708fda158907c133caf05",
      "new_mode": 33188,
      "new_path": "docs/api/rules_python/python/bin/index.md"
    },
    {
      "type": "modify",
      "old_id": "a2a2b5b63ea1fa987199f04e547b0a0c6e5fed9b",
      "old_mode": 33188,
      "old_path": "docs/toolchains.md",
      "new_id": "ada887c9458a315c8d5292c406ec2fc6c76ff5be",
      "new_mode": 33188,
      "new_path": "docs/toolchains.md"
    },
    {
      "type": "modify",
      "old_id": "69e384e42b5c9b481b410709644968406600837f",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/MODULE.bazel",
      "new_id": "841c096dcf2ce14b0ab3f5d702da02773c03c762",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "959501abc28a355d8448af61569b1d0f37973708",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/other_module/MODULE.bazel",
      "new_id": "f9d67061209bc9d53948f8bff46c44bf48f3812e",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/other_module/MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "9bec25fcbb7d34a3ec9dc86ab3a435a79b392ec1",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/MODULE.bazel",
      "new_id": "b9b428d36580f173579c1a16da7161362f0ec273",
      "new_mode": 33188,
      "new_path": "examples/bzlmod_build_file_generation/MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "85140360bb497d6483b5d6fa4d23ce3584c4573c",
      "old_mode": 33188,
      "old_path": "examples/multi_python_versions/MODULE.bazel",
      "new_id": "4e4a0473c2b94255ae325a04df9e617bfc42a761",
      "new_mode": 33188,
      "new_path": "examples/multi_python_versions/MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "abd5080dd8e776702123ea58fdd778c5dfda44f9",
      "old_mode": 33188,
      "old_path": "python/extensions/python.bzl",
      "new_id": "b8b755ebca155e370a6ea8e98097309cfe5076b4",
      "new_mode": 33188,
      "new_path": "python/extensions/python.bzl"
    },
    {
      "type": "modify",
      "old_id": "24ce38ad3d0e21fe3d8364df4d7d89c35fb52697",
      "old_mode": 33188,
      "old_path": "python/private/python.bzl",
      "new_id": "a7e257601f596e57c15c4bf2bf3aed5847ffed66",
      "new_mode": 33188,
      "new_path": "python/private/python.bzl"
    }
  ]
}
