)]}'
{
  "commit": "2bcfe118ee731390eb3b3544808e5d8a27a11b78",
  "tree": "765288cdf81751c62fdfef823538b87a495482c2",
  "parents": [
    "a3a8f75440c42613d5a6831983bae30e5b2b797c"
  ],
  "author": {
    "name": "Itamar Oren",
    "email": "itamarost@gmail.com",
    "time": "Thu Nov 26 19:17:53 2026"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Nov 26 19:17:53 2026"
  },
  "message": "gh-119696: Support relative pkg-config prefixes behind --enable-relocatable flag (#162185)\n\n`make install` writes `python-3.X.pc` and `python-3.X-embed.pc` with an absolute `prefix\u003d`, so they are wrong once the installation is relocated. Using `prefix\u003d${pcfiledir}/../..` fixes that, but it isn\u0027t a viable default: pkg-config doesn\u0027t treat the resulting paths as system directories when the installation is under `/usr` (python/prebuilt-cpython#45). So this also introduces an `--enable-relocatable` configure option as an opt-in mechanism for this and future build-time tweaks that are needed to support relocatability but shouldn\u0027t be made the default.\n\nSince relocatability is work-in-progress, and specifying the option doesn\u0027t yet produce a fully functional relocatable build, it is left out of the configure options docs and What\u0027s New for now.\n\nCo-authored-by: Zanie Blue \u003ccontact@zanie.dev\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "af642e25ac8c3df3b8e8b61bf3f8bef5d753b652",
      "old_mode": 33188,
      "old_path": "Lib/test/test_sysconfig.py",
      "new_id": "7873534b2415ed99102d75ea55f7c9e77631f439",
      "new_mode": 33188,
      "new_path": "Lib/test/test_sysconfig.py"
    },
    {
      "type": "modify",
      "old_id": "9a53e637a86a6264915c395fff69b6e71aa88668",
      "old_mode": 33188,
      "old_path": "Makefile.pre.in",
      "new_id": "0267fa7dfc35311cfffdc3d653c2b8dcae17acc9",
      "new_mode": 33188,
      "new_path": "Makefile.pre.in"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "9b5791169f299e1a4d51f0831099cf52c1b5dbd1",
      "new_mode": 33188,
      "new_path": "Misc/NEWS.d/next/Build/2026-11-15-12-00-00.gh-issue-119696.rElocF.rst"
    },
    {
      "type": "modify",
      "old_id": "da44380d27a1ab0887987d7c1d9efb52cce5835b",
      "old_mode": 33261,
      "old_path": "configure",
      "new_id": "ef5e99828a368b7fce258005a586521cab5ac596",
      "new_mode": 33261,
      "new_path": "configure"
    },
    {
      "type": "modify",
      "old_id": "c73f8f2fd28a1c3fa7f6cb5cdbf46c12030b9820",
      "old_mode": 33188,
      "old_path": "configure.ac",
      "new_id": "9e0063a379e77a8f956e2d75aa344bb3fe068e0d",
      "new_mode": 33188,
      "new_path": "configure.ac"
    }
  ]
}
