]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-134632: Fix `build-details.json` to use `INCLUDEPY` path (GH-134633) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 17 Jun 2025 08:31:10 +0000 (10:31 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Jun 2025 08:31:10 +0000 (08:31 +0000)
commit1bd034de9dcc960f25c419221540ff5a5ac04049
treebe6541fd5df875e77273d37f2361ec1c826d5cf0
parent540fa293ac15fc8db1b457db1b25432443714d39
[3.14] gh-134632: Fix `build-details.json` to use `INCLUDEPY` path (GH-134633) (#135605)

gh-134632: Fix `build-details.json` to use `INCLUDEPY` path (GH-134633)

* gh-134632: Fix `build-details.json` to use `INCLUDEPY` path

Fix ``build-details.json`` generation to use ``INCLUDEPY``, in order to
reference the ``pythonX.Y`` subdirectory of the include directory, as
required in :pep:`739`, instead of the top-level include directory.

* test_build_details: Add tests for the c_api section

* test_build_details: Expect pkgconfig for CPython unconditionally
(cherry picked from commit 0d582def34babca7417ece8a9e4e16cc2a752d44)

Co-authored-by: Michał Górny <mgorny@gentoo.org>
Lib/test/test_build_details.py
Misc/NEWS.d/next/Build/2025-05-24-16-59-20.gh-issue-134632.i0W2hc.rst [new file with mode: 0644]
Tools/build/generate-build-details.py