jupyterlab-vim: This extension does not yet support the current version of JupyterLab.
jupyterlab_vim stopped working on the latest. What can I do to help debug?
(jupyter) ➜ jupyter git:(master) ✗ jupyter-lab --version
1.0.0
(jupyter) ➜ jupyter git:(master) ✗ jupyter labextension install jupyterlab_vim
An error occured.
ValueError: This extension does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
>=1.0.0 <2.0.0 >=0.19.1 <0.20.0@jupyterlab/application
>=1.0.0 <2.0.0 >=0.19.1 <0.20.0@jupyterlab/notebook
See the log file for details: /var/folders/tl/nmzk32m95_37fznfpg4gbj0j_fply8/T/jupyterlab-debug-m4hjrnl5.log
From the log file
npm notice === Tarball Details ===
npm notice name: jupyterlab_vim
npm notice version: 0.10.1
npm notice filename: jupyterlab_vim-0.10.1.tgz
npm notice package size: 6.7 kB
npm notice unpacked size: 29.8 kB
npm notice shasum: 6b7db06ff1e75d58264b1d3094309c9c19483abe
npm notice integrity: sha512-qmoSsRJMN+CF7[...]V2x5KHfiIK9OA==
npm notice total files: 7
npm notice
jupyterlab_vim-0.10.1.tgz
Fetching URL: https://registry.npmjs.org/jupyterlab_vim
Fetching URL: https://registry.npmjs.org/jupyterlab_vim
Traceback (most recent call last):
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/debuglog.py", line 47, in debug_logging
yield
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 82, in start
ans = self.run_task()
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 103, in run_task
for arg in self.extra_args
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/labextensions.py", line 103, in <listcomp>
for arg in self.extra_args
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/commands.py", line 316, in install_extension
return handler.install_extension(extension)
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/commands.py", line 517, in install_extension
info = self._install_extension(extension, tempdir)
File "/Users/idvorkin/.local/share/virtualenvs/jupyter-ojjAUlJq/lib/python3.7/site-packages/jupyterlab/commands.py", line 1416, in _install_extension
raise ValueError(msg)
ValueError: This extension does not yet support the current version of JupyterLab.
Conflicting Dependencies:
JupyterLab Extension Package
>=1.0.0 <2.0.0 >=0.19.1 <0.20.0@jupyterlab/application
>=1.0.0 <2.0.0 >=0.19.1 <0.20.0@jupyterlab/notebook
Exiting application: jupyter
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 20
- Comments: 25 (5 by maintainers)
It appears the CodeMirror vim keymap is now lazy loaded in JupyterLab. Previously it was always imported which this addon has relied on when setting the current cell’s keymap. By importing the keymap in the addon, we ensure it’s loaded before setting the keymap of a cell thereby resolving the issue.
I’ve got a branch up over at https://github.com/willprice/jupyterlab-vim/tree/alpha1 which fixes this. Let me know if you have any issues.
To install…
And run
jupyter lab.If you have any issues, please open up the browser console and copy and paste any stacktraces.
I can look into fixing it on Monday (vacation until then) if no one has done it by then
I can’t believe how dependent on this extension I am. I’m really looking forward to this issue being resolved 😃.
Would also love to see this extension updated for Jupyter 1.0. I feel lost in my notebooks without it!
Hi all, Currently, there no release on a major branch for a v2 support but a merge request is pending. I managed to get the plugin to work by following the instructions here: https://github.com/jwkvam/jupyterlab-vim/pull/115#issuecomment-605525296
I hop it will help you
The new version has been pushed to npm. https://www.npmjs.com/package/jupyterlab_vim/v/0.11.0
This is identical to the PR willprice opened if you were using that. Upgrade with:
Sorry all for being absent.
Thanks for the fix @willprice I’ll take a look at your pull request tonight, merge it and make a release.
I should probably find ways for others to help with maintenance as I’m not giving this project the attention it needs.
On Mon, Jul 15, 2019, 4:14 AM remiOdite notifications@github.com wrote:
Started but didn’t get very far with #88
Me too… though I’m concerned we may need to figure out how to fix it on our own, as @jwkvam has hardly been active at all on Github since the last time the plugin was updated in November of last year. Has anybody else here worked on jupyterlab extensions before?
Seems like the extension now doesn’t support JupyterLab v2 (specifically jupyterlab==2.1.0). Does anyone know what it would take to make it work with v2? Have the APIs changed significantly, or would it be as simple as changing the bounds in package.json?
@benlindsay It’s from a Pipfile used by pipenv. Pipenv is awesome in theory, except it’s really sloooow in practice.
I forked and checked whether it works regardless of the version. It did not. A real change has to be made.