python / python/cpython

Expose extension compiler requirements in build-details.json

Open
#155,170 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

build type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

CPython's build-details.json should expose the extension compiler flags required or recommended by the interpreter build, including PEP 831's frame-pointer choice. This gives generic build backends and tools such as cibuildwheel a supported alternative to copying the complete sysconfig CFLAGS value.

Context: https://github.com/python/peps/pull/5074#discussion_r3711307663

Linked PRs
  • gh-155172

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the PEP 831 discussion and the linked gh-155172 work first to understand the proposed build-details.json fields. Done means exposing the extension compiler flags required or recommended by the interpreter build, including the frame-pointer choice, without requiring tools to copy the complete sysconfig CFLAGS value.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.