Skip to content

fix dune version bound for dune-project's (warnings (duplicate_deps ..)) - #15696

Open
v-gb wants to merge 1 commit into
ocaml:mainfrom
v-gb:push-mpqvsnynurvs
Open

fix dune version bound for dune-project's (warnings (duplicate_deps ..))#15696
v-gb wants to merge 1 commit into
ocaml:mainfrom
v-gb:push-mpqvsnynurvs

Conversation

@v-gb

@v-gb v-gb commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This warning requires a dune >= 3.18, but it was introduced in 17e0490, which landed in 3.22:

$ jj log -r 'roots(17e049088d21c9b3ee12768d9a93b044b726accd:: & tags())' -T 'tags ++ "\n"' -G
3.22.0_alpha0
3.22.0_alpha1

This results in dune generating overly permissive opam version bounds, which then fail in opam ci.

No idea if it's ok to just bump the version like this (I assume existing dune-project files that make use of this will cause failure until their dune-lang version is bumped, at which point the generated opam files will change as well).

Checklist

  • Tests added, if applicable.
  • Change log entry added for any user-facing changes.
  • Documentation added for any user-facing changes.

This warning requires a dune >= 3.18, but it was introduced in
17e0490, which landed in 3.22:

$ jj log -r 'roots(17e0490:: & tags())' -T 'tags ++ "\n"' -G
3.22.0_alpha0
3.22.0_alpha1

This results in dune generating overly permissive opam version bounds, which then fail
in opam ci.

No idea if it's ok to just bump the version like this (I assume existing dune-project
files that make use of this will cause failure until their dune-lang version is bumped,
at which point the generated opam files will change as well).

Signed-off-by: Valentin Gatien-Baron <valentin.gatienbaron@gmail.com>
@v-gb
v-gb force-pushed the push-mpqvsnynurvs branch from 1345230 to 758e592 Compare August 6, 2026 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant