Skip to content

Clarify dependency group users #10549

@jaredahern

Description

@jaredahern

Issue Kind

Error in existing documentation

Existing Link

https://python-poetry.org/docs/managing-dependencies/

Description

Hi! The "managing dependencies" doc page includes a note with the following language:

Dependency groups, other than the implicit main group, must only contain dependencies you need in your development process. Installing them is only possible by using Poetry.

I believe that with PEP 735 support in Poetry 2.2.0, the second sentence is now inaccurate. In my understanding, it is still correct for dependency groups defined via [tool.poetry.group.*.dependencies], but other tools including pip can install groups listed in [dependency-groups].

Happy to submit a PR if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsDocumentation issues/improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions