◐ Shell
reader mode source ↗
Skip to content

bpo-40280: Add build target for Emscripten/node.js#30495

Closed
emmatyping wants to merge 11 commits into
python:mainfrom
emmatyping:nodejs
Closed

bpo-40280: Add build target for Emscripten/node.js#30495
emmatyping wants to merge 11 commits into
python:mainfrom
emmatyping:nodejs

Conversation

@emmatyping

@emmatyping emmatyping commented Jan 9, 2022

Copy link
Copy Markdown
Member

This adds a "python.js" target to the Makefile. We enable the raw
node.js filesystem mode as suggested by @thomasballinger as it will make running
the test suite under node easier, c.f.
emmatyping/python-wasm#36.

The wasm_asset.py script is updated to include the test module. Care is
taken to skip compiling the Python files that are examples of bad syntax
or encoding.

This also turns on memory growth as early into the test suite I was
running into OOMs.

cc @tiran

This requires my other PR to work of course #30494 (This is now merged)

https://bugs.python.org/issue40280

This adds a "python.js" target to the Makefile. We enable the raw
node fs mode as suggested by @thomasballinger as it will make running
the test suite under node easier, c.f.
emmatyping/python-wasm#36.

The wasm_asset.py script is updated to include the test module. Care is
taken to skip compiling the Python files that are examples of bad syntax
or encoding.

This also turns on memory growth as early into the test suite I was
running into OOMs.
@emmatyping

Copy link
Copy Markdown
Member Author

I'm unsure if this needs a NEWS entry, I'd be happy to add one if so.

Co-authored-by: Christian Heimes <christian@python.org>
emmatyping and others added 4 commits January 11, 2022 09:15
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Christian Heimes <christian@python.org>
@brettcannon brettcannon self-requested a review January 12, 2022 01:08
@emmatyping

Copy link
Copy Markdown
Member Author

I think the important bits of this ended up in #30552 so this can be closed.

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.

4 participants