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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
matplotlib breaks in v0.24.0 #4153
Comments
@WebReflection matplotlib works fine when loaded directly. see this example: I have not tested polyscript. Also packages in loadPyodide calls loadPackages which is different from micropip.install. one difference is some will throw an exception when you provide it to packages in loadPyodide, eg seaborn |
the error you see is caused by
|
@bugzpodder so the issue is that 0.24.0 uses a new version of matplotlib that in turns fails with the previous code? I think that's still unexpected for users as there was no deprecation warning to date and that code works just fine with 0.23.4 but thanks for investigating this! |
No so the version of matplotlib is still 3.5.2 in both releases. I can confirm that it's a regression in v0.24.0. Thanks for the minimal example @bugzpodder ! Most likely due to the Emscripten update. As far as I understand that symbol should be defined there and enabled by default.
I have a feeling it's due to emscripten-core/emscripten#19004 so we may need to set |
Hmm, this is strange... we didn't enable wasm-exception in the Pyodide main branch so it is not clear why the symbol mismatches |
I thought we had a test for |
wait actually we do have one, |
There seems to be a problem caused by |
Opened an upstream bug report: |
馃悰 Bug
In an attempt to update polyscript to this latest version of Pyodide, I've smoke-tested our long working matplotlib example and saw this on screen:
To Reproduce
pyodide-update
branchnpm i
followed bynpm run build
and finallynpm run server
version="http://localhost..."
then refresh for better debuggingNO_MIN npm run build
if you think something is wrong to the library (although the same example works by using previous version)Expected behavior
A page with an image once everything is done ... I just see a lot of errors instead with 0.24
Environment
Additional context
The text was updated successfully, but these errors were encountered: