Skip to content

Add excluded-dependencies support #12616

Open
@zanieb

Description

@zanieb

We support this now by setting an impossible marker, e.g., override-dependencies = ["package; sys_platform = "never"] (https://docs.astral.sh/uv/reference/settings/#override-dependencies). We should add a dedicated option, e.g., excluded-dependencies = ["package"]. Unlike --no-install-package, this omits the whole dependency tree. We should add a dedicated option, as this is fairly bespoke.

Related:

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationSettings and suchhelp wantedContribution especially encouraged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions