)]}'
{
  "commit": "1eebc2ab2c3da834682b54ec989a459f5e5a5461",
  "tree": "6ba116798df8342cd13426e0269830f8bb216f7c",
  "parents": [
    "0c0492dfaea7eee9132c501439872e8d8e62bd4a"
  ],
  "author": {
    "name": "Richard Levasseur",
    "email": "rlevasseur@google.com",
    "time": "Tue Oct 22 10:58:57 2024 -0700"
  },
  "committer": {
    "name": "Richard Levasseur",
    "email": "rlevasseur@google.com",
    "time": "Tue Oct 22 12:21:50 2024 -0700"
  },
  "message": "fix(rules): remove rules_python --incompatible_python_disallow_native_rules checking (#2327)\n\nWhen --incompatible_python_disallow_native_rules is enabled, all the\ncore rules fail with\nan error that rules_python should be used. This is incorrect, since the\nrules_python rules\nare being used. What\u0027s happening is\nhttps://github.com/bazelbuild/rules_python/pull/2257\nremoved the magic migration tag when pystar is enabled, but the code to\ncheck the tag\nwas present wasn\u0027t removed. This went unnoticed because our CI doesn\u0027t\nset the migration\nflag.\n\nTo fix, remove the validation logic entirely. If we\u0027re in the\nrules_python implementation,\nthen there is not need to perform this validation. It was just something\ncopy/pasted from\nthe original code from Bazel itself.\n\nAlso update the bazelrc to always set\n--incompatible_python_disallow_native_rules.\n\nFixes https://github.com/bazelbuild/rules_python/issues/2326\nFixes https://github.com/bazelbuild/rules_python/issues/1645\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "631ad864f7f79e7db32a8a3e0a39a2a9da248777",
      "old_mode": 33188,
      "old_path": ".bazelci/presubmit.yml",
      "new_id": "db2878a3e7b62d97a6a2dd7d086e28180211905c",
      "new_mode": 33188,
      "new_path": ".bazelci/presubmit.yml"
    },
    {
      "type": "modify",
      "old_id": "1ca469cd75584b0f2ebf438dba46f3cf23df84f1",
      "old_mode": 33188,
      "old_path": ".bazelrc",
      "new_id": "c44124d961a5feecb74cba16cc9b40a3eb72d983",
      "new_mode": 33188,
      "new_path": ".bazelrc"
    },
    {
      "type": "modify",
      "old_id": "e428fa3aa85b2e62bc06bc6e84810dc694cbfd7a",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "eb18fc5ea810a802a8ec104954db742d8b85a5ab",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "e0b1984e4e90837420eb9dca914aa96ddd7ef97c",
      "old_mode": 33188,
      "old_path": "examples/build_file_generation/.bazelrc",
      "new_id": "fd0f731d2f9c400345afd7abf9f1c034cd242905",
      "new_mode": 33188,
      "new_path": "examples/build_file_generation/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "fd16095857650633425dad03cc8e124cb7a19376",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/.bazelrc",
      "new_id": "ca83047ccc2d643ff7eddf19422c8d7f37b797d2",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "acc7102a17c0c71bd958d9b896b24f31e0929356",
      "old_mode": 33188,
      "old_path": "examples/bzlmod_build_file_generation/.bazelrc",
      "new_id": "0289886d4dc98093aa63a13213d424f42d9b53be",
      "new_mode": 33188,
      "new_path": "examples/bzlmod_build_file_generation/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "58080ab51b98f683aa6ca4dd0c45301fb9e1ca17",
      "old_mode": 33188,
      "old_path": "examples/multi_python_versions/.bazelrc",
      "new_id": "97a973bd85301f5c9696286abb1e3fdbed61da4f",
      "new_mode": 33188,
      "new_path": "examples/multi_python_versions/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "9e7ef37327bd1bc8b82e58f141e1199c59caf779",
      "old_mode": 33188,
      "old_path": "examples/pip_parse/.bazelrc",
      "new_id": "a56904803cc85e3132a15f25113df7d4f2beb5f7",
      "new_mode": 33188,
      "new_path": "examples/pip_parse/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "3818a0380826030d4d5971fe55d2005c92552257",
      "old_mode": 33188,
      "old_path": "examples/pip_parse_vendored/.bazelrc",
      "new_id": "be3555d1ebdc3ad880f4ab83c4518bf89587b482",
      "new_mode": 33188,
      "new_path": "examples/pip_parse_vendored/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "9ce0b72b482c645694cb53431d370744d95e4854",
      "old_mode": 33188,
      "old_path": "examples/pip_repository_annotations/.bazelrc",
      "new_id": "4f62c6e76f957c3a164b0922a19ce4b95ef62e62",
      "new_mode": 33188,
      "new_path": "examples/pip_repository_annotations/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "ef0e530774704d21e322e8cac3030c71242b41df",
      "old_mode": 33188,
      "old_path": "examples/py_proto_library/.bazelrc",
      "new_id": "65d8a0a2f6d1c76ccc03d69e395696c8147b74e6",
      "new_mode": 33188,
      "new_path": "examples/py_proto_library/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "e10cd78a268d13a6d656d4cb9685586da46c03ee",
      "old_mode": 33188,
      "old_path": "gazelle/.bazelrc",
      "new_id": "97040903a69dc1e9c0c674b3214f21265319e173",
      "new_mode": 33188,
      "new_path": "gazelle/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "2dcc9482ca319bbc2d3e6348536460b54cba47e4",
      "old_mode": 33188,
      "old_path": "python/private/common.bzl",
      "new_id": "837cd190974177b821dacd24ec1d0e40325932c2",
      "new_mode": 33188,
      "new_path": "python/private/common.bzl"
    },
    {
      "type": "modify",
      "old_id": "ce1288cc294fc0fc70d8c87723ceab8eb69d2c9a",
      "old_mode": 33188,
      "old_path": "python/private/py_executable.bzl",
      "new_id": "b81f07e01ab4ddb07183ba63e96645fa98923a1f",
      "new_mode": 33188,
      "new_path": "python/private/py_executable.bzl"
    },
    {
      "type": "modify",
      "old_id": "4f4311694757f119ef1b0d4f44586059702157a1",
      "old_mode": 33188,
      "old_path": "python/private/py_library.bzl",
      "new_id": "1bc96b5e4b8a44c926868e9d9012eca811272e7d",
      "new_mode": 33188,
      "new_path": "python/private/py_library.bzl"
    },
    {
      "type": "modify",
      "old_id": "8a42e6405be8bb5f496b11c50a6d31ccab6a842e",
      "old_mode": 33188,
      "old_path": "tests/integration/compile_pip_requirements/.bazelrc",
      "new_id": "b85f03bcb6b7469028ac097788d66bda66e1aacd",
      "new_mode": 33188,
      "new_path": "tests/integration/compile_pip_requirements/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "b98fc0977469717149cf0f468c8285d622b39a3b",
      "old_mode": 33188,
      "old_path": "tests/integration/compile_pip_requirements_test_from_external_repo/.bazelrc",
      "new_id": "ab10c8caf745cb012efca8aa9eae4770842d0447",
      "new_mode": 33188,
      "new_path": "tests/integration/compile_pip_requirements_test_from_external_repo/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "27d7d137cd33dfdc8136cbac0c1db73eb363ccc4",
      "old_mode": 33188,
      "old_path": "tests/integration/ignore_root_user_error/.bazelrc",
      "new_id": "bb7b5742cd6db6be33399f8955a587fe1c446ecd",
      "new_mode": 33188,
      "new_path": "tests/integration/ignore_root_user_error/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "551df401b341c919848402e936b1b6fbb9dc3b4c",
      "old_mode": 33188,
      "old_path": "tests/integration/local_toolchains/.bazelrc",
      "new_id": "39df41d9f4361d3c482a21d28fb49de6ea9adc3a",
      "new_mode": 33188,
      "new_path": "tests/integration/local_toolchains/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "efeccbe9190466d0b84f114c5280b91c2a671c81",
      "old_mode": 33188,
      "old_path": "tests/integration/pip_parse/.bazelrc",
      "new_id": "a74909297d053f644902a25dfdef049af68b9dac",
      "new_mode": 33188,
      "new_path": "tests/integration/pip_parse/.bazelrc"
    },
    {
      "type": "modify",
      "old_id": "741d758a4f9cef52f1caa9d3a74b053c77b5ce1d",
      "old_mode": 33188,
      "old_path": "tests/integration/py_cc_toolchain_registered/.bazelrc",
      "new_id": "fb31561892cf64abf556b2636f500a44d2568abf",
      "new_mode": 33188,
      "new_path": "tests/integration/py_cc_toolchain_registered/.bazelrc"
    }
  ]
}
