Skip to content

Commit 62a0ba0

Browse files
JasonGrossclaude
andcommitted
extra-dev: cap dune < 3.24 on rocq-elpi-json.dev and rocq-elpi-xml.dev
dune 3.24 deleted the `coq` dune-language extension, so a `dune-project` containing `(using coq X.Y)` no longer parses regardless of its own `(lang dune ...)`. Both rows are built from `apps/json/` and `apps/xml/` of the coq-elpi tree, whose `dune-project` carries `(using coq 0.8)`. opam solves one dune version per switch, so an uncapped recipe in a closure can select dune >= 3.24 for everything in it. Same spelling as the caps already merged for the released rows (#3806, #3819). Satisfiable: `rocq-elpi`, which both rows depend on, already asks `dune {>= "3.13" & < "3.24"}`, and `rocq-core.dev` / `rocq-runtime.dev` ask `dune {>= "3.21"}`, so 3.21-3.23.x satisfies the whole closure. `opam lint` passes on both files. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L9BGQT7XUuubV6C619DW4b
1 parent 1fd8e37 commit 62a0ba0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • extra-dev/packages
    • rocq-elpi-json/rocq-elpi-json.dev
    • rocq-elpi-xml/rocq-elpi-xml.dev

extra-dev/packages/rocq-elpi-json/rocq-elpi-json.dev/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license: "LGPL-2.1-or-later"
77
homepage: "https://github.com/LPCIC/coq-elpi/apps/json/"
88
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
99
depends: [
10-
"dune" {>= "3.13"}
10+
"dune" {>= "3.13" & < "3.24"}
1111
"rocq-elpi" {= "dev"}
1212
"yojson"
1313
"odoc" {with-doc}

extra-dev/packages/rocq-elpi-xml/rocq-elpi-xml.dev/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license: "LGPL-2.1-or-later"
77
homepage: "https://github.com/LPCIC/coq-elpi/apps/xml/"
88
bug-reports: "https://github.com/LPCIC/coq-elpi/issues"
99
depends: [
10-
"dune" {>= "3.13"}
10+
"dune" {>= "3.13" & < "3.24"}
1111
"rocq-elpi" {= "dev"}
1212
"xml-light"
1313
"odoc" {with-doc}

0 commit comments

Comments
 (0)