question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Conflicting dependencies with nbformat

See original GitHub issue

Full 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:

https://github.com/paw-lu/debug-nox-poetry

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
paw-lucommented, Mar 12, 2022

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!

1reaction
cjolowiczcommented, Mar 11, 2022

Thanks for reporting! Should running nox in a clone of that repository reproduce the error? It doesn’t for me.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found