-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: improve detection of poetry 2 projects (#274)
Projects created with poetry >= 2.0 don't necessarily include a tool.poetry table in the pyproject.toml. Thus poethepoet cannot rely on the presence or absence of this table to tell whether it is appropriate to default to using the PoetryExecutor to run tasks with poetry's venv. It seems the best remaining indicator is the content of the build-system which poetry still configures consistently, although this is less ideal.
- Loading branch information
Showing
2 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters