Skip to content

[3.25] fix(package-deps): narrow installed package version gate - #16558

Merged
shonfeder merged 2 commits into
ocaml:3.25.0-rcfrom
Alizter:backport/pr-16529-3.25
Oct 8, 2026
Merged

shonfeder merged 2 commits into
ocaml:3.25.0-rcfrom
Alizter:backport/pr-16529-3.25

Conversation

@Alizter

@Alizter Alizter commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Backport #16529 to 3.25.0-rc, including the regression test from #16526.

Add a cram reproducer for the regression from ocaml#16362, recording the
failure for a local package dependency under `(lang dune 2.0)` and a
successful 2.9 control.

Upstreams anmonteiro#216.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>

(cherry picked from commit 2bc82b9)

Signed-off-by: Ali Caglayan <[email protected]>
Preserve the Dune 2.9 gate for explicitly requested installed packages
while allowing installed packages discovered through a local package's
library closure on older language versions.

Alternative to ocaml#16528.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>

(cherry picked from commit 3563028)

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter mentioned this pull request Oct 7, 2026
62 tasks done
@Alizter
Alizter marked this pull request as ready for review October 7, 2026 12:57
@shonfeder

Copy link
Copy Markdown
Member

Thanks!

@shonfeder
shonfeder merged commit 3f88c64 into ocaml:3.25.0-rc Oct 8, 2026
37 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Oct 9, 2026
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.

3 participants