You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just packaged python-lsp-server for pkgsrc. Running the self tests, I see a couple "failed" tests:
FAILED test/plugins/test_flake8_lint.py::test_flake8_unsaved - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_flake8_lint.py::test_flake8_lint - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_flake8_lint.py::test_flake8_per_file_ignores - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_pylint_lint.py::test_pylint - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_pylint_lint.py::test_syntax_error_pylint_py3 - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_pylint_lint.py::test_lint_free_pylint - AssertionError: assert not [{'code': 'W1514', 'message': '[unspecified-encoding] Using open without explicitly s...
FAILED test/plugins/test_pylint_lint.py::test_per_file_caching - AssertionError: assert not [{'code': 'W1514', 'message': '[unspecified-encoding] Using open without explicitly s...
The first five of these assume a "python" binary, which pkgsrc does not provide by default.
I'm not sure about the last two.
The text was updated successfully, but these errors were encountered:
Hey @0-wiz-0, thanks for reporting. Tests are passing in our CIs, so if you want to make them pass in your system, please submit a pull request to that effect.
#111 fixes the first three of the problems.
The next two are caused by calling 'pylint' but only 'pylint-3.9' is available. I don't have a good portable fix for that.
For the remaining two, I suggest running the tests in an ASCII environment (C locale), and I guess you'll see the same error there.
I've just packaged python-lsp-server for pkgsrc. Running the self tests, I see a couple "failed" tests:
The first five of these assume a "python" binary, which pkgsrc does not provide by default.
I'm not sure about the last two.
The text was updated successfully, but these errors were encountered: