)]}'
{
  "commit": "9ff6ab7905f79079766c69ff8735542ebf9894bb",
  "tree": "c4f895612e297933a21c69cd6228207aa2d6f534",
  "parents": [
    "bd0ca99d7a03c0319ad17785c02561e7d5fccaae"
  ],
  "author": {
    "name": "Bruno Beltran",
    "email": "129457302+bruno-digitbio@users.noreply.github.com",
    "time": "Fri Jul 19 03:30:46 2024 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Jul 19 07:30:46 2024 +0000"
  },
  "message": "docs: describe `annotations` attr of `pip_parse` (#1667)\n\nMy default expectation would be that the keys to the `annotations`\ndictionary passed to `pip_parse` would use the `normalize_name(...)`\nconvention, as is used elsewhere in the API. However, this does not\nappear to be the case. I originally was going to file a bug, but maybe\njust documenting the current behavior is enough?\n\nFor a minimal repro showing that this capitalization is indeed required,\nsee https://github.com/bruno-digitbio/bug-rules-python-annotation-pyqt\n\nIn that repo, \n```bash\n$ bazel run //:test_has_comment\n$ tail $(bazel info output_base)/external/pip_pyqt6/BUILD.bazel\n$ tail $(bazel info output_base)/external/pip_wheel/BUILD.bazel\n```\nwill both show `# A comment` at the bottom, as requested in the\n`WORKSPACE` file. However, if you first run\n\n```bash\n$ bazel run //:requirements.update\n```\n\nthen the auto-generated requirements file will use lowercase for the\nrequirement specification, breaking the desired behavior.\n\nPlease let me know if it makes more sense to just check in the docs,\ninclude this example (or something similar) as a small test, or\nsomething else. Apologies if I missed anything in the contribution\nguidelines!",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "992b83f63bd2f052acb663e1b7ff8aa4b7474627",
      "old_mode": 33188,
      "old_path": "python/private/pypi/pip_repository.bzl",
      "new_id": "137c524e24b995336846fe8b60bb18c2cedd9f06",
      "new_mode": 33188,
      "new_path": "python/private/pypi/pip_repository.bzl"
    }
  ]
}
