◐ Shell
reader mode source ↗
Skip to content

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

Closed
therohityadav wants to merge 1 commit into
python:mainfrom
therohityadav:fix-wasi-build-144533
Closed

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

Conversation

@therohityadav

Copy link
Copy Markdown

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

python-cla-bot Bot commented Feb 6, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app

bedevere-app Bot commented Feb 6, 2026

Copy link
Copy Markdown

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.

@therohityadav therohityadav force-pushed the fix-wasi-build-144533 branch 2 times, most recently from 035c77e to b64935a Compare February 6, 2026 08:59
@bedevere-app

bedevere-app Bot commented Feb 6, 2026

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@savannahostrowski

Copy link
Copy Markdown
Member

Hey there - thanks so much for working on this. However, based on the earlier discussion (#144535 (comment)), I've just merged a PR with a different approach so I'll close this.

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.

3 participants