Skip to content

support specifying a version of uv installed to the workspace #621

@DetachHead

Description

@DetachHead

i use uv instead of pip, but this extension does not seem to work unless pip is installed:

2025-07-22 09:58:44.199 [info] Terminal is activated: c:\Users\user\project\.venv\Scripts\python.exe
2025-07-22 09:58:47.777 [info] Running: C:\Users\user\project\.venv\Scripts\python.exe -m pip list
2025-07-22 09:58:48.221 [info] python: C:\Users\user\project\.venv\Scripts\python.exe: No module named pip

2025-07-22 09:58:48.351 [error] Error refreshing packages Failed to run python -m pip list

this extension should detect if uv is installed and run uv pip list instead.

i noticed there's a setting called python-envs.defaultPackageManager but the only valid value seems to be "ms-python.python:pip"

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions