)]}'
{
  "commit": "b06400c57b463335c0cb625de4c7c4ba8c262b64",
  "tree": "25a2aec4741a0f70c4c8c6ab66b8f944f9be33ac",
  "parents": [
    "89cd56c1aa8440047f624bcf9596721e5561aab9"
  ],
  "author": {
    "name": "brandjon",
    "email": "brandjon@google.com",
    "time": "Thu Jun 20 09:30:31 2019 -0700"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Thu Jun 20 09:31:49 2019 -0700"
  },
  "message": "Expose `PyRuntimeInfo` from `py_binary` and `py_test` rules\n\nThis allows targets that depend on an executable Python target to see what runtime was chosen from the toolchain. The returned `PyRuntimeInfo` provider is the same type of value as what\u0027s returned by the `py_runtime` rule.\n\nFor example, the path to the system interpreter (if not using an in-workspace interpreter) can be accessed from a dependency as `mydep[PyRuntimeInfo].interpreter_path`. The Python major version for a target can also indirectly be obtained from the version of its runtime, as `mydep[PyRuntimeInfo].python_version`.\n\nFixes #7805.\n\nRELNOTES: None\nPiperOrigin-RevId: 254212408\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0c31dbf1d291d7680925fe250696429c64530bd9",
      "old_mode": 33188,
      "old_path": "src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java",
      "new_id": "31f13ef27ab1525bd704c20188fadca3421bd2e5",
      "new_mode": 33188,
      "new_path": "src/main/java/com/google/devtools/build/lib/rules/python/PyCommon.java"
    },
    {
      "type": "modify",
      "old_id": "bf14b2441d64b22574b8e818874a6465208b5dae",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/rules/python/PyExecutableConfiguredTargetTestBase.java",
      "new_id": "a5d30925d170d5a6327b9647563d53df0b7cc093",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/rules/python/PyExecutableConfiguredTargetTestBase.java"
    },
    {
      "type": "modify",
      "old_id": "358c9b38253a95c296e6bb0a19109b36e2862478",
      "old_mode": 33188,
      "old_path": "src/test/java/com/google/devtools/build/lib/rules/python/PyLibraryConfiguredTargetTest.java",
      "new_id": "c4b15e40b3cab5c69cf315401fb3f826e44c1b35",
      "new_mode": 33188,
      "new_path": "src/test/java/com/google/devtools/build/lib/rules/python/PyLibraryConfiguredTargetTest.java"
    }
  ]
}
