Skip to content

gh-144533: Use pybuilddir.txt to find _sysconfigdata for WASI#144535

Open
therohityadav wants to merge 1 commit intopython:mainfrom
therohityadav:fix-wasi-build-144533
Open

gh-144533: Use pybuilddir.txt to find _sysconfigdata for WASI#144535
therohityadav wants to merge 1 commit intopython:mainfrom
therohityadav:fix-wasi-build-144533

Conversation

@therohityadav
Copy link

Use pybuilddir.txt to find _sysconfigdata for the WASI build script.

The previous implementation hardcoded the path pattern to build/lib.wasi-wasm32-{python_version}. This change makes the script more robust by reading the exact build directory from pybuilddir.txt if it exists. It falls back to the hardcoded path if the file is missing to ensure backward compatibility during early build stages.

@python-cla-bot
Copy link

python-cla-bot bot commented Feb 6, 2026

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app
Copy link

bedevere-app bot commented Feb 6, 2026

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

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.

1 participant