)]}'
{
  "commit": "f75d52c31e7bfa3512b9b5787ab2686b82c4006f",
  "tree": "a886a9ae11ce3a66a03a5d2086518ade9a97bb23",
  "parents": [
    "ad3df4736d7ba7b79efdebc9f00b40063f58c2d2"
  ],
  "author": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Sat Nov 21 01:24:33 2026 +0900"
  },
  "committer": {
    "name": "Ignas Anikevicius",
    "email": "240938+aignas@users.noreply.github.com",
    "time": "Sat Nov 21 01:24:33 2026 +0900"
  },
  "message": "fix(version.bzl): compare versions as per the version specifiers spec\n\nThe comparison operators did not follow the spec when the versions had\npre, post or dev release segments, local versions or a different number\nof release segments. Fix by:\n* Building the sort key like packaging does, so that it is a total order\n  and trailing zeros of the release are not significant.\n* Implementing the operators on top of that key.\n* Matching the `V.*` prefix on the release segments instead of the\n  normalized string.\n* Treating the right hand side as the specifier, i.e. the local version\n  is only ignored if the specifier does not have it and only the\n  specifier can use the `V.*` prefix matching.\n\nAll of the specifier cases from the packaging test-suite and the\noperator matrix are now enabled.\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5a9d897ddab5f8bfd82d37d25edfa528116fe441",
      "new_mode": 33188,
      "new_path": "news/version-specifier-comparison.fixed.md"
    },
    {
      "type": "modify",
      "old_id": "b13327841bb38c781d7d52226a5525b5cd6ec6e2",
      "old_mode": 33188,
      "old_path": "python/private/version.bzl",
      "new_id": "a559a6f05fdaf44904d7c056dfe2dae886871092",
      "new_mode": 33188,
      "new_path": "python/private/version.bzl"
    },
    {
      "type": "modify",
      "old_id": "7c7b5d81737a81b7bc037218b4cb27ad664b8453",
      "old_mode": 33188,
      "old_path": "tests/pypi/pep508/evaluate_tests.bzl",
      "new_id": "53986e639d52e6061de2f2a148f79e1cdfbbb345",
      "new_mode": 33188,
      "new_path": "tests/pypi/pep508/evaluate_tests.bzl"
    },
    {
      "type": "modify",
      "old_id": "000aa6ceba3605b40b29e27b6f9b27336bec72b1",
      "old_mode": 33188,
      "old_path": "tests/version/packaging_conformance_tests.bzl",
      "new_id": "e41743b87776f0d016bc28bca6643179e2655201",
      "new_mode": 33188,
      "new_path": "tests/version/packaging_conformance_tests.bzl"
    }
  ]
}
