Skip to content

Print latest *applicable* version of packages on conflicts #508

Closed
@bergmark

Description

@bergmark

Extension of #450, showing the latest isn't helpful when there is an upper bound, e.g.

--  Failure when adding dependencies:
      classy-prelude-conduit: needed (<0.12), latest is 0.12.0, but 0.12.0 found
      xml-conduit: needed (<1.3), latest is 1.3.0, but 1.3.0 found

Here it would be more useful to show the latest version of classy-prelude-conduit that's < 0.12. Perhaps change the message to say "latest applicable is ..."

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions