)]}'
{
  "commit": "619fa0c8a45fb33cb889d3105c6fbe049cfb3e50",
  "tree": "805281b8d7627289530ebad2300d60056a14963c",
  "parents": [
    "4c2d7d9d6608795522322a9b2294b5053e41b979"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "rlevasseur@google.com",
    "time": "Wed Jan 03 14:10:35 2024 -0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Jan 03 22:10:35 2024 +0000"
  },
  "message": "fix(bzlmod): allow modules to register the same toolchain as rules_python\u0027s default (#1642)\n\nThis fixes a bug where, if a module tries to register a non-default\ntoolchain with the\nsame version as rules_python\u0027s default toolchain, an error would occur.\nThis happened\nbecause the earlier (non-default) toolchain caused the later (default)\ntoolchain to\nbe entirely skipped, and then no default toolchain would be seen. This\nmost affects\nintermediary modules that need to register a toolchain, but can\u0027t\nspecify a default one.\n\nTo fix, just skip creating and registering the duplicate toolchain, but\nstill check\nits default-ness to determine if it\u0027s the default toolchain.\n\nFixes https://github.com/bazelbuild/rules_python/issues/1638",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e9af9173a649b013082af8a7f81bf8738a62b013",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "4089ae40fc4794c73818563c0c97722f2a634bba",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "be5c083d3d953c8dceb09d8a66951278cc65119e",
      "old_mode": 33188,
      "old_path": "python/private/bzlmod/python.bzl",
      "new_id": "3b59d5be92b34842c24a75b47530864b961a7292",
      "new_mode": 33188,
      "new_path": "python/private/bzlmod/python.bzl"
    }
  ]
}
