We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7fd291 commit 923c6c8Copy full SHA for 923c6c8
noxfile.py
@@ -34,7 +34,10 @@ def session_install_uv(
34
install_docs: bool = False,
35
) -> None:
36
"""Install root project into the session's virtual environment using uv."""
37
- env = {"UV_PROJECT_ENVIRONMENT": session.virtualenv.location}
+ env = {
38
+ "UV_PROJECT_ENVIRONMENT": session.virtualenv.location,
39
+ "UV_PYTHON": sys.executable, # Override any external UV_PYTHON setting
40
+ }
41
42
args = ["uv", "sync", "--frozen"]
43
if not install_project:
0 commit comments