Merge pull request #326561 from SuperSandro2000/pylsp-nox

This commit is contained in:
Sandro 2024-07-15 14:48:05 +02:00 committed by GitHub
commit 74d38fdb30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,7 +18,6 @@
pydocstyle,
pyflakes,
pylint,
pyqt5,
pytestCheckHook,
python-lsp-jsonrpc,
pythonOlder,
@ -111,9 +110,7 @@ buildPythonPackage rec {
pandas
pytestCheckHook
]
++ passthru.optional-dependencies.all
# pyqt5 is broken on aarch64-darwin
++ lib.optionals (!stdenv.isDarwin || !stdenv.isAarch64) [ pyqt5 ];
++ passthru.optional-dependencies.all;
disabledTests =
[
@ -123,9 +120,7 @@ buildPythonPackage rec {
"test_numpy_completions"
"test_workspace_loads_pycodestyle_config"
"test_autoimport_code_actions_and_completions_for_notebook_document"
]
++ lib.optionals (stdenv.isDarwin && stdenv.isAarch64) [
# pyqt5 is broken on aarch64-darwin
# avoid dependencies on many Qt things just to run one singular test
"test_pyqt_completion"
];