)]}'
{
  "commit": "5ff514ab84c0486b432340e6a04de5beb9f2fd1f",
  "tree": "6a3ced121d1981feb8996def143081699de9e8dc",
  "parents": [
    "8400610298056e9ab69cf927424a39ae93dfb31f"
  ],
  "author": {
    "name": "Michael Krasnyk",
    "email": "michael.krasnyk@gmail.com",
    "time": "Wed Mar 08 20:16:02 2023 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Mar 08 11:16:02 2023 -0800"
  },
  "message": "fix: generation of toolchain aliases //:defs.bzl file. (#1088)\n\n## PR Checklist\r\n\r\nPlease check if your PR fulfills the following requirements:\r\n\r\n- [ ] Tests for the changes have been added (for bug fixes / features)\r\n- [ ] Docs have been added / updated (for bug fixes / features)\r\n\r\n\r\n## PR Type\r\n\r\nWhat kind of change does this PR introduce?\r\n\r\n\u003c!-- Please check the one that applies to this PR using \"x\". --\u003e\r\n\r\n- [X] Bugfix\r\n- [ ] Feature (please, look at the \"Scope of the project\" section in the\r\nREADME.md file)\r\n- [ ] Code style update (formatting, local variables)\r\n- [ ] Refactoring (no functional changes, no api changes)\r\n- [ ] Build related changes\r\n- [ ] CI related changes\r\n- [ ] Documentation content changes\r\n- [ ] Other... Please describe:\r\n\r\n\r\n## What is the current behavior?\r\n\u003c!-- Please describe the current behavior that you are modifying, or\r\nlink to a relevant issue. --\u003e\r\n\r\nWith `common --experimental_enable_bzlmod` option defs.bzl is generated\r\nas\r\n```\r\nload(\"@rules_python~override//python/config_settings:transition.bzl\", _py_binary \u003d \"py_binary\", _py_test \u003d \"py_test\")\r\nload(\"@rules_python~override//python:pip.bzl\", _compile_pip_requirements \u003d \"compile_pip_requirements\")\r\n```\r\nand these lines cause a problem at\r\n```\r\nload(\"@python3_9//:defs.bzl\", \"interpreter\")\r\n```\r\nas\r\n```\r\n\r\nERROR: .../BUILD:25:11: error loading package \u0027src\u0027: at .../external/rules_python~override~python~python3_9/defs.bzl:4:6: Unable to find package for @[unknown repo \u0027rules_python~override\u0027 requested from @rules_python~override~python~python3_9]//python:pip.bzl: The repository \u0027@[unknown repo \u0027rules_python~override\u0027 requested from @rules_python~override~python~python3_9]\u0027 could not be resolved: No repository visible as \u0027@rules_python~override\u0027 from repository \u0027@rules_python~override~python~python3_9\u0027. and referenced by \u0027...\u0027\r\n```\r\n\r\n\r\nIssue Number: N/A\r\n\r\n\r\n## What is the new behavior?\r\n\r\nGenerated load statements\r\n```\r\nload(\"@@rules_python~override//python/config_settings:transition.bzl\", _py_binary \u003d \"py_binary\", _py_test \u003d \"py_test\")\r\nload(\"@@rules_python~override//python:pip.bzl\", _compile_pip_requirements \u003d \"compile_pip_requirements\")\r\n```\r\n\r\n## Does this PR introduce a breaking change?\r\n\r\n- [ ] Yes\r\n- [X] No\r\n\r\n\r\n\u003c!-- If this PR contains a breaking change, please describe the impact\r\nand migration path for existing applications below. --\u003e\r\n\r\n\r\n## Other information",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7b7566bd5a4c7cd8d3cb519ad26832cfa9db8e9a",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/BUILD.bazel",
      "new_id": "7ecc0358535d47faad66d759ff44213fe72b3cbf",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "5f984c39dfc761028c80cef3b22f3b6ead48ca23",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/MODULE.bazel",
      "new_id": "ce9122810c0aa2d3b794706488d072146a947974",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "4b832d941a2301c8acb94482f96cb0ab73c77686",
      "old_mode": 33188,
      "old_path": "python/private/toolchains_repo.bzl",
      "new_id": "9bed73e55c57e8143b660153f1f6cb3f86158054",
      "new_mode": 33188,
      "new_path": "python/private/toolchains_repo.bzl"
    }
  ]
}
