diff --git a/pkgs/development/python-modules/python-lsp-server/default.nix b/pkgs/development/python-modules/python-lsp-server/default.nix index 54fa536f792e..3e64e48a5926 100644 --- a/pkgs/development/python-modules/python-lsp-server/default.nix +++ b/pkgs/development/python-modules/python-lsp-server/default.nix @@ -34,6 +34,7 @@ matplotlib, numpy, pandas, + pytest-cov-stub, pytestCheckHook, websockets, @@ -55,12 +56,6 @@ buildPythonPackage rec { hash = "sha256-oFqa7DtFpJmDZrw+GJqrFH3QqnMAu9159q3IWT9vRko="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "--cov-report html --cov-report term --junitxml=pytest.xml" "" \ - --replace-fail "--cov pylsp --cov test" "" - ''; - pythonRelaxDeps = [ "autopep8" "flake8" @@ -115,6 +110,7 @@ buildPythonPackage rec { matplotlib numpy pandas + pytest-cov-stub pytestCheckHook ] ++ optional-dependencies.all; @@ -127,6 +123,8 @@ buildPythonPackage rec { "test_autoimport_code_actions_and_completions_for_notebook_document" # avoid dependencies on many Qt things just to run one singular test "test_pyqt_completion" + # https://github.com/python-lsp/python-lsp-server/issues/602 + "test_jedi_completion_with_fuzzy_enabled" ]; preCheck = ''