Skip to content

build: update OxCaml release environments to 5.4 - #16969

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:oxcaml-5.4-updates
Nov 25, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:oxcaml-5.4-updates

Conversation

@Alizter

@Alizter Alizter commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Update both Nix and opam CI to OxCaml 5.4.0-ox9, sharing compiler/repository pins and the upstream odoc port from ocaml/odoc#1520. Update the affected integration expectations and keep the OxCaml patch guards enabled. Formatting and unrelated CI cleanups remain separate follow-ups.

Follows merged #16968, #16985, #16990, and #16994.

@Alizter Alizter added no changelog slop Needs to be desloppified. labels Nov 9, 2026
@Alizter
Alizter force-pushed the oxcaml-5.4-updates branch 3 times, most recently from 9a9ef29 to 52aaa9b Compare November 10, 2026 14:43
Alizter added a commit that referenced this pull request Nov 10, 2026
Move the OxCaml compiler and opam-repository pins into shared JSON data
so Nix shells and CI can consume the same configuration. Keep the
existing pins and release-tag consistency check, and expose separate
release/latest compiler selections.

Split out of #16969.
Alizter added a commit that referenced this pull request Nov 10, 2026
Honor opam's `x-subpath` when selecting the unpacked source root, before
patches are applied, for both generated packages and overridden Nix
packages. Share normalization and quoted-value parsing across source
fields, preserve literal subpaths, and keep inherited unpack hooks
separate. Set `DUNE_ROOT=.` for generated packages so builds remain
rooted in the selected source directory rather than a surrounding
project.

Split out of #16969.
@Alizter
Alizter force-pushed the oxcaml-5.4-updates branch 2 times, most recently from 832ba39 to 64c27d5 Compare November 10, 2026 20:08
@Alizter
Alizter force-pushed the oxcaml-5.4-updates branch 2 times, most recently from 1f82c33 to 4333cf9 Compare November 10, 2026 22:22
Alizter added a commit that referenced this pull request Nov 10, 2026
Apply opam patches in the order declared by the top-level `patches`
field rather than filename order. Handle singleton/list declarations,
line comments, and quoted filenames without changing the other metadata
readers. Unsupported block comments and escaped patch names fail
explicitly; patch filters remain unevaluated.

Split out of #16969.
@Alizter
Alizter force-pushed the oxcaml-5.4-updates branch 5 times, most recently from 0485385 to baf7a76 Compare November 12, 2026 18:24
@Alizter Alizter changed the title ci: update OxCaml 5.4 pins and compatibility coverage build: update OxCaml release environments to 5.4 Nov 12, 2026
@Alizter Alizter changed the title build: update OxCaml release environments to 5.4 build(nix): update the OxCaml release to 5.4 Nov 12, 2026
@Alizter
Alizter force-pushed the oxcaml-5.4-updates branch 2 times, most recently from 64d2789 to 384045b Compare November 13, 2026 01:11
@Alizter Alizter removed the slop Needs to be desloppified. label Nov 13, 2026
@Alizter
Alizter marked this pull request as ready for review November 13, 2026 01:15
@Alizter
Alizter requested a review from art-w November 13, 2026 01:15
@Alizter Alizter changed the title build(nix): update the OxCaml release to 5.4 build: update OxCaml release environments to 5.4 Nov 13, 2026
@Alizter
Alizter force-pushed the oxcaml-5.4-updates branch 2 times, most recently from cbc217e to 8e9f5be Compare November 16, 2026 12:44
Update the compiler and package snapshot in Nix and opam together. Use
the OxCaml package recipes and a single upstream odoc commit in both
environments. Keep patch guards enabled and update the existing test
expectations without rewriting the fixtures.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter
Alizter merged commit ebafc11 into ocaml:main Nov 25, 2026
36 of 37 checks passed
@Alizter
Alizter deleted the oxcaml-5.4-updates branch November 25, 2026 21:14
@Alizter Alizter added this to the 3.26.0 milestone Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant