jupyterlite / demo

JupyterLite demo deployed to GitHub Pages 🚀
https://jupyterlite.github.io/demo
356 stars 192 forks source link

ZoneInfo('UTC') doesn't work on Jupyterlite v0.1.0b17 demo #104

Open stonebig opened 1 year ago

stonebig commented 1 year ago

Problem

I would like this to work

from zoneinfo import ZoneInfo
utc = ZoneInfo('UTC')

currently it crashes, image

the fix proposed here doesn't seem to be in effect https://github.com/emscripten-forge/empack/pull/53

whished result

image

jtpio commented 1 year ago

Thanks @stonebig for the report.

This might actually be an issue with Pyodide. The full traceback shows the following:

image

Which looks similar to the error when using the Pyodide console directly:

image