You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The specified interpreter version is not used when i add the worker attribute. I am trying to pin an older version of pyodide and when used with the worker attribute it always loads 0.26.2, but as soon as i remove the worker attribute, it loads the pyodide version i want.
This example as 2 script tags, one with worker attribute and one without. Both are pinned to 0.23.4. One of them is commented. swap them to test with and without worker attribute. The python code will display the pyodide version loaded.
Searched if there is an existing bug report, but did not find any.
What browsers are you seeing the problem on? (if applicable)
temporarily published as https://cdn.jsdelivr.net/npm/@pyscript/core@0.5.7/dist/core.js and https://cdn.jsdelivr.net/npm/@pyscript/core@0.5.7/dist/core.css + there is a test too ... it was indeed ignoring custom workers version but honestly I start not liking the polyscript dance anymore ... way too articulated for the little it theoretically needs to do ... I might rewrite that project at some point as few things changed, few things are not needed for PyScript and I have already mentioned I'd like to get rid of it as PyScript dependency but it would take some time to do so in a clean and non breaking way.
Checklist
What happened?
Taken from a report on discord:
What browsers are you seeing the problem on? (if applicable)
No response
Console info
Additional Context
Example of the issue here: https://pyscript.com/@sai1494/pyodide-version/
Latest version of PyScript (as of time of writing): 2024.8.2
The text was updated successfully, but these errors were encountered: