demo icon indicating copy to clipboard operation
demo copied to clipboard

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

Open stonebig opened this issue 2 years ago • 1 comments

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

stonebig avatar Jan 08 '23 12:01 stonebig

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

jtpio avatar Jan 09 '23 08:01 jtpio