jwkvam / jupyterlab-vim

:neckbeard: Vim notebook cell bindings for JupyterLab
MIT License
975 stars 73 forks source link

Plugin incompatible with Jupyter Lab 2.0 #113

Open zaneselvans opened 4 years ago

zaneselvans commented 4 years ago

Jupyter Lab 2.0 was released today! Are there any plans to update this extension? Or any way that users can help support that update? Hopefully no big substantive changes are required!

As always, thank you so much for your work on this.

haakenlid commented 4 years ago

There's a summary of the relevant changes in jupyterlab here:

JupyterLab 1.x to 2.x Extension Migration Guide https://jupyterlab.readthedocs.io/en/stable/developer/extension_migration.html

KwatMDPhD commented 4 years ago

Here is some extra detail

(base) ~ jupyter labextension install jupyterlab_vim An error occured. ValueError: The extension "jupyterlab_vim" does not yet support the current version of JupyterLab.

Conflicting Dependencies: JupyterLab Extension Package

=2.0.2 <2.1.0 >=1.0.1 <2.0.0 @jupyterlab/application =2.0.2 <2.1.0 >=1.0.1 <2.0.0 @jupyterlab/notebook See the log file for details: /tmp/jupyterlab-debug-wwexmuhc.log

Thanks

llinfeng commented 4 years ago

Before the plugin turns compatible with Jupyter Lab 2.0, creating a standalone environment with jupyterlab=1.2.7 works for me. The setup script is below:

    conda create -n Jlab_V1 python # Create a new env with python
    conda activate Jlab_V1
    # Install necessary pieces
    conda install -y -c conda-forge jupyterlab=1.2.7 nodejs yarn
    # Collect all extension pieces
    jupyter labextension install --no-build jupyterlab_vim @jupyterlab/toc jupyterlab-spreadsheet
    # Name the tabs appropriately
    jupyter lab build --name="JLab_V1 with Vim"
    # Lastly, we verify that the plugins are installed (jupyterlab-vim among them):
    jupyter labextension list

On this conda-jupyterlab page, version 1.2.7 is the latest one before V2.0.

nmvega commented 4 years ago

Hello...

I'm facing the same need. ☺️ I've been using vi(1) since when I was stuck in datacenters with only vt100 terminals and Sun Solaris CLI prompts. So it's nearly impossible to work without vi(1).

user$ jupyter labextension install jupyterlab_vim
An error occured.
ValueError: The extension "jupyterlab_vim" does not yet support the current version of JupyterLab.

Conflicting Dependencies:
JupyterLab              Extension      Package
>=2.0.2 <2.1.0          >=1.0.1 <2.0.0 @jupyterlab/application
>=2.0.2 <2.1.0          >=1.0.1 <2.0.0 @jupyterlab/notebook
[ ... snip ... ]

(._.)

UPDATE :

I found and successfully implemented the solution to this issue here:

https://github.com/jwkvam/jupyterlab-vim/pull/115#issuecomment-619102217

kwlzn commented 4 years ago

+1

SalamanderXing commented 4 years ago

+1

johnarumemi commented 4 years ago

+1 , I cant use these notebooks without vim anymore it seems. Just way too uncomfortable without it :)

danielkovacsdeak commented 4 years ago

+1

Sh4pe commented 4 years ago

+1

KwatMDPhD commented 4 years ago

This version should work: https://github.com/axelfahy/jupyterlab-vim

You also don't need to manually install extensions. Try this: 1) get the latest Jupyter Lab; 2) using UI, install vim extension (see attached image). Screenshot from 2020-05-01 17-42-16

AntoineToussaint commented 4 years ago

@KwatME Thanks for the link!

bs commented 4 years ago

Excited for this to get merged!

fspaolo commented 4 years ago

"The extension "jupyterlab_vim" does not yet support the current version of JupyterLab." Really?

jogardi commented 4 years ago

"The extension "jupyterlab_vim" does not yet support the current version of JupyterLab." Really?

It seems this repository hasn't been committed to since July 2019 so I'm just going to switch to https://github.com/axelfahy/jupyterlab-vim. Thanks @KwatME