Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-145177: Support multiple Emscripten versions for Emscripten buildbot#145180

Merged
freakboy3742 merged 7 commits intopython:mainfrom
hoodmane:multiple-emsdk-versions
Mar 6, 2026
Merged

gh-145177: Support multiple Emscripten versions for Emscripten buildbot#145180
freakboy3742 merged 7 commits intopython:mainfrom
hoodmane:multiple-emsdk-versions

Conversation

@hoodmane
Copy link
Contributor

@hoodmanehoodmane commentedFeb 24, 2026
edited by bedevere-appbot
Loading

This adds an--emsdk-cache argument to the Emscripten build script and an emscripten_version.txt file. If the--emsdk-cache argument is passed, the build script will look in emscripten_version.txt to get the expected emsdk version is installed in a folder called e.g., 4.0.12 in the directory indicated by the--emsdk-cache argument. Otherwise, it will exit with an error.

…buildbotThis adds an `--emsdk-cache` argument to the Emscripten build script and anemscripten_version.txt file. If the `--emsdk-cache` argument is passed, the build scriptwill look in emscripten_version.txt to get the expected emsdk version is installed in afolder called e.g., 4.0.12 in the directory indicated by the `--emsdk-cache` argument.Otherwise, it will exit with an error.
@hoodmane
Copy link
ContributorAuthor

Would appreciate review on this one next@freakboy3742

@freakboy3742
Copy link
Contributor

Would appreciate review on this one next@freakboy3742

Ack - I've been tied up with some other things at work. Will take a look as soon as I get a moment - probably early next week.

Copy link
Contributor

@freakboy3742freakboy3742 left a comment

Choose a reason for hiding this comment

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

The basic structure for this looks good; the only question is about whether it... actually works. The environment persistence stuff doesn't seem to work like this code suggests it will.

I know you've made the change to put the Emscripten version in code; however, Brett's comment about making it easy to backport is a fair one - maybe we want to revert to the older approach?

hoodmane reacted with thumbs up emoji
@bedevere-app
Copy link

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 phraseI 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.

hoodmaneand others added3 commitsMarch 4, 2026 10:02
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Copy link
Contributor

@freakboy3742freakboy3742 left a comment

Choose a reason for hiding this comment

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

This looks good, and worked in my testing; one clarifying question inline that doesn't seem to impact on how the script works, but I want to make sure I understand the reasoning for the choice.

@freakboy3742
Copy link
Contributor

!buildbot emscripten

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@freakboy3742 for commit90f65ea 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F145180%2Fmerge

The command will test the builders whose names match following regular expression:emscripten

The builders matched are:

  • WASM Emscripten PR

@freakboy3742
Copy link
Contributor

Looks like#145439 has broken CI for Emscripten; we'll need to fix that before landing this PR.

@freakboy3742
Copy link
Contributor

On the subject of which - add "adding Emscripten to GitHub CI" to the TODO list, as that will help avoid this sort of problem, and CI is otherwise stable.

@hoodmane
Copy link
ContributorAuthor

!buildbot emscripten

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@hoodmane for commit3b80a0b 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F145180%2Fmerge

The command will test the builders whose names match following regular expression:emscripten

The builders matched are:

  • WASM Emscripten PR

@freakboy3742
Copy link
Contributor

!buildbot emscripten

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by@freakboy3742 for commitb66e2fa 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F145180%2Fmerge

The command will test the builders whose names match following regular expression:emscripten

The builders matched are:

  • WASM Emscripten PR

Copy link
Contributor

@freakboy3742freakboy3742 left a comment

Choose a reason for hiding this comment

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

👍 Looks great - thanks for those updates.

@freakboy3742freakboy3742 merged commitc3fb0d9 intopython:mainMar 6, 2026
84 of 89 checks passed
@freakboy3742
Copy link
Contributor

@hoodmane I guess the question is whether we backport this to 3.14. That would make updating the buildbot script easier...

@hoodmane
Copy link
ContributorAuthor

Yes, please backport. Thanks@freakboy3742!

@hoodmanehoodmane deleted the multiple-emsdk-versions branchMarch 6, 2026 09:13
@hoodmanehoodmane added the needs backport to 3.14bugs and security fixes labelMar 6, 2026
@miss-islington-app
Copy link

Thanks@hoodmane for the PR, and@freakboy3742 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMar 6, 2026
…buildbot (pythonGH-145180)Adds an `--emsdk-cache` argument to the Emscripten build script and anemscripten_version.txt file. If the `--emsdk-cache` argument is passed, the build scriptwill look in `emscripten_version.txt` to get the expected emsdk version is installed ina folder called e.g., 4.0.12 in the directory indicated by the `--emsdk-cache` argument,and run the build with that Emscripten tooling activated.(cherry picked from commitc3fb0d9)Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
@bedevere-app
Copy link

GH-145582 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelMar 6, 2026
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@freakboy3742freakboy3742freakboy3742 approved these changes

@emmatypingemmatypingAwaiting requested review from emmatypingemmatyping is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@hoodmane@freakboy3742@bedevere-bot

[8]ページ先頭

©2009-2026 Movatter.jp