)]}'
{
  "commit": "5eb139f36793494313aa84429c50588c802f82e3",
  "tree": "1e57eaae0625db7e16466536eda857c583eeca13",
  "parents": [
    "096a04fdcd2c3ff29f485d57129a1d838f022867"
  ],
  "author": {
    "name": "Chowder",
    "email": "16789070+chowder@users.noreply.github.com",
    "time": "Wed Dec 04 04:51:35 2024 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 04 04:51:35 2024 +0000"
  },
  "message": "fix: only delete first sys.path entry in the stage-2 bootstrap if PYTHONSAFEPATH is unset or unsupported (#2418)\n\nUnnconditionally deleting the first `sys.path` entry on the stage-2\nbootstrap incorrecly removes a valid search path on Python 3.11 and\nabove, since `PYTHONSAFEPATH` is already unconditionally set in stage-1.\n\nIt should be deleted only if it is unset or unsupported. \n\nFixes https://github.com/bazelbuild/rules_python/issues/2318\n\n---------\n\nCo-authored-by: Richard Levasseur \u003crichardlev@gmail.com\u003e\nCo-authored-by: Richard Levasseur \u003crlevasseur@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1fa047b47d1c46789e3006ff77f9bf3789cccb5f",
      "old_mode": 33188,
      "old_path": "CHANGELOG.md",
      "new_id": "590a9c795b2fc124bfac6b421a127b0e8458992e",
      "new_mode": 33188,
      "new_path": "CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "d2c7497795776ac743b6ab2adda152a9ab837341",
      "old_mode": 33188,
      "old_path": "python/private/stage2_bootstrap_template.py",
      "new_id": "1e19a71b6402fd877dcdffdb6641dd5939b59a8b",
      "new_mode": 33188,
      "new_path": "python/private/stage2_bootstrap_template.py"
    },
    {
      "type": "modify",
      "old_id": "2fb1f38ff0c0abf1e8241ebaf5aec965430d9f7a",
      "old_mode": 33188,
      "old_path": "tests/bootstrap_impls/BUILD.bazel",
      "new_id": "8e50f34cfa120573f53e0489606661d63006fe12",
      "new_mode": 33188,
      "new_path": "tests/bootstrap_impls/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "f12d1c9a708db2b976e0b30c25697e604967c585",
      "new_mode": 33188,
      "new_path": "tests/no_unsafe_paths/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1f6cd4e569cb8def02fac896db56733be25b3c56",
      "new_mode": 33188,
      "new_path": "tests/no_unsafe_paths/test.py"
    },
    {
      "type": "modify",
      "old_id": "7358a6b1ee6252c616b2246b96f08d0ce93d75ac",
      "old_mode": 33188,
      "old_path": "tests/support/support.bzl",
      "new_id": "2b6703843bcbd581d673b04e215709f7afa9b35e",
      "new_mode": 33188,
      "new_path": "tests/support/support.bzl"
    }
  ]
}
