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 Nov 28, 2024
1 parent aa09595 commit 7c501ed
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 @@ -568,7 +568,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 7c501ed

Please sign in to comment.