jupyterlite / xeus-python-kernel

xeus-python in JupyterLite
https://xeus-python-kernel.readthedocs.io
BSD 3-Clause "New" or "Revised" License
30 stars 19 forks source link

Safari Support #152

Closed michaelweinold closed 1 year ago

michaelweinold commented 1 year ago

Description

It seems that Safari is not working with the JupyterLite version based on the XEUS-Python kernel (even in a Private Window).

Reproduce

  1. Go to Pyodide JL site: https://jupyterlite.github.io/demo/lab/index.html
  2. Try to calculate 1+1
Screenshot 2023-08-25 at 11 42 16
  1. Go to XEUS-Python JL site: https://jupyterlite.github.io/xeus-python-demo/
  2. Try to calculate 1+1
Screenshot 2023-08-25 at 11 40 42

Expected behavior

1+1 can be calculated on JL in Safari.

Context

- python=3.10
- xeus-lite
- xeus-python=0.15.9
- ipycanvas
Browser Output
Paste the output from your browser Javascript console here.
martinRenou commented 1 year ago

Thanks for opening an issue. Would you be able to show the JavaScript console output?

michaelweinold commented 1 year ago

Ah, yes - I forgot about that:

Logs (Pyodide):

Full Logs ``` [Warning] Unsatisfied version 1.37.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/widgets (required ^2.0.1) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.10.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/messaging (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.12.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/coreutils (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.11.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/signaling (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.9.2 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/algorithm (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/settingregistry (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/translation (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/notebook (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.8.2 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/properties (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] No satisfying version (^4.0.2) of shared module @jupyterlab/outputarea found in shared scope default. (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) Available versions: 3.5.3 from _JUPYTERLAB.CORE_OUTPUT [Warning] Unsatisfied version 6.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/services (required ^7.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/rendermime (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/mainmenu (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.10.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/disposable (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/logconsole (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.37.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/widgets (required ^2.0.1) (remoteEntry.b15a25cb741a6c7381f8.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/apputils (required ^4.0.0) (remoteEntry.6a76d3e37f02d3977b44.js, line 1) [Warning] Unsatisfied version 1.9.2 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/algorithm (required ^2.0.0) (remoteEntry.6a76d3e37f02d3977b44.js, line 1) [Warning] Unsatisfied version 1.37.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/widgets (required ^2.0.1) (remoteEntry.6a76d3e37f02d3977b44.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/ui-components (required ^4.0.0) (remoteEntry.6a76d3e37f02d3977b44.js, line 1) [Warning] Unsatisfied version 1.37.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/widgets (required ^1.37.2) (remoteEntry.ade722230aea9b7793b2.js, line 1) [Warning] Unsatisfied version 6.0.5 of shared singleton module @jupyter-widgets/base (required ^1.0.4 || ^2 || ^3 || ^4) (remoteEntry.176149dcbfb677ea36fb.js, line 1) [Warning] Unsatisfied version 1.37.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/widgets (required ^1.37.2) (remoteEntry.f294278414d0a929e4ae.js, line 1) [Info] Registering new JupyterLite ServiceWorker – "https://jupyterlite.github.io/demo/service-worker-b2fb40a.js" (1245.be46619.js, line 1) [Info] JupyterLite ServiceWorker was sucessfully registered (1245.be46619.js, line 1) [Info] Kernel filesystem and JupyterLite contents will be synced (4931.47d8e25.js, line 1) [Info] Pyodide contents will be synced with Jupyter Contents (652.9b0490e58c505455be54.js, line 1) [Debug] Starting WebSocket: wss://jupyterlite.github.io/demo/api/kernels/3db3a3ad-6ede-4df3-9f97-c2976a741c7e (6591.94ed352.js, line 1) [Debug] Starting WebSocket: wss://jupyterlite.github.io/demo/api/kernels/3db3a3ad-6ede-4df3-9f97-c2976a741c7e (6591.94ed352.js, line 1) [Debug] Starting WebSocket: wss://jupyterlite.github.io/demo/api/kernels/3db3a3ad-6ede-4df3-9f97-c2976a741c7e (6591.94ed352.js, line 1) [Log] Loading micropip, packaging (pyodide.asm.js, line 9) [Log] Loaded packaging, micropip (pyodide.asm.js, line 9) [Log] Loading sqlite3 (pyodide.asm.js, line 9) [Log] Loaded sqlite3 (pyodide.asm.js, line 9) [Log] Loading jedi, parso, decorator, pygments, six (pyodide.asm.js, line 9) [Log] Loaded six, decorator, parso, jedi, pygments (pyodide.asm.js, line 9) ```

Logs (XEUS-Python):

(I'm guessing that's it)

[Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded.
    (anonymous function) (213.4d35231d9cd1ff5d57ec.js:2:12334)
Full Logs ``` [Warning] Unsatisfied version 1.37.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/widgets (required ^2.0.1) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.10.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/messaging (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.12.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/coreutils (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.11.1 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/signaling (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.9.2 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/algorithm (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/settingregistry (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/translation (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/notebook (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.8.2 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/properties (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] No satisfying version (^4.0.2) of shared module @jupyterlab/outputarea found in shared scope default. (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) Available versions: 3.5.3 from _JUPYTERLAB.CORE_OUTPUT [Warning] Unsatisfied version 6.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/services (required ^7.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/rendermime (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/mainmenu (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 1.10.4 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @lumino/disposable (required ^2.0.0) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 3.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/logconsole (required ^4.0.2) (remoteEntry.98b8a827bfc5f86e95d2.js, line 1) [Warning] Unsatisfied version 5.5.3 from _JUPYTERLAB.CORE_OUTPUT of shared singleton module @jupyterlab/coreutils (required ^5.6.5) (remoteEntry.b3589fd1ba8412b300a6.js, line 1) [Info] Registering new JupyterLite ServiceWorker – "https://jupyterlite.github.io/xeus-python-demo/service-worker-b2fb40a.js" (1245.be46619.js, line 1) [Warning] Default kernel not found, using 'xeus-python' (6591.94ed352.js, line 1) [Info] JupyterLite ServiceWorker was sucessfully registered (1245.be46619.js, line 1) [Info] Kernel filesystem and JupyterLite contents will be synced (4931.430433b.js, line 1) [Info] xeus-python contents will be synced with Jupyter Contents (20.72c9e0ab3d8725f2767a.js, line 1) [Debug] Starting WebSocket: wss://jupyterlite.github.io/xeus-python-demo/api/kernels/951c5131-7b96-46fc-8155-38e1464b8d3c (6591.94ed352.js, line 1) [Debug] Starting WebSocket: wss://jupyterlite.github.io/xeus-python-demo/api/kernels/951c5131-7b96-46fc-8155-38e1464b8d3c (6591.94ed352.js, line 1) [Debug] Starting WebSocket: wss://jupyterlite.github.io/xeus-python-demo/api/kernels/951c5131-7b96-46fc-8155-38e1464b8d3c (6591.94ed352.js, line 1) [Log] fetching python package from ./python-3.10.2-h_hash_26_cpython.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg executing from ./executing-1.2.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg ipython_genutils from ./ipython_genutils-0.2.0-py_1.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg wheel from ./wheel-0.41.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pickleshare from ./pickleshare-0.7.5-py_1003.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg matplotlib-inline from ./matplotlib-inline-0.1.6-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg ipython from ./ipython-8.14.0-py310h8bed8af_1.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg xeus-python-shell from ./xeus-python-shell-0.6.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg emscripten-abi from ./emscripten-abi-3.1.27-hb0f4dca_6.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg backports.functools_lru_cache from ./backports.functools_lru_cache-1.6.5-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg wcwidth from ./wcwidth-0.2.6-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pure_eval from ./pure_eval-0.2.2-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pygments from ./pygments-2.15.1-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg attrs from ./attrs-23.1.0-pyh71513ae_1.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg backports from ./backports-1.0-pyhd8ed1ab_3.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg ptyprocess from ./ptyprocess-0.7.0-pyhd3deb0d_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg zipp from ./zipp-3.16.2-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg traitlets from ./traitlets-5.9.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg parso from ./parso-0.8.3-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg asttokens from ./asttokens-2.2.1-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pyrsistent from ./pyrsistent-0.18.1-py310h6d2fff6_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg jsonschema from ./jsonschema-4.17.3-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg widgetsnbextension from ./widgetsnbextension-4.0.8-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pkgutil-resolve-name from ./pkgutil-resolve-name-1.3.10-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg setuptools from ./setuptools-64.0.0-py310h8bed8af_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pyparsing from ./pyparsing-3.1.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg xeus-python-shell-raw from ./xeus-python-shell-raw-0.6.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg six from ./six-1.16.0-pyh6c4a22f_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pip from ./pip-23.2.1-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg xeus-python from ./xeus-python-0.15.9-h4d17c68_1.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg ipycanvas from ./ipycanvas-0.13.1-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg typing_extensions from ./typing_extensions-4.7.1-pyha770c72_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg jupyterlab_widgets from ./jupyterlab_widgets-3.0.8-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg stack_data from ./stack_data-0.6.2-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg backcall from ./backcall-0.2.0-pyh9f0ad1d_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg importlib_resources from ./importlib_resources-6.0.0-pyhd8ed1ab_1.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pillow from ./pillow-9.1.0-h5554403_1.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg nbformat from ./nbformat-5.9.1-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg python-fastjsonschema from ./python-fastjsonschema-2.18.0-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg prompt-toolkit from ./prompt-toolkit-3.0.39-pyha770c72_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg jupyter_core from ./jupyter_core-4.5.0-py_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg numpy from ./numpy-1.25.1-py310h6d2fff6_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg ipywidgets from ./ipywidgets-8.0.7-py310h8bed8af_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg pexpect from ./pexpect-4.8.0-pyh1a96a4e_2.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg jedi from ./jedi-0.18.2-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg importlib-metadata from ./importlib-metadata-6.8.0-pyha770c72_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg decorator from ./decorator-5.1.1-pyhd8ed1ab_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg xeus-lite from ./xeus-lite-1.0.1-hf0acc6b_0.tar.gz (xpython_wasm.js, line 9) [Log] fetching pkg requests-wasm-polyfill from ./requests-wasm-polyfill-0.3.0-h8bed8af_0.tar.gz (xpython_wasm.js, line 9) [Log] extract /package_tarballs/ipython_genutils-0.2.0-py_1.tar.gz (17703 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/xeus-python-shell-0.6.0-pyhd8ed1ab_0.tar.gz (319 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/xeus-python-shell-raw-0.6.0-pyhd8ed1ab_0.tar.gz (3333 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pickleshare-0.7.5-py_1003.tar.gz (4070 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/backports-1.0-pyhd8ed1ab_3.tar.gz (374 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/zipp-3.16.2-pyhd8ed1ab_0.tar.gz (4224 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/executing-1.2.0-pyhd8ed1ab_0.tar.gz (17978 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/requests-wasm-polyfill-0.3.0-h8bed8af_0.tar.gz (2104 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/six-1.16.0-pyh6c4a22f_0.tar.gz (9087 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/backports.functools_lru_cache-1.6.5-pyhd8ed1ab_0.tar.gz (2896 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/ipython-8.14.0-py310h8bed8af_1.tar.gz (507395 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pyparsing-3.1.0-pyhd8ed1ab_0.tar.gz (94306 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/importlib_resources-6.0.0-pyhd8ed1ab_1.tar.gz (7853 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/backcall-0.2.0-pyh9f0ad1d_0.tar.gz (8426 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/ipywidgets-8.0.7-py310h8bed8af_0.tar.gz (51869 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/jsonschema-4.17.3-pyhd8ed1ab_0.tar.gz (38817 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/emscripten-abi-3.1.27-hb0f4dca_6.tar.gz (312 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/asttokens-2.2.1-pyhd8ed1ab_0.tar.gz (16734 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pure_eval-0.2.2-pyhd8ed1ab_0.tar.gz (6767 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/importlib-metadata-6.8.0-pyha770c72_0.tar.gz (13711 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/widgetsnbextension-4.0.8-pyhd8ed1ab_0.tar.gz (318 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/matplotlib-inline-0.1.6-pyhd8ed1ab_0.tar.gz (5628 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/xeus-python-0.15.9-h4d17c68_1.tar.gz (304 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/xeus-lite-1.0.1-hf0acc6b_0.tar.gz (298 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/decorator-5.1.1-pyhd8ed1ab_0.tar.gz (5922 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pkgutil-resolve-name-1.3.10-pyhd8ed1ab_0.tar.gz (1953 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/jupyterlab_widgets-3.0.8-pyhd8ed1ab_0.tar.gz (856 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/wheel-0.41.0-pyhd8ed1ab_0.tar.gz (51687 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/stack_data-0.6.2-pyhd8ed1ab_0.tar.gz (14501 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/jupyter_core-4.5.0-py_0.tar.gz (10881 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/wcwidth-0.2.6-pyhd8ed1ab_0.tar.gz (22653 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/ptyprocess-0.7.0-pyhd3deb0d_0.tar.gz (11599 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/parso-0.8.3-pyhd8ed1ab_0.tar.gz (66208 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pyrsistent-0.18.1-py310h6d2fff6_0.tar.gz (40468 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/ipycanvas-0.13.1-pyhd8ed1ab_0.tar.gz (16426 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/traitlets-5.9.0-pyhd8ed1ab_0.tar.gz (65006 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pexpect-4.8.0-pyh1a96a4e_2.tar.gz (48444 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/python-fastjsonschema-2.18.0-pyhd8ed1ab_0.tar.gz (16693 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/nbformat-5.9.1-pyhd8ed1ab_0.tar.gz (44809 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/typing_extensions-4.7.1-pyha770c72_0.tar.gz (27021 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/attrs-23.1.0-pyh71513ae_1.tar.gz (42028 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/jedi-0.18.2-pyhd8ed1ab_0.tar.gz (191794 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/setuptools-64.0.0-py310h8bed8af_0.tar.gz (207652 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/prompt-toolkit-3.0.39-pyha770c72_0.tar.gz (314059 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pillow-9.1.0-h5554403_1.tar.gz (705599 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pip-23.2.1-pyhd8ed1ab_0.tar.gz (1337593 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/pygments-2.15.1-pyhd8ed1ab_0.tar.gz (990682 bytes) (xpython_wasm.js, line 9) [Log] extract /package_tarballs/python-3.10.2-h_hash_26_cpython.tar.gz (2280014 bytes) (xpython_wasm.js, line 9) [Error] Unhandled Promise Rejection: RangeError: Maximum call stack size exceeded. (anonymous function) (213.4d35231d9cd1ff5d57ec.js:2:12334) [Log] extract /package_tarballs/numpy-1.25.1-py310h6d2fff6_0.tar.gz (3613825 bytes) (xpython_wasm.js, line 9) ```
kgutwin commented 1 year ago

I tried reproducing this, but on two different systems I was unable to do so. In both cases, the kernel started up fine and I was able to do 1+1. The version in the demo currently is XEUS 3.0.5.

michaelweinold commented 1 year ago

I can confirm that the issue no longer appears in Version 17.0 (19616.1.27.211.1), under macOS 14.0 (23A344). Feel free to close this, @jtpio. Thank you for following up, @kgutwin.

jtpio commented 1 year ago

Nice thanks @kgutwin and @michaelweinold for checking :+1:

https://github.com/jupyterlite/xeus-python-kernel/pull/167 will add UI tests to the repo to help catch potential regressions (and hopefully be able to test on webkit as well).