Skip to content

Update constraint to use odoc with new markdown rendering - #14527

Merged
shonfeder merged 1 commit into
ocaml:mainfrom
Leonidas-from-XIV:odoc-markdown-rendering
May 14, 2026
Merged

shonfeder merged 1 commit into
ocaml:mainfrom
Leonidas-from-XIV:odoc-markdown-rendering

Conversation

@Leonidas-from-XIV

@Leonidas-from-XIV Leonidas-from-XIV commented May 14, 2026 •

Copy link
Copy Markdown
Member

The CI keeps failing presumably since ocaml/odoc#1403 (released in odoc 3.2.0) was merged.

This PR

@Leonidas-from-XIV

Copy link
Copy Markdown
Member Author

Obsoleted by #14505, I was mislead that this wasn't fixed yet by the failure on the 3.23.1-rc branch.

@Alizter

Alizter commented May 14, 2026

Copy link
Copy Markdown
Collaborator

If it helps with the CI in that branch, I think you should just pin the odoc version to 3.2.0 for the opam jobs.

@Leonidas-from-XIV

Copy link
Copy Markdown
Member Author

Ok, I downgraded from odoc.3.2.1 to odoc.3.1.0 and the latter does not render the ocaml label, so for the test to succeed we actually need to bump the dependency to 3.2.0 at least. Reopening the PR.

@Leonidas-from-XIV
Leonidas-from-XIV marked this pull request as ready for review May 14, 2026 13:54
@Leonidas-from-XIV
Leonidas-from-XIV requested a review from Alizter May 14, 2026 13:54
@Alizter

Alizter commented May 14, 2026

Copy link
Copy Markdown
Collaborator

I'm confused, I thought the issue happened between 3.2.0 and 3.2.1? Roughly I was seeing

\```ocaml

rather than

\```

in some tests.

@Leonidas-from-XIV

Copy link
Copy Markdown
Member Author

Yes, that's exactly the issue. ocaml/odoc#1403 was merged which changed the behavior and released as part of odoc.3.2.0 but we didn't notice it before in CI because only odoc.3.2.1 is in opam-repository, thus our CI went from 3.1.0 to 3.2.1 and only then our tests started failing.

@shonfeder shonfeder left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems to be fixing the CI and only affects dev-setup, so I'm merging this.

@shonfeder
shonfeder merged commit 2374299 into ocaml:main May 14, 2026
58 of 59 checks passed
@Leonidas-from-XIV
Leonidas-from-XIV deleted the odoc-markdown-rendering branch May 15, 2026 08:09
@Leonidas-from-XIV

Copy link
Copy Markdown
Member Author

The CI was originally fixed by @Alizter in #14505 by updating to the odoc 3.2+ syntax, this PR just fixes the lower bound for the dev-setup.

@Alizter Alizter added this to the 3.24.0 milestone Jul 8, 2026
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