Skip to content

test(pkg): document legacy per-platform version selection - #16001

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-upmrsppvmyyl
Aug 17, 2026
Merged

test(pkg): document legacy per-platform version selection#16001
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-upmrsppvmyyl

Conversation

@Alizter

@Alizter Alizter commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add a regression documenting that existing language versions currently allow a portable lock directory to choose different versions of one package on different platforms.
  • Use mutually exclusive Linux and macOS availability filters to make that behavior explicit.
  • Establish the compatibility baseline changed by the joint solver.

This test intentionally documents legacy behavior; #15982 updates its expectation to the intended all-platform failure when no common version exists.

Tests

  • nix develop -c dune runtest test/blackbox-tests/test-cases/pkg/portable-lockdirs/portable-lockdirs-language-version-compatibility.t
  • CI=true nix develop -c dune build @fmt @check

@Alizter Alizter added package management Dune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commands no changelog labels Aug 17, 2026
@Alizter
Alizter marked this pull request as draft August 17, 2026 18:04
Capture the current behavior where different requested platforms may select
different versions of the same package. The joint-solver feature updates this
expectation to the intended all-platform failure.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter
Alizter force-pushed the push-upmrsppvmyyl branch from 6abea54 to 811eaa0 Compare August 17, 2026 18:44
@Alizter
Alizter marked this pull request as ready for review August 17, 2026 19:39
@Alizter
Alizter merged commit 0b8bd61 into ocaml:main Aug 17, 2026
36 checks passed
@Alizter
Alizter deleted the push-upmrsppvmyyl branch August 17, 2026 22:46
@Alizter Alizter added this to the 3.25.0 milestone Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no changelog package management Dune's package management — `(pkg)` stanza, lockdirs, `dune pkg` commands

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant