mise
mise copied to clipboard
`npm` backend hangs when used with `python.uv_venv_auto = true`
When settings.python.uv_venv_auto is set to true installing tools with the npm backend hangs indefinitely.
This was initially reported in https://github.com/jdx/mise/discussions/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