Skip to content

Dependency version with invalid direct dependencies should be tracked as incompatibility #151

Closed
@zanieb

Description

@zanieb

Example at https://github.com/zanieb/pubgrub/blob/zanie/examples/examples/unsat_indirect_dependency_conflict_backtrack.rs

Given the following situation:

  • root depends on foo
  • foo 1.1 depends on bar 1.0
  • foo 1.2 depends on bar 1.0 and bar 2.0 (invalid)

The solver fails with an empty dependency set on foo 1.2.
Instead, the solver should mark foo 1.2 as incompatible(?) and backtrack to a valid version of foo such as 1.1.

Metadata

Metadata

Assignees

No one assigned

    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