Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JupyterLab dependency incorrectly specified #328

Open
ZelphirKaltstahl opened this issue Oct 25, 2023 · 0 comments
Open

JupyterLab dependency incorrectly specified #328

ZelphirKaltstahl opened this issue Oct 25, 2023 · 0 comments

Comments

@ZelphirKaltstahl
Copy link

I think there is a mistake with specifying JupyterLab as a dependency incorrectly.

When I install jupyterlab-code-formatter = "==2.2.1" with juypterlab = "==3.1.13" using pipenv, I receive no warning at all, that these versions are not compatible. In fact, I see JupyterLab being wrongly specified here

"jupyterlab>=3.0.0",
, while JupyterLab itself tells me, that jupyterlab-code-formatter at version 2.2.1 is incompatible, when I run jupyter labextension list:

"jupyterlab_code_formatter@2.2.1" is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab                  Extension       Package
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/application
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/fileeditor
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/mainmenu
>=3.1.12 <3.2.0             >=3.6.0 <4.0.0||>=4.0.0 <4.1.0@jupyterlab/settingregistry

This package should specify its dependency properly, so that users notice this mismatch in dependencies as early as possible, which is when installing the Python package from PyPI.

Now I also cannot easily figure out, which version of jupyterlab-code-formatter I have to use instead, because I first have to create a complete setup, install the extension etc. and then run jupyter labextension list again, to find out, whether I installed a compatible version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant