viur-framework / flare

Python framework to create web-apps on top of Pyodide
https://flare.docs.viur.dev
MIT License
33 stars 10 forks source link

Support for pyodide 0.17.0 #23

Closed phorward closed 3 years ago

phorward commented 3 years ago

This PR adds support for Pyodide 0.17.0 released on April 21, 2021.

akelch commented 3 years ago

The necessary adjustments for the vi are minimal so far. There is only one thing that bothers: Until now I could leave this in the main.html:

In case that was missing, the fallback was used.

the new pyodide.js still tries to resolve via the unavailable path and so throws an error.

Is there any possibility to fix that, so i can use the old behavior, else i have to enforce a local pyodide for the vi.

phorward commented 3 years ago

you're right, I'll take a closer look on this. We could also solve it differently so that flare.js generates the specific include for Pyodide.

akelch commented 3 years ago

already started, use pyodide-0.17 from this repo for further development