matangover / mypyls

Mypy language server: runs mypy on Python code to provide type checking, go to definition, and hover.
MIT License
34 stars 5 forks source link

Prevent causing dependency conflict with sqlalchemy-stubs #8

Closed Foorack closed 3 years ago

matangover commented 3 years ago

Hi @Foorack, thanks for this. I pinned the mypy version on purpose because sometimes new mypy versions can cause compatibility problems with mypyls. My suggestion if you want to avoid the dependency conflict error message (which is actually harmless) is to install mypyls without the [default-mypy] extra (i.e. pip install mypyls instead of pip install mypyls[default-mypy]).

matangover commented 3 years ago

In any case I already tested with mypy 0.800 and there aren't any problems, so I could publish mypyls pinned to 0.800.

Foorack commented 3 years ago

Updated merge request to reflect this change instead. @matangover