Skip to content

Commit

Permalink
fix: disallow UV_SYSTEM_PYTHON
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
  • Loading branch information
henryiii committed Apr 12, 2024
1 parent 55c7eaf commit 49fa548
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 @@ -34,7 +34,7 @@
# Problematic environment variables that are stripped from all commands inside
# of a virtualenv. See https://github.com/theacodes/nox/issues/44
_BLACKLISTED_ENV_VARS = frozenset(
["PIP_RESPECT_VIRTUALENV", "PIP_REQUIRE_VIRTUALENV", "__PYVENV_LAUNCHER__"]
["PIP_RESPECT_VIRTUALENV", "PIP_REQUIRE_VIRTUALENV", "__PYVENV_LAUNCHER__", "UV_SYSTEM_PYTHON"]
)
_SYSTEM = platform.system()

Expand Down

0 comments on commit 49fa548

Please sign in to comment.