Skip to content

PipClientHandler: hand over to UvHandler when uv is available #156

@aveao

Description

@aveao

Recent PRs to this project introduced a UvHandler and UvVenvManager, which provide very helpful functionality.

I can understand why you might not want to change over all users of PipClientHandler and PipVenvManager to use them (though I think it's worth consideration), but I believe it would be an improvement if PipClientHandler were expanded with functionality to hand over to UvHandler if there's uv installed on the system and the current project utilizes it.

This way, the versions of packages within the uv venv can be utilized, which is useful in cases where a project depends on a different version of the LSP than what is installed system-wide.

(Adjacent issue on LSP-ruff to not force a specific version so that the local project's version can be used where possible: sublimelsp/LSP-ruff#131)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions