Skip to content

Commit 6a47b13

Browse files
authored
packaging: Avoid Cmdliner 2.0 (#1308)
Cmdliner is planning to drop parsing of options using prefixes [1] in version 2.0. This is a change that can potentially impact our users in unpredicted and unwanted ways, so let's make sure we only move to cmdliner 2.0 after deciding we are OK with dropping this feature and a review of potential uses in Alt-Ergo. In the meantime, add 2.0 as an upper bound for cmdliner. [1] : dbuenzli/cmdliner#200
1 parent 7351948 commit 6a47b13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

alt-ergo.opam

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ depends: [
1616
"dune" {>= "3.14"}
1717
"alt-ergo-lib" {= version}
1818
"dune-site"
19-
"cmdliner" {>= "1.1.0"}
19+
"cmdliner" {>= "1.1.0" & < "2.0"}
2020
"odoc" {with-doc}
2121
"camlzip" {>= "1.07"}
2222
]

dune-project

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ See more details on https://alt-ergo.ocamlpro.com/")
2929
dune
3030
(alt-ergo-lib (= :version))
3131
dune-site
32-
(cmdliner (>= 1.1.0))
32+
(cmdliner (and (>= 1.1.0) (< 2.0)))
3333
(odoc :with-doc)
3434
(camlzip (>= 1.07))
3535
)

0 commit comments

Comments
 (0)