Uh oh!
There was an error while loading. Please reload this page.
gh-131372: Configurable build-details.json name - #150098
Conversation
FFY00
commented
May 19, 2026
I would prefer to rename the configure option to something like What do you think? |
stefanor
commented
May 19, 2026
That works for me! |
Linux distributions that co-install multiple Python versions in the same path (e.g. multiarch on Debian, debug builds, and free-threading) need a way to place multiple build-details.jsons side-by-side. PEP-739 is being updated [0] to recommend renaming in this situation. To ensure some standardization, this PR generates appropriate names for distributions that need to use this feature. [0]: python/peps#4889
stefanor
commented
May 19, 2026
@FFY00: Implemented that |
picnixz
commented
May 20, 2026
Can we have an issue for those kind of changes? this is solely so that people can more easily report issues later and for cross-references (or use an existing one) |
stefanor
commented
May 20, 2026
Ah, there was already an issue, I'd forgotten about it. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Documentation build overview
|
| [ | ||
| AC_MSG_CHECKING([for --with-build-details-suffix]) | ||
| AS_VAR_IF( | ||
| [with_build_detials_suffix], [no], |
There was a problem hiding this comment.
Shouldn't this have been...
| [with_build_detials_suffix], [no], | |
| [with_build_details_suffix], [no], |
... instead?
There was a problem hiding this comment.
You can see the same typo in the branch name :)
Linux distributions that co-install multiple Python versions in the same path (e.g. multiarch on Debian, debug builds, and free-threading) need a way to place multiple
build-details.jsons side-by-side.PEP-739 is being updated to recommend renaming in this situation. To ensure some standardisation, this PR generates appropriate names for distributions that need to use this feature. The name will be exposed in
sysconfig.My first preference would be to always do this, using the
ABIFLAGSdirectly in the name. But this leads to less-human-readable names and the PEP authors preferred a static name where possible and a more verbose name, when we choose to rename.@FFY00