You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anything, this is likely a bug with the pip dependency resolver, but I wanted to raise here for visibility. Listing both myst-nb and jupytext in a requirements.txt file will cause pip to fail.
To Reproduce
Add both myst-nb and jupytext to a requirements file and try to install it w/ pip -r in a fresh virtual environment.
In a clean venv: pip install -r borked_requirements.txt
Note that you get the same behavior if you try to install jupytext and myst-nb in one step: pip install jupytext myst-nb.
The workaround is to install them in separate steps. This will complete, and pip raises a more informative error:
pip install myst-nb
pip install jupytext
...
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
myst-parser 0.12.10 requires markdown-it-py~=0.5.4, but you have markdown-it-py 0.6.1 which is incompatible.
Successfully installed jupytext-1.9.1 markdown-it-py-0.6.1 mdit-py-plugins-0.2.4 toml-0.10.2
Expected behavior
Just reporting for visibility - maybe the myst-nb or jupytext version requirements could be updated to prevent this collision.
Environment
Python Version [e.g. 3.7.1]: 3.9.1
pip versions tried: 20.3.1 and 20.3.3
Package versions:
versions are unpinned in the requirements file, so pip tries to grab myst-nb v0.10.1 and jupytext v1.9.1
Operating System: linux
The text was updated successfully, but these errors were encountered:
Describe the bug
If anything, this is likely a bug with the
pip
dependency resolver, but I wanted to raise here for visibility. Listing bothmyst-nb
andjupytext
in arequirements.txt
file will cause pip to fail.To Reproduce
Add both myst-nb and jupytext to a requirements file and try to install it w/
pip -r
in a fresh virtual environment.pip install -r borked_requirements.txt
Note that you get the same behavior if you try to install jupytext and myst-nb in one step:
pip install jupytext myst-nb
.The workaround is to install them in separate steps. This will complete, and pip raises a more informative error:
Expected behavior
Just reporting for visibility - maybe the
myst-nb
orjupytext
version requirements could be updated to prevent this collision.Environment
versions are unpinned in the requirements file, so pip tries to grab
myst-nb v0.10.1
andjupytext v1.9.1
The text was updated successfully, but these errors were encountered: