Skip to content

Commit

Permalink
Use uv python install only with uv backend
Browse files Browse the repository at this point in the history
  • Loading branch information
oliversen authored and henryiii committed Dec 13, 2024
1 parent 28bbaa5 commit 87d398b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nox/virtualenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def _resolved_interpreter(self) -> str:
self._resolved = cleaned_interpreter
return self._resolved

if HAS_UV and UV_PYTHON_SUPPORT:
if self.venv_backend == "uv" and HAS_UV and UV_PYTHON_SUPPORT:
uv_python_success = uv_install_python(cleaned_interpreter)
if uv_python_success:
self._resolved = cleaned_interpreter
Expand Down

0 comments on commit 87d398b

Please sign in to comment.