Skip to content

gh-127146: Fix Emscripten build with --pydebug #131672

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 24, 2025

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Mar 24, 2025

The deleted logic checks that the sysconfigdata is in a short list, and the list does not allow the d ABI flag to be present so it fails if we build with --with-pydebug. I removed the check because I don't think it is helpful.

The deleted logic checks that the sysconfigdata is in a short list,
and the list does not allow the `d` ABI flag to be present. I removed
the check because I don't think it is helpful.
Copy link
Contributor

@freakboy3742 freakboy3742 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Seems reasonable. If the build is generating the wrong sysconfigdata name, other things are going to explode; and with the new error reporting, that's going to be a lot easier to diagnose.

@freakboy3742 freakboy3742 merged commit 97ab8fc into python:main Mar 24, 2025
54 checks passed
@hoodmane hoodmane deleted the emscripten-pydebug-sysconfigdata branch March 25, 2025 11:34
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 1, 2025
Removes an explicit check that sysconfigdata naming is correct, in favor of reporting at
runtime with the default mechanisms.
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
Removes an explicit check that sysconfigdata naming is correct, in favor of reporting at
runtime with the default mechanisms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants