Conflicting dependencies with nbformat
See original GitHub issueFull disclosure, I haven’t looked too deep into this yet. But I keep getting strange dependency errors when trying to use nbformat as a dependency with nox-poetry.
ERROR: Cannot install debug-nox-poetry==0.1.0 because these package versions have conflicting dependencies.
The conflict is caused by:
debug-nox-poetry 0.1.0 depends on nbformat<6.0.0 and >=5.1.3
The user requested (constraint) nbformat==5.2.0
No complaints from Poetry itself when creating the lockfile. Also I can pip install the package python -m pip install .
Similarly it works as expected if I use nox.session
instead of nox-poetry.session
.
Minimum reproducible repo here:
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Install jupyterLab-code-snippets Conflicting Dependencies
Install jupyterLab-code-snippets Conflicting Dependencies #8993 ... nbconvert : 5.6.1 ipywidgets : 7.5.1 nbformat : 5.0.4 traitlets : 4.3.3 ...
Read more >Mime type rendering requires nbformat>=4.2.0 but it is not ...
I tried pip install nbformat in the console following this feed on GitHub and this question on stackoverflow but it did not work....
Read more >nbformat - PyPI
This package contains the base implementation of the Jupyter Notebook format, and Python APIs for working with notebooks.
Read more >[SOLVED] Cannot install jupyterlab or jupyter-notebook
resolving dependencies... looking for conflicting packages... warning: ... jupyter-nbformat-5.0.6-1 jupyter-widgetsnbextension-1:3.5.1-1 ...
Read more >Errors Installing Dependencies (pip install -r requirements.txt)
Errors Installing Dependencies (pip install -r requirements.txt) ... Using cached nbformat-4.4.0-py2.py3-none-any.whl (155 kB)
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Suddenly, I also can’t reproduce on my machine. Running the same commands as seen in the orignal recording results in a success.
Also set up an action on Ubuntu—which also succeeded.
I’m going to close for now and then reopen if I can get something more reproducible. Sorry for the noise!
Thanks for reporting! Should running
nox
in a clone of that repository reproduce the error? It doesn’t for me.