Skip to content

Add support for Rye #629

@fpgmaas

Description

@fpgmaas

Is your feature request related to a problem? Please describe.

Rye is gaining a lot of popularity. As of writing, deptry does not support Rye properly, since it does not fetch development dependencies from tool.rye.dev-dependencies.

However, I can imagine that this flag is prone to change in the near future. For example astral-sh/rye#705 proposes to store dev dependencies under [project.optional-dependencies.dev], which would allow users to use the --pep621-dev-dependency-groups flag as proposed in this PR. Then there's also PEP 735 which proposes a new [dependency-groups] field, which would render special handling of Rye obsolete. And then there is also astral-sh/rye#705, which requests dependency groups. Although that does not speak directly of development dependencies, I can imagine that there is also a an ask to split development dependencies into groups (e.g. test and docs).

So this raises the question; should we simply add support for Rye's development dependencies in its current state, or do we give it some more time to see which direction the project is headed in?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions