Skip to content

Allow conflicting optional dependencies and dependency groups #6981

@zanieb

Description

@zanieb

A project should be able to declare mutually exclusive optional dependencies, which have conflicting requirements and are solved separately.

This problem is challenging because if any optional dependency group can be incompatible with any other group, we need to perform a resolution for every possible dependency group combination.

Note, following the recent standardization of local dependency groups, this issue includes allowing conflicts in those as well. The underlying changes that need to happen in the resolver are the same.

See also #6729

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions