Skip to content

fix(package-deps): remove the installed package version guard - #16528

Closed
anmonteiro wants to merge 2 commits into
ocaml:mainfrom
anmonteiro:anmonteiro/fix-package-deps-old-lang
Closed

anmonteiro wants to merge 2 commits into
ocaml:mainfrom
anmonteiro:anmonteiro/fix-package-deps-old-lang

Conversation

@anmonteiro

Copy link
Copy Markdown
Collaborator

Remove the language-version guard on installed package dependencies, as suggested in #16526. Fixes the regression introduced by #16362.

@anmonteiro
anmonteiro force-pushed the anmonteiro/fix-package-deps-old-lang branch from cc1196f to 3374cf2 Compare October 3, 2026 19:00
@anmonteiro
anmonteiro marked this pull request as ready for review October 3, 2026 19:00
@anmonteiro
anmonteiro requested a review from Alizter October 3, 2026 19:31
anmonteiro added a commit to nix-ocaml/nix-overlays that referenced this pull request Oct 3, 2026
anmonteiro added a commit to nix-ocaml/nix-overlays that referenced this pull request Oct 3, 2026
anmonteiro added a commit to nix-ocaml/nix-overlays that referenced this pull request Oct 3, 2026
@anmonteiro

Copy link
Copy Markdown
Collaborator Author

3.25 seems good after this fix, tested in the nix-overlays: nix-ocaml/nix-overlays#2711

@anmonteiro

Copy link
Copy Markdown
Collaborator Author

closing this in favor of #16529 which is a narrower fix that preserves backwards compatibility.

@anmonteiro anmonteiro closed this Oct 3, 2026
@anmonteiro
anmonteiro deleted the anmonteiro/fix-package-deps-old-lang branch October 3, 2026 22:45
anmonteiro added a commit that referenced this pull request Oct 3, 2026
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 #16528.

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
anmonteiro added a commit to nix-ocaml/nix-overlays that referenced this pull request Oct 4, 2026
* Test Dune 3.25.0_alpha0

* Test Dune package dependency fix (ocaml/dune#16528)
shonfeder pushed a commit that referenced this pull request Oct 8, 2026
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 #16528.

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

(cherry picked from commit 3563028)

Signed-off-by: Ali Caglayan <[email protected]>
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