============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 -- /usr/bin/python cachedir: .pytest_cache rootdir: /build/python-lsp-server/src/python-lsp-server-1.3.2, configfile: setup.cfg, testpaths: test plugins: flaky-3.7.0 collecting ... collected 118 items / 4 errors / 114 selected ==================================== ERRORS ==================================== ____________ ERROR collecting test/plugins/test_autopep8_format.py _____________ ImportError while importing test module '/build/python-lsp-server/src/python-lsp-server-1.3.2/test/plugins/test_autopep8_format.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/plugins/test_autopep8_format.py:5: in from pylsp.plugins.autopep8_format import pylsp_format_document, pylsp_format_range pylsp/plugins/autopep8_format.py:6: in from autopep8 import fix_code, continued_indentation as autopep8_c_i E ModuleNotFoundError: No module named 'autopep8' ______________ ERROR collecting test/plugins/test_mccabe_lint.py _______________ ImportError while importing test module '/build/python-lsp-server/src/python-lsp-server-1.3.2/test/plugins/test_mccabe_lint.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/plugins/test_mccabe_lint.py:6: in from pylsp.plugins import mccabe_lint pylsp/plugins/mccabe_lint.py:6: in import mccabe E ModuleNotFoundError: No module named 'mccabe' ____________ ERROR collecting test/plugins/test_pydocstyle_lint.py _____________ ImportError while importing test module '/build/python-lsp-server/src/python-lsp-server-1.3.2/test/plugins/test_pydocstyle_lint.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/plugins/test_pydocstyle_lint.py:7: in from pylsp.plugins import pydocstyle_lint pylsp/plugins/pydocstyle_lint.py:10: in import pydocstyle E ModuleNotFoundError: No module named 'pydocstyle' ______________ ERROR collecting test/plugins/test_pylint_lint.py _______________ ImportError while importing test module '/build/python-lsp-server/src/python-lsp-server-1.3.2/test/plugins/test_pylint_lint.py'. Hint: make sure your test modules/packages have valid Python names. Traceback: /usr/lib/python3.10/importlib/__init__.py:126: in import_module return _bootstrap._gcd_import(name[level:], package, level) test/plugins/test_pylint_lint.py:13: in from pylsp.plugins import pylint_lint pylsp/plugins/pylint_lint.py:12: in from pylint.epylint import py_run E ModuleNotFoundError: No module named 'pylint' =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/packaging/version.py:111: 332 warnings /usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( ../../../../usr/lib/python3.10/site-packages/yapf/yapflib/errors.py:16 /usr/lib/python3.10/site-packages/yapf/yapflib/errors.py:16: PendingDeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+ from lib2to3.pgen2 import tokenize -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR test/plugins/test_autopep8_format.py ERROR test/plugins/test_mccabe_lint.py ERROR test/plugins/test_pydocstyle_lint.py ERROR test/plugins/test_pylint_lint.py !!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!! ======================= 333 warnings, 4 errors in 2.58s ======================== ==> ERROR: A failure occurred in check().  Aborting...