Python virtual env is in wrong order in PATH for nested configs #4510
Unanswered
fredriv
asked this question in
Troubleshooting and bug reports
Replies: 1 comment 2 replies
-
Or perhaps just the current virtual env should be on the path, not both? 🤔 Similar to how it adds just the current version of other tools to the path... |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're migrating to
mise
+uv
to replaceasdf
+direnv
.We have a repository where various subdirectories have their own Python virtual environment. However, when setting this up in
mise
, the virtual environments end up in the wrong order inPATH
. This seems similar to the issue reported in #4361?In
~/tmp/base/mise.toml
:In
~/tmp/base/override/mise.toml
:When entering
~/tmp/base/override
I would expect to get Python 3.13 but I'm still getting the version specified in thebase
config:This is the start of the
PATH
variable:I would expect the two entries to be in the reverse order, with my current directory's virtual environment at the start.
Output of
mise doctor
:Beta Was this translation helpful? Give feedback.
All reactions