Skip to content

Poetry 1.2 export command should acknowledge dependency groups #5367

Closed

Description

@collang
  • [ x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [ x] I have searched the documentation and believe that my question is not covered.

Feature Request

With the new concept of dependency groups being added in the 1.2 release I think it's probably important that all the commands use the concept in a similar, predictable way. Presently, the export command only has a --dev flag to install all optional dependencies even though similar commands have been deprecated elsewhere. I believe this has probably just been overlooked so I wanted to make sure this was on the radar of those working on this project.

Thanks to everyone who contributes to this project, this is shaping up to be a great release 👍

Activity

  1. finswimmer commented on Mar 31, 2022

    @finswimmer
    Member

    Hello @collang,

    the implementation of the export command will move to a plugin. See #4824. This plugin will acknowledge the dependency groups. See https://github.com/python-poetry/poetry-export-plugin

    fin swimmer

  2. jaymegordo commented on Apr 27, 2022

    @jaymegordo

    @finswimmer that PR you mentioned seems to be closed? Is there any way to work around this currently to use poetry export --with my_group?

  3. github-actions commented on Mar 1, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions