Skip to content

Conversation

@ryanking13
Copy link
Member

Applies pygame-community/pygame-ce#3588

Maybe I should update pygame-ce cibuildwheel setting to include the WASM wheel to their releases. Let me do that as a follow-up. For now, let's build it ourselves.

Opening as a draft, as I haven't verified it with real examples yet.

@ryanking13 ryanking13 marked this pull request as ready for review October 15, 2025 13:33
@ryanking13
Copy link
Member Author

Okay, looks like it works fine with the demo examples: https://ryanking13.github.io/pyodide-pygame-demo/

@github-actions
Copy link
Contributor

github-actions bot commented Oct 15, 2025

Package Build Results

Total packages built: 28
Total build time: 0:04:45

Package Build Times (click to expand)
Package Build Time
pygame-ce 4m 10s
libopenssl 3m 32s
sqlite3 2m 35s
liblzma 1m 6s
test 27s
regex 15s
ssl 9s
hashlib 8s
lzma 7s
pydoc_data 4s
MarkupSafe 4s
pydecimal 4s
atomicwrites 3s
setuptools 1s
exceptiongroup 1s
micropip 1s
iniconfig 1s
more-itertools 1s
py 1s
attrs 1s
pytz 1s
pluggy 1s
pytest-asyncio 1s
Jinja2 1s
pyparsing 1s
tblib 0s
six 0s
pytest 0s

Longest build: pygame-ce (4m 10s)
Packages built in more than 10 minutes: 0

post: |
# Remove docs to reduce the size of a wheel
# (Perhaps also remove typeshed and examples too?)
rm -rf ./pygame/docs
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not necessary, the docs are already removed by default in the emscripten build on our side

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a good to know. Thanks!

@ryanking13 ryanking13 merged commit 5061bfd into pyodide:main Oct 17, 2025
8 checks passed
@ryanking13 ryanking13 deleted the pygame-bump branch October 17, 2025 04:37
ryanking13 added a commit that referenced this pull request Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants