joouha / euporie

Jupyter notebooks in the terminal
https://euporie.readthedocs.io
MIT License
1.54k stars 36 forks source link

Update dependencies for JupyterLab 4 #88

Closed onlythisnamewasfree closed 5 months ago

onlythisnamewasfree commented 11 months ago

This projects depends on old versions of libraries, for example "jupyter_client~=7.1", which was released in Nov 2021 (current is 8.3).

As JupyterLab 4 was recently released, wanting to also install euporie into the same environment forces a downgrade of libraries and to JupyterLab 3, which is unfortunate. My solution is to no longer use euporie.

Please consider to check euporie compatibility with newer libraries and update the dependencies of euporie - thank you! ❤️

joouha commented 11 months ago

Fixed by 94c10ff835164812b269df9a169c2332e2e8e97b, will be in the next release

onlythisnamewasfree commented 8 months ago

Tried with 2.5.2. Only downgrades I'm now getting when installing euporie are: Pillow-10.0.1 -> pillow-9.5.0 markdown-it-py 3.0.0 -> markdown-it-py-2.1.0

onlythisnamewasfree commented 8 months ago

Maybe there is an incompatibility lurking here, euporie-console complains at start:

.... 2023-10-15 10:01:30 DEBUG [euporie.core.terminal._handle_response:102] Got terminal response for 'ItermGraphicsStatus' 2023-10-15 10:01:30 INFO [euporie.core.app.open_file:611] Opening file HelloPython.ipynb 2023-10-15 10:01:30 DEBUG [euporie.core.app.get_file_tabs:581] File HelloPython.ipynb has mime type: application/x-ipynb+json 2023-10-15 10:01:30 ERROR [euporie.core.app.open_file:623] Unable to display file HelloPython.ipynb ...

...and I get an empty "In [1] 1" prompt

joouha commented 8 months ago

If you're opening a notebook file you need to use euporie-notebook.

euporie-console is a terminal console, not a notebook editor, so an empty prompt is expected.