fsprojects / fsprojects/Paket

Conflict output could be more useful

Open
#3,391 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

Hi,

I see something like:

Conflict detected:
   - Dependencies file requested package Microsoft.EntityFrameworkCore: >= 0 ["~"; "1.1"]*
   - Microsoft.EntityFrameworkCore.Relational 2.1.4 requested package Microsoft.EntityFrameworkCore: >= 2.1.4

in the paket install log.

My question for this kinds of case is; why doesn't it tell me what is depending on Microsoft.EntityFrameworkCore.Relational 2.1.4? This is a transitive dependency in my setup.
And why does it not just try Microsoft.EntityFrameworkCore.Relational < 2.1.4?

Maybe I'm misunderstanding the version resolution algorithm, but this output could at least be more helpful in letting me understand what is going on.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing Paket's conflict output and dependency-resolution behavior for Microsoft.EntityFrameworkCore.Relational 2.1.4; done means the log identifies the transitive requester and explains why the selected version cannot be lowered.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.