Skip to content

Commit

Permalink
tool: add an upper bound to avoid the breaking change in MDX
Browse files Browse the repository at this point in the history
realworldocaml/mdx#446 adds an ability to run
included blocks. Our included block is not meant to be run, however,
and it appears that there's no easy way to skip the running.
So as a temporary workaround, we set the upper bound on the MDX version
until a satisfactory solution emerges.
  • Loading branch information
sorawee committed Mar 13, 2024
1 parent 79b6802 commit 3e0c907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
(description "A pretty printer implementation of 'A Pretty Expressive Printer' (OOPSLA'23), with an emphasis on expressiveness and optimality.")
(depends (ocaml (>= 4.05))
dune
(mdx (and (>= 2.3.0) :with-test))
(mdx (and (>= 2.3.0) (<= 2.3.1) :with-test))
(alcotest :with-test)))
2 changes: 1 addition & 1 deletion pretty_expressive.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ bug-reports: "https://github.com/sorawee/pretty-expressive-ocaml/issues"
depends: [
"ocaml" {>= "4.05"}
"dune" {>= "3.10"}
"mdx" {>= "2.3.0" & with-test}
"mdx" {>= "2.3.0" & <= "2.3.1" & with-test}
"alcotest" {with-test}
"odoc" {with-doc}
]
Expand Down

0 comments on commit 3e0c907

Please sign in to comment.