Skip to content

Is there an option to pass extra marker to poetry install? #526

@bhoppeadoy

Description

@bhoppeadoy

Describe the Enhancement

Need a way to specify extra markers to pass to poetry install. For example:

poetry install -E somemarker

Possible Solution

Similar to the $BP_POETRY_INSTALL_ONLY env var, perhaps a $BP_POETRY_INSTALL_EXTRAS env var that takes a comma separated list of markers.

Setting $BP_POETRY_INSTALL_EXTRAS=marker1,marker2 would then produce this:

poetry install -E marker1 -E marker2

Motivation

I need to be able to build a project that requires setting a marker to install a specific package type.

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