You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in #1032 (comment), given that lwt is using generate_opam_files, there is functionality supported by dune 2 which would enable more economical package description (specifically by allowing us to avoid use of opam.template files).
There have been concerns raised about whether increasing the lower bound on the dune dependency would leave Lwt incompatible with other important packages.
I offer the following analyses to derisk:
Searching for packages with an upper bound on dune that would cause a conflict we find 50 packages:
However, in almost every case, the latest version of the constrained package does not have this constraint. This is demonstrated by the following one-liner to print the package file bearing the lower bound followed by the latest version of the package:
As discussed in #1032 (comment), given that lwt is using
generate_opam_files
, there is functionality supported by dune 2 which would enable more economical package description (specifically by allowing us to avoid use ofopam.template
files).There have been concerns raised about whether increasing the lower bound on the dune dependency would leave Lwt incompatible with other important packages.
I offer the following analyses to derisk:
Searching for packages with an upper bound on dune that would cause a conflict we find 50 packages:
However, in almost every case, the latest version of the constrained package does not have this constraint. This is demonstrated by the following one-liner to print the package file bearing the lower bound followed by the latest version of the package:
The only outliers appear to be:
Two of these have a quite small reverse dependency cones:
And
jbuilder.transition
is already a conflict with dune 1: https://github.com/ocaml/opam-repository/blob/6a44505c76c94ac5d2ad231b5259cdfe10b9970d/packages/dune/dune.1.11.4/opam#L34This looks to my like a small enough down side that it would be worth updating.
The text was updated successfully, but these errors were encountered: