)]}'
{
  "commit": "b4b52fc89a58e6b7d5d0675b0661a09f932ec37e",
  "tree": "a0228b36f4fe68a219cb04d2b9353d48079fdfbe",
  "parents": [
    "c84cdf5379aa286e904a9ae9519c53a7ac0f147d"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Sat Jun 01 13:36:48 2024 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Jun 01 04:36:48 2024 +0000"
  },
  "message": "refactor/fix: store dists in parse_requirements output (#1917)\n\nThis moves some of the code out of the `pip.bzl` extension and changes\nthe layout of the code to prepare for multi-platform whl support.\n\nSummary:\n\n* parse_requirements: add whls and sdists attribute, so that we can use\n  a function to populate the lists. Not sure if there is a better way to\n  do this.\n* parse_requirements: add an extra code to ensure that we are handling\n  the target platform filtering correctly.\n* select_whl: split the `select_whl` into `select_whls`, which filters\n  the whls (this can be used later in multi-platform selects) and\n  select_whl , which just is used get the most appropriate whl for the\n  host platform.\n* Additionally fix the logic in `select_whl`, which would result in\n  Python 3.12 wheels being selected on Python 3.11 interpreters because\n  we were not taking into account the interpreter tag when doing the\n  filtering.\n\nFixes #1930",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e15be3bbccf6c2e600c11614f094caee418985c9",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "3fdd039a5db2cf7cee3d361d0e8a53602b73e12e",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "17d80838e04e84a5ac7a2729a4b9434b13cde1ce",
      "old_mode": 33188,
      "old_path": "python/pip_install/pip_repository.bzl",
      "new_id": "d6c8d9149cb2a3207be3ff2b7441ad9102458925",
      "new_mode": 33188,
      "new_path": "python/pip_install/pip_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "aa70810549dd91d74e464188a640b1696bd69abb",
      "old_mode": 33188,
      "old_path": "python/private/bzlmod/pip.bzl",
      "new_id": "9e29877b426d1d41ef0e8d04583fbd6c94673260",
      "new_mode": 33188,
      "new_path": "python/private/bzlmod/pip.bzl"
    },
    {
      "type": "modify",
      "old_id": "f9d7a0538650f620bc617c687be93a65e8c66fb5",
      "old_mode": 33188,
      "old_path": "python/private/parse_requirements.bzl",
      "new_id": "c6a498539f4d3fe6b18b681982fd22556a457379",
      "new_mode": 33188,
      "new_path": "python/private/parse_requirements.bzl"
    },
    {
      "type": "modify",
      "old_id": "9c7866eb9ec3f0cf48d59b3bcf5fc88a88e80cf5",
      "old_mode": 33188,
      "old_path": "python/private/parse_whl_name.bzl",
      "new_id": "063ac84a9220ac931114f812dc41d266050b4f66",
      "new_mode": 33188,
      "new_path": "python/private/parse_whl_name.bzl"
    },
    {
      "type": "modify",
      "old_id": "7a5921781de91398df7f1f469af78c33636d03c3",
      "old_mode": 33188,
      "old_path": "python/private/repo_utils.bzl",
      "new_id": "52677584e4177c1b783d393bd9717495a5dfa354",
      "new_mode": 33188,
      "new_path": "python/private/repo_utils.bzl"
    },
    {
      "type": "modify",
      "old_id": "14e178a66bbf5d00f86da14f3771d9af56441438",
      "old_mode": 33188,
      "old_path": "python/private/whl_target_platforms.bzl",
      "new_id": "678c841feb1a9ddc6ab39a6747a6f7239e83403a",
      "new_mode": 33188,
      "new_path": "python/private/whl_target_platforms.bzl"
    },
    {
      "type": "modify",
      "old_id": "0d6cd4e0e02738ecb5dc863aa29713e32d21fd49",
      "old_mode": 33188,
      "old_path": "tests/private/parse_requirements/parse_requirements_tests.bzl",
      "new_id": "81cf5234601ff0f6a9e6054694cf1e8f3dcbb634",
      "new_mode": 33188,
      "new_path": "tests/private/parse_requirements/parse_requirements_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "bed6d6633c31ba3a3d3ea5629ef62e7650ceb867",
      "old_mode": 33188,
      "old_path": "tests/private/whl_target_platforms/select_whl_tests.bzl",
      "new_id": "ebd2b263f1e0573066f372c1382e17bba2ec9a42",
      "new_mode": 33188,
      "new_path": "tests/private/whl_target_platforms/select_whl_tests.bzl"
    }
  ]
}
