Skip to content

Allow declaration of which dependency groups to install #5

@CarrotManMatt

Description

@CarrotManMatt

Poetry's install command can have the options --with, --without, --only or --only-root passed to it. It would be incredibly useful if this extra functionality could be extrapolated to this GitHub action through the inputs.

A list of group names could be passed to the --with, --without and --only flags, and a boolean could be used for the --only-root flag.

This would enable correct usage of Poetry's dependency system, where the tool.poetry.group.dev.dependencies are installed by default (this group should not be marked as optional = true within pyproject.toml), and are ignored when installing dependencies for installation for publishing to PyPi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions