)]}'
{
  "commit": "1ebc93f19de1420ea12c59e3bfb315fec92e54f5",
  "tree": "9b38cac2eec02f03b570a6ea7644689fc8b6c070",
  "parents": [
    "79f654686646e2ab213741bc4774ea9d69895b54"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Sun Oct 05 13:26:45 2025 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sun Oct 05 04:26:45 2025 +0000"
  },
  "message": "feat(pypi): enable pipstar by default (#3225)\n\nBefore this PR we were using our python helpers to parse the whl\nMETADATA for a\nparticular host (or experimentally - target) platform and the fixed\ndependency\nlist would be written to the `BUILD.bazel` files materialized by the\n`whl_library` repository rule.\n\nThis PR adds extra plumbing to leverage the Starlark implementation of\nthe\nMETADATA file parsing (a.k.a. pipstar) which moves the evaluation to\nanalysis\nphase as we will get the target platform details via the\n`env_marker_config_setting` from the `toolchain` used for the\ndependencies.\n\nSince users are normally working with a subset of platforms that the\nMETADATA\nwould pull in, we are writing the list of packages from the requirements\nfile to\na `bzl` file so that `pipstar` knows which packages to consider when\nparsing the\nMETADATA. This will ensure that `bazel query` continues to work.\n\nSince just passing the list of packages to the `whl_library` would cause\nrefetches of all of the `whl_library` dependencies when we add or remove\na\npackage, we pass a path where to load the symbol called `packages` from,\nwhich\nmeans that only the analysis phase will be affected because the macros\nwill be\nre-evaluated if one adds or removes a package.\n\nWe still need to download the correct platform-specific wheels for the\nright\nplatform in order to fully resolve the referenced tickets. With this PR\nwe are\ndeprecating the `experimental_target_platforms` attribute since it has\nno longer\nany effect.\n\nFixes #2949\nWork towards #260\nWork towards #2241\n\n---------\n\nCo-authored-by: gemini-code-assist[bot] \u003c176961590+gemini-code-assist[bot]@users.noreply.github.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "34f658cb8776ee6fc81b5c9daa561b60a7f18815",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "cc59e387ee1f0db31daf0900783dd71cf1ee8674",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "ead5c49b2678963913e429288b129fc2673286d4",
      "old_mode": 33188,
      "old_path": "examples/pip_parse_vendored/requirements.bzl",
      "new_id": "f5551573fb5e9d80858f9cfffd8168a2b4b0247b",
      "new_mode": 33188,
      "new_path": "examples/pip_parse_vendored/requirements.bzl"
    },
    {
      "type": "modify",
      "old_id": "09bc46eea7f79eb6255069be1886f2bc028dd09f",
      "old_mode": 33188,
      "old_path": "python/pip_install/BUILD.bazel",
      "new_id": "665375cc5bb73cdc608299e2deb8f048a32faa78",
      "new_mode": 33188,
      "new_path": "python/pip_install/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "18deee19930f4e52cbd5783c2e5c11cde6c6292f",
      "old_mode": 33188,
      "old_path": "python/pip_install/pip_repository.bzl",
      "new_id": "f9c3c9fb56990731013acfd9752ef61ac54a91a2",
      "new_mode": 33188,
      "new_path": "python/pip_install/pip_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "109e68a8a136b0e33639a0914efbd43838e52793",
      "old_mode": 33188,
      "old_path": "python/private/internal_config_repo.bzl",
      "new_id": "0c6210696e59c2e6404dbff52b888fafae337e13",
      "new_mode": 33188,
      "new_path": "python/private/internal_config_repo.bzl"
    },
    {
      "type": "modify",
      "old_id": "b9650c8152bc5e7e47d4db159f82b671f7e9467a",
      "old_mode": 33188,
      "old_path": "python/private/pypi/BUILD.bazel",
      "new_id": "7d5314dd62895530e6dac77abe1b7b80d2042450",
      "new_mode": 33188,
      "new_path": "python/private/pypi/BUILD.bazel"
    },
    {
      "type": "rename",
      "old_id": "c3ada70d27ba81bd12a17fddb48ec64db22b42fa",
      "old_mode": 33188,
      "old_path": "python/private/pypi/config.bzl.tmpl.bzlmod",
      "new_id": "1037153cac490a7eaf785ba75d13da4f31e67699",
      "new_mode": 33188,
      "new_path": "python/private/pypi/config.bzl.tmpl",
      "score": 79
    },
    {
      "type": "modify",
      "old_id": "3764e720c010294619df5755ebd48cddfe6e1286",
      "old_mode": 33188,
      "old_path": "python/private/pypi/generate_whl_library_build_bazel.bzl",
      "new_id": "e207f6d2f51eccf820917897f31e251db5ba5dab",
      "new_mode": 33188,
      "new_path": "python/private/pypi/generate_whl_library_build_bazel.bzl"
    },
    {
      "type": "delete",
      "old_id": "ff800e2f1850f09c5ffc883d946c169dc1f30f53",
      "old_mode": 33188,
      "old_path": "python/private/pypi/group_library.bzl",
      "new_id": "0000000000000000000000000000000000000000",
      "new_mode": 0,
      "new_path": "/dev/null"
    },
    {
      "type": "modify",
      "old_id": "b6088e4ded2c2a275fc54301178ce165d2aef3ae",
      "old_mode": 33188,
      "old_path": "python/private/pypi/hub_builder.bzl",
      "new_id": "58d35f268163367ce0069cd46e8a86160a27e3b9",
      "new_mode": 33188,
      "new_path": "python/private/pypi/hub_builder.bzl"
    },
    {
      "type": "modify",
      "old_id": "1d572d09e2cca729b8734b9c9daa96b6a208ac79",
      "old_mode": 33188,
      "old_path": "python/private/pypi/hub_repository.bzl",
      "new_id": "f915aa1c77c7d1dd887e5bbb3d617dcefc280aa0",
      "new_mode": 33188,
      "new_path": "python/private/pypi/hub_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "2cf20cd5a797b22f3367ae02c33bcc421c1d1b20",
      "old_mode": 33188,
      "old_path": "python/private/pypi/pip_repository.bzl",
      "new_id": "e9a4c44da332ccb21c6505013ea27f9cb0f948ef",
      "new_mode": 33188,
      "new_path": "python/private/pypi/pip_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "2f4bcd6916304fc4c3df0b06cf3c1300a6d9f034",
      "old_mode": 33188,
      "old_path": "python/private/pypi/requirements.bzl.tmpl.workspace",
      "new_id": "f61a5271f6c256fa6f70b72f21a954888c71458c",
      "new_mode": 33188,
      "new_path": "python/private/pypi/requirements.bzl.tmpl.workspace"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "b7cea5a8b7f035580eafd1205ede2f2ade429b32",
      "new_mode": 33188,
      "new_path": "python/private/pypi/whl_config_repo.bzl"
    },
    {
      "type": "modify",
      "old_id": "5cc53d84c68ab4d7d0af7118e274986402dabebc",
      "old_mode": 33188,
      "old_path": "python/private/pypi/whl_library.bzl",
      "new_id": "fe3308ad3c78f114c0108cd0b8acace9f4c738fc",
      "new_mode": 33188,
      "new_path": "python/private/pypi/whl_library.bzl"
    },
    {
      "type": "modify",
      "old_id": "89c1d348b30f52fb2db5d97c5590fa5a58098ef3",
      "old_mode": 33188,
      "old_path": "python/private/pypi/whl_library_targets.bzl",
      "new_id": "a2d77daf4cf284eb76b55992e8b61d253455f568",
      "new_mode": 33188,
      "new_path": "python/private/pypi/whl_library_targets.bzl"
    },
    {
      "type": "modify",
      "old_id": "cf2d51afda0c51f1e11f63cd5ec26ec088c9bcdc",
      "old_mode": 33188,
      "old_path": "python/private/pypi/whl_metadata.bzl",
      "new_id": "a56aac5782fc877745c04a9fe02788f89607daf2",
      "new_mode": 33188,
      "new_path": "python/private/pypi/whl_metadata.bzl"
    },
    {
      "type": "modify",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "tests/implicit_namespace_packages/testdata/ns-sub1/ns-sub1-1.0.dist-info/METADATA",
      "new_id": "ecec6086ba1915b14526abe85209bc01b3785c5d",
      "new_mode": 33188,
      "new_path": "tests/implicit_namespace_packages/testdata/ns-sub1/ns-sub1-1.0.dist-info/METADATA"
    },
    {
      "type": "modify",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "tests/implicit_namespace_packages/testdata/ns-sub2/ns_sub2-1.0.dist-info/METADATA",
      "new_id": "92cbb8ec2e66cc3d288a8e4102360684a05babc0",
      "new_mode": 33188,
      "new_path": "tests/implicit_namespace_packages/testdata/ns-sub2/ns_sub2-1.0.dist-info/METADATA"
    },
    {
      "type": "modify",
      "old_id": "0514e1d95bde9896d04719c89e85aa2cf6857feb",
      "old_mode": 33188,
      "old_path": "tests/pypi/extension/extension_tests.bzl",
      "new_id": "b1e363bc7b22ef12a94947cf2c165cde5774d800",
      "new_mode": 33188,
      "new_path": "tests/pypi/extension/extension_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "225b296ebfc9759a591f56260f83beaf742385ba",
      "old_mode": 33188,
      "old_path": "tests/pypi/generate_whl_library_build_bazel/generate_whl_library_build_bazel_tests.bzl",
      "new_id": "39c2eb4379a0b8cc5a3bacfcd31f13cec37f04a1",
      "new_mode": 33188,
      "new_path": "tests/pypi/generate_whl_library_build_bazel/generate_whl_library_build_bazel_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "9f6ee6720db562f412d8b01cf672425e0c6bef03",
      "old_mode": 33188,
      "old_path": "tests/pypi/hub_builder/hub_builder_tests.bzl",
      "new_id": "ee6200a70a5d9cac9f3150ebea697b01500bd544",
      "new_mode": 33188,
      "new_path": "tests/pypi/hub_builder/hub_builder_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "615358f35d35cba32f48d24a004885e82d0a5e86",
      "old_mode": 33188,
      "old_path": "tests/pypi/whl_library_targets/whl_library_targets_tests.bzl",
      "new_id": "b7fb9094d7fe9fa9662247dcab97fd9890887e77",
      "new_mode": 33188,
      "new_path": "tests/pypi/whl_library_targets/whl_library_targets_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
      "old_mode": 33188,
      "old_path": "tests/whl_with_build_files/testdata/somepkg-1.0.dist-info/METADATA",
      "new_id": "0829d1f756f1d172388af8cbc3078dacec5c7820",
      "new_mode": 33188,
      "new_path": "tests/whl_with_build_files/testdata/somepkg-1.0.dist-info/METADATA"
    }
  ]
}
