Skip to content

npm backend hangs when used with python.uv_venv_auto = true #4600

@rwjblue

Description

@rwjblue

When settings.python.uv_venv_auto is set to true installing tools with the npm backend hangs indefinitely.

This was initially reported in #4286 and @jdx requested an issue with minimal reproduction steps.

❯ mise use -g --verbose npm:prettier
DEBUG ARGS: /opt/homebrew/bin/mise use -g --verbose npm:prettier
DEBUG config: ~/.config/mise/config.toml
DEBUG install_some_versions: npm:prettier@latest
DEBUG $ npm view prettier dist-tags --json

Steps to Reproduce

Without the python.uv_venv_auto setting the following succeeds:

mise uninstall --all
mise cache clear
mise use -g node
mise use -g npm:prettier

With the python.uv_venv_auto setting the following hangs:

# reset cache & set settings
mise uninstall --all
mise cache clear

mise config set settings.python.uv_venv_auto true
mise use -g --verbose npm:prettier
# hangs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions