Skip to content

Conversation

@art-w
Copy link
Collaborator

@art-w art-w commented Oct 13, 2025

The OxCaml opam-repo ships a custom version of dune, using this patch (= same as this PR). The changes are only required for OxCaml, but they fix the new errors in the dune CI. Furthermore as discovered by @Alizter, the OxCaml opam-repo has recently added a constraint on dune version to be exactly 3.20.2+ox, which leads to opam conflicts if we use the default dev version.
Cc @d-kalinichenko : who should be credited for the commit? :)

@art-w art-w force-pushed the upstream-oxcaml-repo branch from 5a324c9 to 6c3e1bb Compare October 13, 2025 12:02
@art-w art-w changed the title refactor(oxcaml): import eta-expansion changes from opam-repo fix(oxcaml): import eta-expansion changes from opam-repo Oct 13, 2025
@shonfeder
Copy link
Member

This is blocking for https://github.com/ocaml/dune/milestone/64, since it prevents the oxcaml CI from running, which is how we're validating that the work on parametric libraries is working as expected.

@shonfeder shonfeder enabled auto-merge (squash) October 13, 2025 15:41
@shonfeder shonfeder merged commit 28e93c9 into ocaml:main Oct 13, 2025
1 of 2 checks passed
Alizter referenced this pull request in oxcaml/opam-repository Oct 13, 2025
davesnx added a commit to davesnx/dune that referenced this pull request Oct 14, 2025
* 'main' of github.com:/ocaml/dune: (147 commits)
  cram test: test only parameter flags in merlin generation
  fix(oxcaml): import eta-expansion changes from opam-repo (ocaml#12563)
  address review comments
  Mask the path to the stdlib
  fix(oxcaml): generate merlin config for library parameters
  fix(melange + include_qualified): track correct `.cmj` dependencies in emit (ocaml#12531)
  refactor: remove some unused code in [Path] (ocaml#12558)
  dep_rules: don't run (transitive) `ocamldep` on single module buildables (ocaml#12555)
  fix(pkg): ignore project settings for building packages
  test(pkg): reproduce ocaml#12131
  melange: add a test for module cycle checks (ocaml#12554)
  chore: lint check for new changes entries (ocaml#12553)
  feature(cram): allow for conflict detection (ocaml#12538)
  ci: update for ocaml 5.4 release (ocaml#12552)
  chore(script): generate changelog from structure (ocaml#12516)
  Reuse dependencies between project and tools (ocaml#12526)
  Introduce Io.overwrite_file
  test: fix dune install requiring a mandir
  Enable package management for more tests
  Add a `dune tools env` command to add dev tools to PATH (ocaml#12521)
  ...
@dkalinichenko-js
Copy link
Collaborator

I wrote that patch, but it's not really meaningful enough to warrant crediting 😅

Thanks! I'll see if we can fix this issue at the OxCaml side, since this behavior didn't happen with just Dune.

MisterDA pushed a commit to MisterDA/dune that referenced this pull request Nov 13, 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.

3 participants