Skip to content

Conversation

@psafont
Copy link
Member

@psafont psafont commented Dec 11, 2025

These needs a few more packages with multiple versions, it might need some rounds of CI.

Before merging, ocaml.spec should be prepared with a 5.4.0 version as well

Depends on #748 fixing the CI

@psafont psafont requested a review from robhoes December 11, 2025 16:53
@psafont psafont force-pushed the dev/pau/ocaml54 branch 2 times, most recently from 66d489f to 86022e6 Compare December 11, 2025 17:18
@psafont
Copy link
Member Author

psafont commented Dec 11, 2025

bisect_ppx is blocking the merge at the moment. We're not realy using it, so we could drop it.

In the meantime, the place where progress is happening is in aantron/bisect_ppx#448

@psafont psafont force-pushed the dev/pau/ocaml54 branch 2 times, most recently from 74d6357 to 235ac0f Compare December 12, 2025 09:27
This helps detect incompatible packages with 5.4 now that it has been
released

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
It's not used and it's incompatible with OCaml 5.4

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
This new version is compatible with ocaml 5.4

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
This keeps the code compatible with previous versions of ocaml as well

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
While this version of ocamlformat is compatible with 4.14, we don't want
to adopt it just yet, so I've added an artificial lower bound to its
ocaml dependency

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
Updates ppxlib so it supports the new compiler AST. Unfortunately JST
does not support old compilers and new versions of their libraries need
to be brought in while keeping the existing ones. The same thing happens
with rpclibs.

Similarly with the new lsp server: the new merlin and lsp libraries
require the new ocaml compiler.

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
@psafont
Copy link
Member Author

psafont commented Dec 17, 2025

Because of the issues in ocamlformat, I think we probably should merge them first, and leave the upgrade for ocaml later, unless you want to do the packaging of ocaml 5.4 in the rpm at the same time this update goes through @robhoes

@robhoes
Copy link
Member

robhoes commented Dec 17, 2025

Yes no need to rush OCaml 5.4.

@psafont
Copy link
Member Author

psafont commented Dec 17, 2025

I'll split the ocaml 5.4 upgrade from the preparation and ocamlformat update, then

@psafont psafont closed this Dec 17, 2025
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.

2 participants