-
Notifications
You must be signed in to change notification settings - Fork 84
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
Dependency conflict due to myst-parser~=0.13.5 #333
Comments
Heya, yeh so indeed possibly there is some way to "help" pip give better feedback 🤷 If you would do e.g. This is a known thing though, given that I was the one that upgraded jupytext to markdown-it-py v1 lol. You can already use |
Unfortunately this can result in something even nastier - there are some situations (we hit them in CI) where this sends pip into a dependency-resolving frenzy that eventually results in timeouts, so this situation is particularly bad for setting up environments programatically. For a minimal reproducer: clone https://github.com/numpy/numpy-tutorials/ and attempt to install all dependencies simultaneously, e.g. |
It also bothers
(the correct solution is using |
Yeh this is already covered in jupyter-book/jupyter-book#1351 |
A quick update: this is causing issues again with pip v21.2.1's dependency resolver. See pypa/pip#10201 |
Describe the bug
The dependency on myst-parser~=0.13.5 in setup.cfg causes a cascade of dependencies that eventually forces the
markdown-it-py
version to be pinned to the 0.6 series, which is incompatible with other commonly used tools, e.g.jupytext
.To Reproduce
In a clean environment:
Which gives:
It required a bit of manual dependency tracing to figure out that the problem originated here.
Expected behavior
This has already been fixed in master, so I guess the question is: is there a release imminent?
Environment
jupyter-book --version
: myst-nb 0.12.3Additional context
Note that the current version pinning scheme has caused problems before: #289. Not that I have any suggestion for how it can be improved, just wanted to raise awareness!
The text was updated successfully, but these errors were encountered: