Skip to content

Pyodide v0.27.2 in 'python-worker.js` crashes static flet webs #5333

Open
@pannxe

Description

@pannxe

Duplicate Check

Describe the bug

Related to pyodide/pyodide#5428

Code sample

Code

Simply changes the current python-worker.js very first line

importScripts("https://cdn.jsdelivr.net/pyodide/v0.27.2/full/pyodide.js");

to the latest version of pyodide v0.27.6 fixed the issue.

importScripts("https://cdn.jsdelivr.net/pyodide/v0.27.6/full/pyodide.js");

To reproduce

  1. Make a static web
  2. Host it on Github Pages
  3. Access using iOS

Expected behavior

Should a able to access normally

Screenshots / Videos

As in pyodide/pyodide#5428

Operating System

macOS

Operating system details

iOS

Flet version

v0.28.3

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Logs

No response

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplatform: webSpecific to the web platform

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions