-
Notifications
You must be signed in to change notification settings - Fork 9
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
Import error in pyls #4
Comments
This most likely fixes it: diff --git a/setup.py b/setup.py
index 8129a8e..d8aefec 100644
--- a/setup.py
+++ b/setup.py
@@ -21,7 +21,7 @@ setup(
platforms="Any",
packages=find_packages(),
provides=['pyls_isort'],
- install_requires=['python-language-server', 'isort'],
+ install_requires=['python-language-server', 'isort<5,>=4.2.5'],
entry_points={
'pyls': ['pyls_isort = pyls_isort.plugin'],
}, The range is chosen so that pyls_isort will be compatible with pylint's requirement for isort. |
Probably this will fix this issue. |
0.2.0 is out and fix this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing this import error logged during startup of pyls:
Looks like the SortImports class got removed: PyCQA/isort@c7378c3
The text was updated successfully, but these errors were encountered: