executablebooks / mdformat-myst

Mdformat plugin for MyST compatibility
MIT License
7 stars 2 forks source link

Dependency conflict with myst #17

Closed arwedus closed 2 years ago

arwedus commented 2 years ago

Describe the bug

context

I wanted to upgrade to the newest version of myst-parser, with requirements.txt:

Sphinx==4.3.1
mdformat_myst==0.1.4
myst_parser==0.16.1

expectation

I expect the current latest releases of executablebooks projects to have compatible dependencies.

bug

But instead pip install -r requirements.txt returns:

 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
The conflict is caused by:
    mdformat-myst 0.1.4 depends on mdit-py-plugins<0.3.0 and >=0.2.7
    myst-parser 0.16.1 depends on mdit-py-plugins~=0.3.0

problem

This is a problem for people using mdformat_myst because it basically prevents them from upgrading their myst-parser version beyond 0.15.1.

Reproduce the bug

  1. save the requirements.txt file from above, create a new virtualenv, and install with pip.

List your environment