Skip to content

[BUG] pylsp fails to build if pylsp_mypy or rope are enabled #3046

Open
@psfloyd

Description

@psfloyd
Field Description
Plugin lsp.servers.pylsp
Nixpkgs unstable
  • I have read the FAQ and my bug is not listed there.

Description

When enabling python-lsp-server (pylsp) and some plugins, the resulting python-lsp-server package fails to build.
This fails seems to occur when enabling pylsp_mypy or rope.
The error message of the build is:

FAILED test/plugins/test_autoimport.py::test_autoimport_code_actions_and_completions_for_notebook_document - assert False

Minimal, Reproducible Example (MRE)

programs.nixvim = {
  plugins.lsp.enable = true;
  plugins.lsp.servers.pylsp = {
    enable = true;
    settings = {
      plugins = {
        pylsp_mypy.enabled = true; # pylsp fails to build if enabled
        rope.enabled = true; # pylsp fails to build if enabled
      };
    };
  };
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions