Skip to content

nox-poetry does not respect the new dependency groups from Poetry #977

@paw-lu

Description

@paw-lu

Poetry has now deprecated --dev, and instead uses different named groups via --group. Eg:

% poetry add flask
% poetry add --group foo black

Since nox-poetry currently uses something like poetry export --dev --format=requirements.txt, this does not include dependencies defined in other groups—like group foo above. (Worth noting that this still works for the dev group though.)

There currently does not seem to be a way to force poetry export to export all dependencies. See:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions