Skip to content

Commit 5e3d90d

Browse files
authored
fix: disallow UV_SYSTEM_PYTHON (#817)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 55c7eaf commit 5e3d90d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

nox/virtualenv.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@
3434
# Problematic environment variables that are stripped from all commands inside
3535
# of a virtualenv. See https://github.com/theacodes/nox/issues/44
3636
_BLACKLISTED_ENV_VARS = frozenset(
37-
["PIP_RESPECT_VIRTUALENV", "PIP_REQUIRE_VIRTUALENV", "__PYVENV_LAUNCHER__"]
37+
[
38+
"PIP_RESPECT_VIRTUALENV",
39+
"PIP_REQUIRE_VIRTUALENV",
40+
"__PYVENV_LAUNCHER__",
41+
"UV_SYSTEM_PYTHON",
42+
]
3843
)
3944
_SYSTEM = platform.system()
4045

0 commit comments

Comments
 (0)