Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails if project directory contains a pyproject.toml file without tool.poetry section #14

Open
Toilal opened this issue Jan 2, 2024 · 0 comments

Comments

@Toilal
Copy link

Toilal commented Jan 2, 2024

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
Toilal added a commit to Pysae/poetry-plugin-freeze that referenced this issue Jan 2, 2024
Toilal added a commit to Pysae/poetry-plugin-freeze that referenced this issue Jan 2, 2024
Toilal added a commit to Pysae/poetry-plugin-freeze that referenced this issue Jan 24, 2024
Toilal added a commit to Pysae/poetry-plugin-freeze that referenced this issue Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant