Skip to content

Again: Endless loop with conflict that isn´t one #4102

@Flohack74

Description

@Flohack74

Description

When paket tries to resolve a 3rd party dependency conflict it does not find any resolution. But actually the conflict isn´t one, as it has no contradiction in paket.dependencies

Repro steps

Please provide the steps required to reproduce the problem

  1. Set up a direct dependency to log4net without version restriction

  2. Have another 2 direct dependencies, which also reference log4net. One of them has a precise version number as a restriction, the other has >= restriction

Expected behavior

Paket gives a warning but uses the precise version number to resolve.

Actual behavior

Paket is running for over 30mins with that warning:

The process is taking longer than expected.
Paket may still find a valid resolution, but this might take a while.
  Conflict detected:
   - Dependencies file requested package log4net: >= 0
   - Common.Logging 31.0.8 requested package log4net: 2.0.12
   - DistributionBase 15.0.142 requested package log4net: >= 2.0.12

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