)]}'
{
  "commit": "bda710c54731753b652041aa7c7d9967c012cef0",
  "tree": "b3babe59aca3c22edff8ea6c03f26f4bb7b635db",
  "parents": [
    "e8236572b8270e06222cc605432bc8284a902408"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Thu Dec 12 09:17:52 2024 +0900"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Dec 12 00:17:52 2024 +0000"
  },
  "message": "fix(pypi): pass requirements without env markers to the whl_library (#2488)\n\nWith this change the environment markers from the requirements.txt files\nno longer end up in the whl_library definitions. I am reusing a function\nthat already is parsing each requirement line for `sha256` values and\nadded\nlogic to extract the `marker` at that point. This means that the change\nis\nalso trivial to backport to the `WORKSPACE` and the logic in the\nextension\nbecomes simpler and we don\u0027t rely only on integration tests.\n\nExpected changes to the users:\n* If they have vendored pip requirements in `WORKSPACE`, those will be\n  reformatted and the env markers will be removed.\n* The `MODULE.bazel.lock` file will be likewise reformatted if users are\nnot using `--experimental_index_url`. Also, the env markers will not be\n  passed in the `requirement`.\n* `bazel query \u0027deps(\"@pypi//foo\")\u0027` should start working in more cases.\n\nFixes #2450.\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1f84193e6276d2d839025de437e7a27e0a7fc5a1",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "8605a4a03dcf95a7483aa9b4db9536dbe1d5751c",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "50bfe9fe8ed3d14c49266e90ff9ae91240868f10",
      "old_mode": 33188,
      "old_path": "examples/pip_parse_vendored/requirements.bzl",
      "new_id": "ead5c49b2678963913e429288b129fc2673286d4",
      "new_mode": 33188,
      "new_path": "examples/pip_parse_vendored/requirements.bzl"
    },
    {
      "type": "modify",
      "old_id": "edfd5809f47a5fc1d0679bb16270325720b306b6",
      "old_mode": 33188,
      "old_path": "python/private/pypi/extension.bzl",
      "new_id": "9b150bdce0a19b574a62076f1fb32cc58c9b7720",
      "new_mode": 33188,
      "new_path": "python/private/pypi/extension.bzl"
    },
    {
      "type": "modify",
      "old_id": "21660141db0039d29d1ea9285e52423d39ab6a32",
      "old_mode": 33188,
      "old_path": "python/private/pypi/index_sources.bzl",
      "new_id": "8b3c300946f508811bea5d68239952abaa0890b4",
      "new_mode": 33188,
      "new_path": "python/private/pypi/index_sources.bzl"
    },
    {
      "type": "modify",
      "old_id": "133ed18db8f82fa335f6e49b176fd85167896d59",
      "old_mode": 33188,
      "old_path": "python/private/pypi/parse_requirements.bzl",
      "new_id": "821913d6de60758e2e1446900b2dfd48799c2358",
      "new_mode": 33188,
      "new_path": "python/private/pypi/parse_requirements.bzl"
    },
    {
      "type": "modify",
      "old_id": "47fa31f1bcc9b530866f23a0cfcc423181def0c0",
      "old_mode": 33188,
      "old_path": "python/private/pypi/pip_repository.bzl",
      "new_id": "4591591dc9d9f457f8d9558840009e38c532aa17",
      "new_mode": 33188,
      "new_path": "python/private/pypi/pip_repository.bzl"
    },
    {
      "type": "modify",
      "old_id": "b9427795ec70f7c6647290fa3e0a5f19c4dedaf8",
      "old_mode": 33188,
      "old_path": "tests/pypi/extension/extension_tests.bzl",
      "new_id": "1caab23ceaac3b8e0e1e0dd9cb0b7b760adf20ee",
      "new_mode": 33188,
      "new_path": "tests/pypi/extension/extension_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "0a767078ba34e5e73db516c0da6ba1a57875107e",
      "old_mode": 33188,
      "old_path": "tests/pypi/index_sources/index_sources_tests.bzl",
      "new_id": "440957e2f01478538ac98de8fa5db26444421b5d",
      "new_mode": 33188,
      "new_path": "tests/pypi/index_sources/index_sources_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "dfa1fef5c350f3bba6fb5f7a23665b6944580d3e",
      "old_mode": 33188,
      "old_path": "tests/pypi/parse_requirements/parse_requirements_tests.bzl",
      "new_id": "77e22b825aef642f20a2cdbbf15fc3bb0f196c5a",
      "new_mode": 33188,
      "new_path": "tests/pypi/parse_requirements/parse_requirements_tests.bzl"
    }
  ]
}
