-
Notifications
You must be signed in to change notification settings - Fork 1.5k
PyodideRuntime should be one of the runtimes #698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
2ae5e96
PyodideRuntime should be one of the runtimes
madhur-tandon 6d2ebe0
subsume interpreter into runtime API
madhur-tandon d535e3e
fix eslint
madhur-tandon aaf8138
add comments
madhur-tandon d36c225
move initializers, postInitializers, scriptsQueue, etc. to initialize…
madhur-tandon d9560dc
modify comment for initialize
madhur-tandon c7831e1
small renaming
madhur-tandon d3c8df7
change id to default
madhur-tandon 0132214
fix pyscript.py import
madhur-tandon 2ede8c5
try adding tests
madhur-tandon fd8a237
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 21c94d2
Add inlineDynamicImports option
philippjfr 2a4ce20
Make jest happy about ESM modules
philippjfr ee2b381
Attempt to make jest happy about pyodide
philippjfr eac4c6e
point to version in accordance with node module being used
madhur-tandon 144ad17
fix base.ts
madhur-tandon 44743b5
fix tests
madhur-tandon 2ad4f87
fix indexURL path determination
madhur-tandon 72f6a8b
edit pyodide.asm.js as a part of setup process
madhur-tandon 2e230e3
load runtime beforeAll tests
madhur-tandon 831e7af
add test for loading a package
madhur-tandon e763b6f
use only runPythonAsync underneath for pyodide
madhur-tandon 94d7419
import PyodideInterface type directly from pyodide
madhur-tandon 0e491cc
add some comments
madhur-tandon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| /** | ||
| * this file mocks the `src/python/pyscript.py` file | ||
| * since importing of `.py` files isn't usually supported | ||
| * inside JS/TS files. | ||
| * | ||
| * It sets the value of whatever is imported from | ||
| * `src/python/pyscript.py` to be an empty string i.e. "" | ||
| * | ||
| * This is needed since the imported object is further | ||
| * passed to a function which only accepts a string. | ||
| */ | ||
| module.exports = ""; | ||
|
madhur-tandon marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.