)]}'
{
  "commit": "2b5447bca3b85141aedc7676f83a19ea2f030739",
  "tree": "53424d2047c049b8c0530329368dc72d3b4decd7",
  "parents": [
    "6ffb04e299d483222ebb5bb940d13c25b51cdb5e"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Thu Dec 14 02:34:22 2023 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 13 17:34:22 2023 +0000"
  },
  "message": "feat(whl_library): generate platform-specific dependency closures (#1593)\n\nBefore this change, the dependency closures would be influenced by the\nhost-python interpreter, this removes the influence by detecting the\nplatforms against which the `Requires-Dist` wheel metadata is evaluated.\nThis functionality can be enabled via `experimental_target_platforms`\nattribute to the `pip.parse` extension and is showcased in the `bzlmod`\nexample. The same attribute is also supported on the legacy `pip_parse`\nrepository rule.\n\nThe detection works in the following way:\n- Check if the python wheel is platform specific or cross-platform\n  (i.e., ends with `any.whl`), if it is then platform-specific\n  dependencies are generated, which will go through a `select`\n  statement.\n- If it is platform specific, then parse the platform_tag and evaluate\n  the `Requires-Dist` markers assuming the target platform rather than\n  the host platform.\n\nNOTE: The `whl` `METADATA` is now being parsed using the `packaging`\nPython package instead of `pkg_resources` from `setuptools`.\n\nFixes #1591\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1937fe549d03ae51128bf50ab8d67d01a1b486ab",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "4c761ed750ba6e581ca1dfbc710ed1a5bae1a8a9",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "44d686e3dc676fca463b42632f8bca4e2d49c708",
      "old_mode": 33188,
      "old_path": "examples/bzlmod/MODULE.bazel",
      "new_id": "9ce84ee78b8aae41fe39cd98a0ac7c757187d97f",
      "new_mode": 33188,
      "new_path": "examples/bzlmod/MODULE.bazel"
    },
    {
      "type": "modify",
      "old_id": "07e3353c779da63e2be16c77092641f2c091b758",
      "old_mode": 33188,
      "old_path": "python/pip_install/pip_repository.bzl",
      "new_id": "bf37977f0cab4c06e6f6008b1a03ee11f551a098",
      "new_mode": 33188,
      "new_path": "python/pip_install/pip_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "6d0f167f02418bea11582a9737b00949287db69d",
      "old_mode": 33188,
      "old_path": "python/pip_install/private/generate_whl_library_build_bazel.bzl",
      "new_id": "568b00e4df177c9156fcd11f587f61230ba94fe7",
      "new_mode": 33188,
      "new_path": "python/pip_install/private/generate_whl_library_build_bazel.bzl"
    },
    {
      "type": "modify",
      "old_id": "0eadcc25f64529e28fbc4fb3606daf27b451f8d4",
      "old_mode": 33188,
      "old_path": "python/pip_install/tools/wheel_installer/BUILD.bazel",
      "new_id": "a396488d3df63b48c39dc982453ace04a7506766",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "25fd30f87981c25221e7d0ae4966f80655a63c25",
      "old_mode": 33188,
      "old_path": "python/pip_install/tools/wheel_installer/arguments.py",
      "new_id": "71133c29ca3d6eb73fa39c532055d0a84f10234f",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/arguments.py"
    },
    {
      "type": "modify",
      "old_id": "7193f4a2dccdd4da3fdb48214a700e7cc7a045f3",
      "old_mode": 33188,
      "old_path": "python/pip_install/tools/wheel_installer/arguments_test.py",
      "new_id": "840c2fa6cccee299a12ec426495e9f6db69d4a67",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/arguments_test.py"
    },
    {
      "type": "modify",
      "old_id": "84af04ca598d465f2b3e4fe6ae71e1f260bd90b3",
      "old_mode": 33188,
      "old_path": "python/pip_install/tools/wheel_installer/wheel.py",
      "new_id": "9c18dfde80f2e226031f02120cd520b655b088b6",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/wheel.py"
    },
    {
      "type": "modify",
      "old_id": "f5ed8c3db8cea765af34ac5392096c2000a95bf7",
      "old_mode": 33188,
      "old_path": "python/pip_install/tools/wheel_installer/wheel_installer.py",
      "new_id": "801ef959f0efe14ba9127b4f133d9eea5d56f5b5",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/wheel_installer.py"
    },
    {
      "type": "modify",
      "old_id": "b24e50053f6aa27f5476b372a5fc9ad4267f6c3f",
      "old_mode": 33188,
      "old_path": "python/pip_install/tools/wheel_installer/wheel_installer_test.py",
      "new_id": "6eacd1fda5e592bbab6750f71861faaa745d6b39",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/wheel_installer_test.py"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "57bfa9458a7ad3eebc8fd59075f7409e3810d04e",
      "new_mode": 33188,
      "new_path": "python/pip_install/tools/wheel_installer/wheel_test.py"
    },
    {
      "type": "modify",
      "old_id": "305039fb2eeeca6a98fe78f3ded91d33a854bf31",
      "old_mode": 33188,
      "old_path": "python/private/bzlmod/pip.bzl",
      "new_id": "3735ed84b37da11599d9b6d9cd7d26a1e8c66399",
      "new_mode": 33188,
      "new_path": "python/private/bzlmod/pip.bzl"
    },
    {
      "type": "modify",
      "old_id": "da67001ce8b2ded40fd5615d74afe469019676da",
      "old_mode": 33188,
      "old_path": "python/private/text_util.bzl",
      "new_id": "a1bec5e41117a8c0557bb198d5a063ae254af3ac",
      "new_mode": 33188,
      "new_path": "python/private/text_util.bzl"
    },
    {
      "type": "modify",
      "old_id": "c65beb54ae8209d67ac34276655043dc82892fe2",
      "old_mode": 33188,
      "old_path": "tests/pip_install/whl_library/generate_build_bazel_tests.bzl",
      "new_id": "b89477fd4cd623b2b8fd3971cbb8472dfcc78df6",
      "new_mode": 33188,
      "new_path": "tests/pip_install/whl_library/generate_build_bazel_tests.bzl"
    }
  ]
}
