gh-131372: Configurable build-details.json name#150098
Conversation
|
I would prefer to rename the configure option to something like What do you think? |
|
That works for me! |
b6759d2 to
1345552
Compare
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
1345552 to
adb7586
Compare
|
@FFY00: Implemented that |
|
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) |
Ah, there was already an issue, I'd forgotten about it. |
a606e8b to
900ec0d
Compare
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