Skip to content

dune should ignore upper bounds on dune #14637

@Alizter

Description

@Alizter

Maintainers of opam repositories have their own reasons for including upper bounds on the dune package. See here for an example:

This practice is not partaken often in the main opam repository. And is not something we generally recommend.

At the moment it has the affect of preventing dune pkg from working with these packages at all. This is silly, because an upper bound doesn't give dune or the user any reasonable action to take other than a straight rejection.

If a user is using dune pkg they should be able to attempt to build with whatever packages they like and not have upper bounds for dune itself dictated by package maintainers, which are often not applicable to dune pkg but a restriction for the needs of opam.

On the dune pkg side we can improve the user experience by simply ignoring these upper bounds and allowing users to find solutions with said packages. It is very rare for dune to be entirely incompatible with an older dune lang, and by which time there use is likely to have other problems than us allowing a solution.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions