)]}'
{
  "commit": "46ff357671b64c5711f0d6cb24aae2de1fc37dca",
  "tree": "649046f56777bf60937fdab924672cdc62d3bd14",
  "parents": [
    "3209c66c6bc22b5a702bee9880bb413b0832eaad"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Mon Apr 28 18:44:32 2025 +0900"
  },
  "committer": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Tue Apr 29 11:19:52 2025 +0900"
  },
  "message": "fix(pypi) backport python_full_version fix to Python (#2833)\n\nHandling of `python_full_version` correctly has been fixed in the\nStarlark\nimplementation in #2793 and in this PR I am backporting the changes to\nhandle\nthe full python version target platform strings so that we can have the\nsame\nbehaviour for now.\n\nAt the same time I have simplified and got rid of the specialization\nhandling\nin the Python algorithm just like I did in the starlark, which\nsimplifies the\ntests and makes the algorithm more correct.\n\nSummary:\n* Handle `cp3x.y_os_arch` strings in the `platform.py`\n* Produce correct strings when the `micro_version` is unset. Note, that\nwe use version `0` in evaluating but we use the default version in the\nconfig setting. This is to keep compatibility with the current behaviour\nwhen the target platform is not fully specified (which would be the case\nfor WORKSPACE users).\n* Adjust the tests and the code to be more similar to the starlark impl.\n\nWork towards #2830\n\n(cherry picked from commit 9e613d58cecda3f370698f37f7ca26bf38486db3)\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "11dd6e37ab95a54d4c1469e1f21c6aee485042db",
      "old_mode": 33188,
      "old_path": "python/private/pypi/whl_installer/platform.py",
      "new_id": "ff267fe4aa9e6f00b4ecf9f52b3eed6ced176341",
      "new_mode": 33188,
      "new_path": "python/private/pypi/whl_installer/platform.py"
    },
    {
      "type": "modify",
      "old_id": "d95b33a194541221a9af1008bc4bb3aad6e379b9",
      "old_mode": 33188,
      "old_path": "python/private/pypi/whl_installer/wheel.py",
      "new_id": "fce706acfbb1a4b230321138250df915262d0aa3",
      "new_mode": 33188,
      "new_path": "python/private/pypi/whl_installer/wheel.py"
    },
    {
      "type": "modify",
      "old_id": "2aeb4caa6943d3165e2e0058755ed43fc4e2329a",
      "old_mode": 33188,
      "old_path": "tests/pypi/whl_installer/platform_test.py",
      "new_id": "ad656507799c3e8249804d4dd26a50e235d43748",
      "new_mode": 33188,
      "new_path": "tests/pypi/whl_installer/platform_test.py"
    },
    {
      "type": "modify",
      "old_id": "404218e12b64b85c92f788921bee41ac88c1e9bc",
      "old_mode": 33188,
      "old_path": "tests/pypi/whl_installer/wheel_test.py",
      "new_id": "6921fe6d3f2a08e9af79ef9dc73d04e9864eb765",
      "new_mode": 33188,
      "new_path": "tests/pypi/whl_installer/wheel_test.py"
    }
  ]
}
