)]}'
{
  "commit": "369ca91fe346a7dac760a883d36352510eac8f1d",
  "tree": "6fbc3495e85b9f400d44d6af2347a5cb29d37f39",
  "parents": [
    "c0415c67e6f9c0951176354e0256a55e85e475aa"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Wed May 28 09:50:03 2025 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed May 28 00:50:03 2025 +0000"
  },
  "message": "refactor(pypi): return a list from parse_requirements (#2931)\n\nThe modeling of the data structures returned by the `parse_requirements`\nfunction was not optimal and this was because historically there was\nmore logic in the `extension.bzl` and more things were decided there.\n\nWith the recent refactors it is possible to have a harder to misuse data\nstructure from the `parse_requirements`. For each `package` we will\nreturn a struct which will have a `srcs` field that will contain easy to\nconsume values.\n\nWith this in place we can do the fix that is outlined in the referenced\nissue.\n\nWork towards #2648",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "d3a15dfc443a8e1f30a75f4d29f09a693f1f99f8",
      "old_mode": 33188,
      "old_path": "python/private/pypi/extension.bzl",
      "new_id": "b79be6e038f8fe0740cf64f1893e8e05cab5e824",
      "new_mode": 33188,
      "new_path": "python/private/pypi/extension.bzl"
    },
    {
      "type": "modify",
      "old_id": "bdfac46ed6f1d7ee41b24b6d5be35b440ccd998d",
      "old_mode": 33188,
      "old_path": "python/private/pypi/parse_requirements.bzl",
      "new_id": "bd2981efc0f12b9901d4861313e63e9c77e44930",
      "new_mode": 33188,
      "new_path": "python/private/pypi/parse_requirements.bzl"
    },
    {
      "type": "modify",
      "old_id": "c8d23f471f212c9d264524e405a5b6b67079ed9e",
      "old_mode": 33188,
      "old_path": "python/private/pypi/pip_repository.bzl",
      "new_id": "724fb6ddba06ab36e0e1b6e0ca63ef55a1730afc",
      "new_mode": 33188,
      "new_path": "python/private/pypi/pip_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "497e08361f9d53fea98d134d19007347d429a6ca",
      "old_mode": 33188,
      "old_path": "tests/pypi/parse_requirements/parse_requirements_tests.bzl",
      "new_id": "926a7e0c508302b88db08f504f526774f351c756",
      "new_mode": 33188,
      "new_path": "tests/pypi/parse_requirements/parse_requirements_tests.bzl"
    }
  ]
}
