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.
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 pkgfrom working with these packages at all. This is silly, because an upper bound doesn't giveduneor the user any reasonable action to take other than a straight rejection.If a user is using
dune pkgthey should be able to attempt to build with whatever packages they like and not have upper bounds forduneitself dictated by package maintainers, which are often not applicable todune pkgbut a restriction for the needs of opam.On the
dune pkgside 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 olderdune lang, and by which time there use is likely to have other problems than us allowing a solution.