poetry env list
does not list in-project environment even though it is currently activated
#3939
Closed
3 tasks done
Labels
area/cli
Related to the command line
area/venv
Related to virtualenv management
kind/bug
Something isn't working as expected
status/confirmed
Issue is reproduced and confirmed
status/triage
This issue needs to be triaged
Hi VSCode Python extension dev here 👋
-vvv
option).Issue
Unless the
virtualenvs.in-project
is explicitly set totrue
,poetry env list
does not display local.venv
named environment. If setting is not set to true, poetry will use the virtualenv from the.venv
directory when one is available as stated in the docs. In that case I would also expectpoetry env list
to contain the active poetry environment, which is the local.venv
.So it seems that our extension cannot rely on
poetry env list
to discover all poetry environments microsoft/vscode-python#8372 for a project atm.The text was updated successfully, but these errors were encountered: