Bug: Plugin attempts to run build when installing a Poetry env with package-mode=false #23042
Labels
area-environments
Features relating to handling interpreter environments
author-verification-requested
Issues potentially verifiable by issue author
bug
Issue identified by VS Code Team member as probable bug
needs PR
Ready to be worked on
verified
Verification succeeded
Milestone
When managing a project with poetry for dependencies, one of the modes it supports is
package-mode=false
- when this is present in the pyproject.toml, the intent is that poetry is being used to install dependencies for a python based tool likemkdocs
oransible
and there is nothing to build.Python Environment Manager v1.2.4 supports Poetry environments, but not this configuration, and it fails to initialize virtualenvs for this use case with the error
RuntimeError: Building a package is not possible in non-package mode.
- which is expected when something is calling build on a project that should not be built.Example pyproject.toml:
Logs:
The text was updated successfully, but these errors were encountered: