Open pmp-p opened 1 year ago
i'm quite sure there is a heisenbug in display.init() linked to the way pygame.base is imported ( the wasm part including multiphase init that load all modules at once)
for now pygbag way of loading pygame seems the only "safe" way until pep0723 is adopted
python-wasm : use pygbag CI
pyodide ( with a pyodide venv ):
actual result
Successfully built /data/git/pyodide/packages/pygame-ce/dist/pygame_ce-2.3.0.dev1-cp311-cp311-emscripten_3_1_34_wasm32.whl
ref: https://pyodide.org/en/stable/development/building-and-testing-packages.html https://github.com/ryanking13/pyodide/blob/94030d71163dbf616b24888a9d99dc3b1b440edd/packages/pygame-ce/meta.yaml