uv
969b4a22 - uv-tool/install: ignore existing environments on interpreter mismatch (#7451)

Commit
1 year ago
uv-tool/install: ignore existing environments on interpreter mismatch (#7451) This changes `uv tool install` behavior with regards to re-using existing environments. In particular, this replaces the existing version-matching logic with a tighter one, enforcing a same-interpreter match. This allows to properly switch between system and managed interpreter, at the cost of more eagerly invalidating existing environments every time there is an interpreter change. Closes: https://github.com/astral-sh/uv/issues/7320
Author
Parents
Loading