Skip to content

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

Open
@prabhu

Description

@prabhu

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions