Skip to content

[poetry] Install command requires --all-groups --all-extras #1710

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

Open
prabhu opened this issue Mar 27, 2025 · 0 comments
Open

[poetry] Install command requires --all-groups --all-extras #1710

prabhu opened this issue Mar 27, 2025 · 0 comments
Labels

Comments

@prabhu
Copy link
Collaborator

prabhu commented Mar 27, 2025

Poetry v2 requires these two arguments --all-groups --all-extras for a complete sbom.

let poetryInstallArgs = ["-m", "poetry", "install", "-n", "--no-root"];

We can detect poetry v2 mode by improving the below line and checking for requires = ["poetry-core>=2.0.0"]

poetryMode = true;

These booleans need to be passed to the getPipFrozenTree function somehow.

@prabhu prabhu added good first issue Good for newcomers lang:python labels Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant