Skip to content

mdx: add a dependency on unix required for mdx >=2.6 - #15592

Merged
Alizter merged 1 commit into
ocaml:mainfrom
avsm:mdx-2.6
Jul 23, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
avsm:mdx-2.6

Conversation

@avsm

@avsm avsm commented Jul 23, 2026

Copy link
Copy Markdown
Member

mdx >= 2.6 add a Unix dependency, which needs to be also added by the dune mdx rule since it uses implicit transitive dependencies. There shouldn't be any harm in adding this dependency to older mdx invocations.

The feature in mdx is realworldocaml/mdx#476 by @talex5

@Alizter Alizter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a DCO

@avsm

avsm commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

Done!

If it's possible to do a 3.24.2, this would be very handy to unblocking mdx being released for oxcaml as well (as this needs a hard constraint on dune due to the path behaviour change as well)

@Alizter Alizter added mdx Related to the internal mdx plugin oxcaml Related to the support to OxCaml functionnalities labels Jul 23, 2026
@Alizter

Alizter commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

I'm not yet certain there will be a 3.24.2. It looks more likely that a 3.25.0 will be released soon instead, we have a backlog of 800 PRs or so on main right now.

@Alizter
Alizter merged commit 83cd7b5 into ocaml:main Jul 23, 2026
35 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Jul 24, 2026
This was referenced Aug 3, 2026
Alizter added a commit that referenced this pull request Aug 3, 2026
Signed-off-by: Ali Caglayan <[email protected]>
Alizter added a commit that referenced this pull request Aug 3, 2026
Backport #15592 onto `3.24.2-rc` so generated MDX test executables
include the implicit `unix` dependency required by MDX 2.6 and later.

This also adds the changelog fragment missing from the original PR.
avsm pushed a commit to ocaml/opam-repository that referenced this pull request Aug 3, 2026
CHANGES:

### Fixed

- Add the implicit `unix` dependency required by MDX 2.6 and later to
  generated MDX test executables (ocaml/dune#15592, @avsm)

- Rescan the RPC registry when its directory mtime changes, allowing clients
  that poll before Dune registers to discover the new instance (ocaml/dune#15634, fixes
  ocaml/dune#15630, @rgrinberg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mdx Related to the internal mdx plugin oxcaml Related to the support to OxCaml functionnalities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants