Open Wurstnase opened 1 month ago
Actually, I think there's a second bug. I believe VIRTUAL_ENV and CONDA_PREFIX don't get set if you use this option, as well.
tox
^1 do a lot of magic to pass the correct values.
Should nox
stay this clean way?
Maybe some more configurable?
include_outer_env: Literal["all", "recommended", "none"]
while recommended
will pass a similar list of environment variables like in tox.
e.g. on my setup I need to set HOME
again, otherwise it wouldn't find my .netrc with the credentials for a private pypi repository.
This is a separate issue (nox isn't even setting its own variables when include_outer_env is false, like VIRTUAL_ENV). But not a bad (separate) idea.
Current Behavior
On
include_outer_env=False
, all outer environment variable will be used, whenenv
is not set orNone
.Expected Behavior
When
include_outer_env=False
, no environment variables should be set. Also when noenv
is set. Current workaround isenv={}
Steps To Reproduce
Environment
Anything else?
No response