Skip to content
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

Spike: Figure out if pyodide will work in the web component #944

Closed
loiswells97 opened this issue Feb 29, 2024 · 2 comments · Fixed by #945
Closed

Spike: Figure out if pyodide will work in the web component #944

loiswells97 opened this issue Feb 29, 2024 · 2 comments · Fixed by #945
Assignees
Labels

Comments

@loiswells97
Copy link
Contributor

No description provided.

@loiswells97 loiswells97 self-assigned this Feb 29, 2024
Copy link
Contributor

@loiswells97
Copy link
Contributor Author

loiswells97 commented Mar 7, 2024

Findings

  • Pyodide will work in the web component with just a few minor fixes
  • However, we will need to set crossorigin headers for full functionality, so it might be best to pursue adding the headers via the worker
  • Once we get the logic in to switch to pyodide automatically then it should just work
  • We can add an attribute to the web component to specify the interpreter if we want to, but if we get the auto-switching in, this may not be necessary

loiswells97 added a commit that referenced this issue Mar 7, 2024
closes #944

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Lois Wells <88904316+loiswells97@users.noreply.github.com>
Co-authored-by: Lois Wells <lois.wells@raspberrypi.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant