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

Fix feature detection for stable Pyodide 0.26 #2650

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

hoodmane
Copy link
Contributor

@hoodmane hoodmane commented Sep 4, 2024

We want Pyodide to decide we're a browser. It checks a few extra things in 0.26.0 before being convinced of this. I think this is the only change to the loader code required to get Pyodide 0.26.2 working.

Copy link
Collaborator

@dom96 dom96 left a comment

Choose a reason for hiding this comment

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

LGTM, be sure to create an internal PR for this too

@hoodmane
Copy link
Contributor Author

hoodmane commented Sep 4, 2024

Okay. Also, internally we don't use the development bundle for most Python tests except in the validator. Perhaps I should fix that too...

We want Pyodide to decide we're a browser. It checks a few extra things in
0.26.0 before being convinced of this.
@hoodmane hoodmane force-pushed the hoodmane/pyodide-0.26-feature-detect branch from 05c0b30 to d76bc78 Compare September 4, 2024 10:25
@hoodmane hoodmane merged commit 933ede0 into main Sep 5, 2024
12 of 13 checks passed
@hoodmane hoodmane deleted the hoodmane/pyodide-0.26-feature-detect branch September 5, 2024 08:58
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