]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134632: Fix `build-details.json` to use `INCLUDEPY` path (#134633)
authorMichał Górny <mgorny@gentoo.org>
Tue, 17 Jun 2025 08:05:04 +0000 (10:05 +0200)
committerGitHub <noreply@github.com>
Tue, 17 Jun 2025 08:05:04 +0000 (08:05 +0000)
commit0d582def34babca7417ece8a9e4e16cc2a752d44
tree3b3fe619cbdf5acd4d6b2a1d3606a08e6996d744
parentc51f241c97c5bcc8ae6830842db5b00f76d6a592
gh-134632: Fix `build-details.json` to use `INCLUDEPY` path (#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
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