You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#876 introduced the ability to customize the path used when creating Python virtual environments when using layout python. When used with source_up and an upper .envrc also uses layout python, the upper venv hides the lower one.
Describe the bug
#876 introduced the ability to customize the path used when creating Python virtual environments when using
layout python
. When used withsource_up
and an upper .envrc also useslayout python
, the upper venv hides the lower one.To Reproduce
setup
use
Expected behavior
echo $VIRTUAL_ENV
should have returned<root>/foo/.direnv/python-3.9.13
.Putting
unset VIRTUAL_ENV
betweensource_up
andlayout python
in<root>/foo/.envrc
renders the expected behavior.Environment
Additional context
Customizing the location of the virtual env is fine, but it shouldn't be using the variable set by the
venv
module.The text was updated successfully, but these errors were encountered: