)]}'
{
  "commit": "c5ae8a39ca23b7d49a667ea87326f5941b6a5f47",
  "tree": "faf0287bd00ad5a070b880cf5cf30b04480c06f5",
  "parents": [
    "2d33cd0d13aac38e81388e872755295db78b7577"
  ],
  "author": {
    "name": "Spencer Putt",
    "email": "sputt@alumni.iu.edu",
    "time": "Sat Oct 24 15:27:05 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Oct 24 15:27:05 2026 +0000"
  },
  "message": "fix: don\u0027t materialize rules_python under the remote repo contents cache (#4294)\n\nWith `--experimental_remote_repo_contents_cache`, a module extension or\nrepository rule that reads a Label makes Bazel copy that whole repo to\ndisk. The `python` extension and the `pythons_hub` repo read\n`runtimes_manifest.txt` this way, so every build materializes\nrules_python.\n\nThis replaces `runtimes_manifest.txt` and\n`runtimes_manifest_workspace.bzl` with a single `runtimes_manifest.bzl`\n(`MANIFEST_TEXT`) loaded directly by both Bzlmod and WORKSPACE mode, and\nupdates `sort_manifest.py` to sort `runtimes_manifest.bzl` in place.\n\nBefore: `DEBUG: Materializing remote repo @@rules_python+` on every\nbuild. After: no materialization; the same 741 `@pythons_hub` targets\nand an identical `versions.bzl`. Tested with Bazel 10.0.0rc1 and a\nremote cache, querying `@pythons_hub//:all` from a fresh output base\nafter a warm-up run.\n\nTests: the mock `module_ctx` can\u0027t read real files, which is why the\nextension tests had a fake default manifest. Since the manifest is now\nloaded rather than read, they use the real one, and the fake is removed.\nThe archive-flavor test passes its own manifest through a new\ntesting-only `_default_runtime_manifest` argument.\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "4f93d89d336601a667839ee31ebf7980680f1b27",
      "old_mode": 33188,
      "old_path": ".gitattributes",
      "new_id": "27e0b7245d832a32122b743634b2a65838b6a18e",
      "new_mode": 33188,
      "new_path": ".gitattributes"
    },
    {
      "type": "modify",
      "old_id": "c4165a5ea8a3320c1c5283735b5ae165a5e02229",
      "old_mode": 33188,
      "old_path": ".pre-commit-config.yaml",
      "new_id": "a2ff683ca44d36d5094f144de37e31ff5aaf4b1c",
      "new_mode": 33188,
      "new_path": ".pre-commit-config.yaml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "81507c573c99b0db3339f258c300fb48bce8c3f8",
      "new_mode": 33188,
      "new_path": "news/4294.fixed.md"
    },
    {
      "type": "modify",
      "old_id": "137fe0052534fa740acccaea7826aeefec7d8bc2",
      "old_mode": 33188,
      "old_path": "python/BUILD.bazel",
      "new_id": "e0e32c5d723d7ef6ac24dcf97d0e39c5c14e7dd5",
      "new_mode": 33188,
      "new_path": "python/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "0f5c078fbdd48b3f68b876532bbae23ca11d62b7",
      "old_mode": 33188,
      "old_path": "python/private/BUILD.bazel",
      "new_id": "075b77b05d7341f19bd6eec1697d98bcf9346959",
      "new_mode": 33188,
      "new_path": "python/private/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "19db885e570e8b6adbb69aae03bee24e6c8c090a",
      "old_mode": 33188,
      "old_path": "python/private/python.bzl",
      "new_id": "8037963f31d571421369e76aecee291985205812",
      "new_mode": 33188,
      "new_path": "python/private/python.bzl"
    },
    {
      "type": "modify",
      "old_id": "cd699e78517e1ab80cd813cdad0a32fc365480de",
      "old_mode": 33188,
      "old_path": "python/private/pythons_hub.bzl",
      "new_id": "e2c06ed8e95a792b40611675b21c9826575a2267",
      "new_mode": 33188,
      "new_path": "python/private/pythons_hub.bzl"
    },
    {
      "type": "rename",
      "old_id": "ff37950713609c21ec2b2e03ef439266cb59063b",
      "old_mode": 33188,
      "old_path": "python/private/runtimes_manifest_workspace.bzl",
      "new_id": "27b0fe2137b6fe84ee001afe02becfa7ab915dab",
      "new_mode": 33188,
      "new_path": "python/private/runtimes_manifest.bzl",
      "score": 99
    },
    {
      "type": "delete",
      "old_id": "5bed4cc4361e890d73ba4dc8af66047fda4dfb10",
      "old_mode": 33261,
      "old_path": "python/private/runtimes_manifest.txt",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "41bf4181e527448969304e00f097e0e1776aed39",
      "old_mode": 33261,
      "old_path": "python/private/tools/sort_manifest.py",
      "new_id": "bacaf7122eb694411b9b7c2a91e424e36475f909",
      "new_mode": 33261,
      "new_path": "python/private/tools/sort_manifest.py"
    },
    {
      "type": "delete",
      "old_id": "450358542a1183e760e68904d39b7b855dc9764d",
      "old_mode": 33261,
      "old_path": "python/private/tools/sync_runtimes_manifest_workspace.py",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "9b781242b8a0883ddf03a17908c1661bbe11f112",
      "old_mode": 33188,
      "old_path": "python/versions.bzl",
      "new_id": "393a5d26068d08e33f74cbe407e8e7660e5dcf66",
      "new_mode": 33188,
      "new_path": "python/versions.bzl"
    },
    {
      "type": "modify",
      "old_id": "09f63916780ed6f55eec12aa3eaf8be77c043ac5",
      "old_mode": 33188,
      "old_path": "tests/python/python_tests.bzl",
      "new_id": "fda82af036eb3e2fd540234e4fdb51a490b34ecd",
      "new_mode": 33188,
      "new_path": "tests/python/python_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "7c1ac7bd36f60d10d65e4811bf7745e5523df8c7",
      "old_mode": 33188,
      "old_path": "tests/support/mocks/python_ext.bzl",
      "new_id": "03c9bc386b9a1aabf382e6fab55d67fb53a0789e",
      "new_mode": 33188,
      "new_path": "tests/support/mocks/python_ext.bzl"
    },
    {
      "type": "modify",
      "old_id": "9455cc1bbd7f709bd80356834cd56588feccba6a",
      "old_mode": 33188,
      "old_path": "tests/toolchains/BUILD.bazel",
      "new_id": "fbf2fe8eff3dfee683aa13fbe852da3c6f0352ee",
      "new_mode": 33188,
      "new_path": "tests/toolchains/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "512c4632d27e8da6d7b22af0dc5e93ea202f1dde",
      "new_mode": 33188,
      "new_path": "tests/toolchains/sort_manifest_test.py"
    }
  ]
}
