)]}'
{
  "commit": "beb7bfc6395eb2f8fe18b75d92da54936b07d749",
  "tree": "c03d5dd0392096ecea69f75578b4a2a7a2fe0d1c",
  "parents": [
    "e1c15ce28ac492902d767f8935750e9990662c4e"
  ],
  "author": {
    "name": "David Sanderson",
    "email": "32687193+dws@users.noreply.github.com",
    "time": "Wed Nov 18 17:57:04 2026 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Nov 18 17:57:04 2026 -0500"
  },
  "message": "fix implicit __init__.py creation warnings (#1097)\n\nWe here avoid diagnostics such as the following without resorting to\nthe Bazel flag `--incompatible_default_to_explicit_init_py`, which is\ndeprecated as of Bazel 10:\n\n    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n    WARNING: Target @@rules_pkg+//pkg/private/deb:make_deb is using implicit __init__.py creation.\n      This diabolic behavior is deprecated and will be disabled by default in a\n      future release.\n      See https://github.com/bazel-contrib/rules_python/issues/2945\n\n      Ensure all __init__.py files are explicitly created and\n      added to the srcs or deps of your targets.\n\n      Disable implicit creation for your module in MODULE.bazel:\n\n        rules_python_config \u003d use_extension(\"@rules_python//python/extensions:config.bzl\", \"config\")\n        rules_python_config.explicit_init_py(default \u003d True)\n\n      Or for a specific target by setting:\n\n        legacy_create_init \u003d 0\n\n      Or globally with the following Bazel flag:\n\n        --incompatible_default_to_explicit_init_py\n    \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nI saw these diagnostics with rules_python 2.5.0-rc3 and Bazel 9.3.2\n(without the flag `--incompatible_default_to_explicit_init_py`).\n\nNote that `legacy_create_init \u003d 0` is supported in rules_python 1.7.0,\nso there\u0027s no need to bump the minimum version of rules_python required\nby rules_pkg.  The `explicit_init_py()` method first appeared in\nrules_python 2.3.0, so using it to deal with these warnings would\nrequire bumping the minimum version of rules_python.  I applied the\n`legacy_create_init \u003d 0` as follows:\n\n    buildozer \"set legacy_create_init 0\" //...:%py_binary\n    buildozer \"set legacy_create_init 0\" //...:%py_test\n\nFixed up pkg/install.bzl by hand per review comment from @fmeum.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aa0862fd7d8fdaa092ffe6a43d33eb1eb07ae2e5",
      "old_mode": 33188,
      "old_path": "distro/BUILD",
      "new_id": "95c86437fddd7b78ef281b06381f7ed8c55a87fa",
      "new_mode": 33188,
      "new_path": "distro/BUILD"
    },
    {
      "type": "modify",
      "old_id": "b144f5a8cb9b8fdd9417cce987b7dc13d58e89e2",
      "old_mode": 33188,
      "old_path": "doc_build/BUILD",
      "new_id": "2f5c4f0cf151a1cebd12ef851c5defb5cfa53cbd",
      "new_mode": 33188,
      "new_path": "doc_build/BUILD"
    },
    {
      "type": "modify",
      "old_id": "344465d52f13f204b562fe725a9c90d30b269983",
      "old_mode": 33188,
      "old_path": "pkg/BUILD",
      "new_id": "2e3540eba4307d26330ecfdfcdd0d0ce57bb3b40",
      "new_mode": 33188,
      "new_path": "pkg/BUILD"
    },
    {
      "type": "modify",
      "old_id": "97320f2eec85876dc3b8a970af096d642ef13cc9",
      "old_mode": 33188,
      "old_path": "pkg/install.bzl",
      "new_id": "c0881058bf6d78c5e72ff63aa71b48dc7d9aab90",
      "new_mode": 33188,
      "new_path": "pkg/install.bzl"
    },
    {
      "type": "modify",
      "old_id": "cdb5c4d97b9f4244c43e75480bf8f2c7a347e42b",
      "old_mode": 33188,
      "old_path": "pkg/private/deb/BUILD",
      "new_id": "0ea90f6693a9832d947d08c8f3fc90bfae7bcad2",
      "new_mode": 33188,
      "new_path": "pkg/private/deb/BUILD"
    },
    {
      "type": "modify",
      "old_id": "d5c51c4bddf8e3a6aafca16898cc92c25410553b",
      "old_mode": 33188,
      "old_path": "pkg/private/tar/BUILD",
      "new_id": "0f702498314d71e7f2578589303613a1d691fb4d",
      "new_mode": 33188,
      "new_path": "pkg/private/tar/BUILD"
    },
    {
      "type": "modify",
      "old_id": "562a6aa6441f8745af15e78dd51138783ebf1702",
      "old_mode": 33188,
      "old_path": "pkg/private/zip/BUILD",
      "new_id": "efd99b2e157dd78845287976122f9187ad3c8a02",
      "new_mode": 33188,
      "new_path": "pkg/private/zip/BUILD"
    },
    {
      "type": "modify",
      "old_id": "8092e5be715d07ab94e9eba550268b074b0f1cd4",
      "old_mode": 33188,
      "old_path": "pkg/releasing/BUILD",
      "new_id": "87cfd33b5ec2b185bc52394668e94da56c3bae0c",
      "new_mode": 33188,
      "new_path": "pkg/releasing/BUILD"
    },
    {
      "type": "modify",
      "old_id": "27f2a54cccc9c68c486923b2a600809584e9b884",
      "old_mode": 33188,
      "old_path": "pkg/rpm/BUILD",
      "new_id": "cd0c79aa90d1d1576d5b6ee59f7062299a67bbea",
      "new_mode": 33188,
      "new_path": "pkg/rpm/BUILD"
    },
    {
      "type": "modify",
      "old_id": "93b4626c6549f3e10d69ecf57becd17cebf445fc",
      "old_mode": 33188,
      "old_path": "tests/BUILD",
      "new_id": "e3c1f522a62ad58380be8f48ec8bf7b7fc3c3360",
      "new_mode": 33188,
      "new_path": "tests/BUILD"
    },
    {
      "type": "modify",
      "old_id": "2af1e41fad3e32b28c400d3a42813810e530fb40",
      "old_mode": 33188,
      "old_path": "tests/deb/BUILD",
      "new_id": "7ad6a914f80de8f5e8b975a0ed36160f67201722",
      "new_mode": 33188,
      "new_path": "tests/deb/BUILD"
    },
    {
      "type": "modify",
      "old_id": "81019397ed541a11fdf68ebfbb353b3a324a5890",
      "old_mode": 33188,
      "old_path": "tests/install/BUILD",
      "new_id": "9c35444e33e9360b5236f4ed0ac7aaabfcef97cb",
      "new_mode": 33188,
      "new_path": "tests/install/BUILD"
    },
    {
      "type": "modify",
      "old_id": "a1ff831b57b559f2cd9b35ec8f4c163628b8b9f7",
      "old_mode": 33188,
      "old_path": "tests/mappings/filter_directory/BUILD",
      "new_id": "34baf18c5d8d9e75084bf9f50b096c2f59ea079f",
      "new_mode": 33188,
      "new_path": "tests/mappings/filter_directory/BUILD"
    },
    {
      "type": "modify",
      "old_id": "6ca54494281464d4faaa898b52f961d0f191d068",
      "old_mode": 33188,
      "old_path": "tests/rpm/BUILD",
      "new_id": "b9422abab210f53a574189702950bd8821db5e10",
      "new_mode": 33188,
      "new_path": "tests/rpm/BUILD"
    },
    {
      "type": "modify",
      "old_id": "59c944f557a75c07f5986e9f2fdc4bb59e09454c",
      "old_mode": 33188,
      "old_path": "tests/rpm/source_date_epoch/BUILD",
      "new_id": "95f5ea8d0209afe59ab33ec2cfd43bb59afa2487",
      "new_mode": 33188,
      "new_path": "tests/rpm/source_date_epoch/BUILD"
    },
    {
      "type": "modify",
      "old_id": "a1f13444d9fb425f40caa88bcf5e5c46394f9910",
      "old_mode": 33188,
      "old_path": "tests/rpm/tree_artifacts/BUILD",
      "new_id": "74b815292bba2f9d598a6c7111c71989d42d875c",
      "new_mode": 33188,
      "new_path": "tests/rpm/tree_artifacts/BUILD"
    },
    {
      "type": "modify",
      "old_id": "ec020bbb52bff95991d859f81187e6ff2cf3d6fe",
      "old_mode": 33188,
      "old_path": "tests/tar/BUILD",
      "new_id": "0c06f0de0c11d0b00d036a98b506805c62ceae6f",
      "new_mode": 33188,
      "new_path": "tests/tar/BUILD"
    },
    {
      "type": "modify",
      "old_id": "0be648237d75fd5bdddfb8e3874b28266d9ea13a",
      "old_mode": 33188,
      "old_path": "tests/util/BUILD",
      "new_id": "36337ae6e2fca8bb1ca541ee18c8656784730280",
      "new_mode": 33188,
      "new_path": "tests/util/BUILD"
    },
    {
      "type": "modify",
      "old_id": "c2c42761dc2335eaadb51559a68e1df0fd5655de",
      "old_mode": 33188,
      "old_path": "tests/zip/BUILD",
      "new_id": "3d68fd18a818f6c58d373e3e52b43e75aa56eaf5",
      "new_mode": 33188,
      "new_path": "tests/zip/BUILD"
    }
  ]
}
