The plugin fails if project directory contains a pyproject.toml file without tool.poetry section.
It can easily occurs if you are using poetry config virtualenvs.in-project true with created a .venv directory inside the project directory and will probably contains pyproject.toml files
[tool.poetry] section not found in <project>/.venv/lib/python3.11/site-packages/ddtrace/appsec/_iast/_taint_tracking/_vendor/pybind11/tools/pyproject.toml
The plugin fails if project directory contains a
pyproject.toml
file withouttool.poetry
section.It can easily occurs if you are using
poetry config virtualenvs.in-project true
with created a.venv
directory inside the project directory and will probably contains pyproject.toml files