Skip to content

Commit e958f79

Browse files
committed
ocamlformat: Add constraints on Dune 3.22
The behavior of the (diff) rules with non-existant files has changed in Dune 3.22, which break OCamlformat's testsuite.
1 parent 9f189ca commit e958f79

File tree

8 files changed

+8
-8
lines changed
  • packages
    • ocamlformat-lib
      • ocamlformat-lib.0.25.1
      • ocamlformat-lib.0.26.0
      • ocamlformat-lib.0.26.1
      • ocamlformat-lib.0.26.2
      • ocamlformat-lib.0.27.0
      • ocamlformat-lib.0.28.1
      • ocamlformat-lib.0.29.0
    • ocamlformat/ocamlformat.0.24.1

8 files changed

+8
-8
lines changed

packages/ocamlformat-lib/ocamlformat-lib.0.25.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ depends: [
1111
"alcotest" {with-test & >= "1.3.0"}
1212
"cmdliner" {>= "1.1.0" & < "2.0"}
1313
"base" {>= "v0.12.0"}
14-
"dune" {>= "2.8"}
14+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
1515
"dune-build-info"
1616
"either"
1717
"fix"

packages/ocamlformat-lib/ocamlformat-lib.0.26.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ depends: [
1111
"alcotest" {with-test & >= "1.3.0"}
1212
"cmdliner" {>= "1.1.0" & < "2.0"}
1313
"base" {>= "v0.12.0"}
14-
"dune" {>= "2.8"}
14+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
1515
"dune-build-info"
1616
"either"
1717
"fix"

packages/ocamlformat-lib/ocamlformat-lib.0.26.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"alcotest" {with-test & >= "1.3.0"}
2222
"cmdliner" {>= "1.1.0" & < "2.0"}
2323
"base" {>= "v0.12.0"}
24-
"dune" {>= "2.8"}
24+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
2525
"dune-build-info"
2626
"either"
2727
"fix"

packages/ocamlformat-lib/ocamlformat-lib.0.26.2/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"alcotest" {with-test & >= "1.3.0"}
2222
"cmdliner" {>= "1.1.0" & < "2.0"}
2323
"base" {>= "v0.12.0"}
24-
"dune" {>= "2.8"}
24+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
2525
"dune-build-info"
2626
"either"
2727
"fix"

packages/ocamlformat-lib/ocamlformat-lib.0.27.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"alcotest" {with-test & >= "1.3.0"}
2222
"base" {>= "v0.12.0"}
2323
"cmdliner" {>= "1.1.0" & < "2.0.0"}
24-
"dune" {>= "2.8"}
24+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
2525
"dune-build-info"
2626
"either"
2727
"fix"

packages/ocamlformat-lib/ocamlformat-lib.0.28.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"alcotest" {with-test & >= "1.3.0"}
2222
"base" {>= "v0.12.0"}
2323
"cmdliner" {>= "1.1.0"}
24-
"dune" {>= "2.8"}
24+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
2525
"dune-build-info"
2626
"either"
2727
"fix"

packages/ocamlformat-lib/ocamlformat-lib.0.29.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"alcotest" {with-test & >= "1.3.0"}
2222
"base" {>= "v0.12.0"}
2323
"cmdliner" {>= "1.1.0"}
24-
"dune" {>= "2.8"}
24+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
2525
"dune-build-info"
2626
"either"
2727
"fix"

packages/ocamlformat/ocamlformat.0.24.1/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ depends: [
1111
"alcotest" {with-test}
1212
"base" {>= "v0.12.0" & < "v0.17.0"}
1313
"cmdliner" {>= "1.1.0" & < "2.0"}
14-
"dune" {>= "2.8"}
14+
"dune" {>= "2.8" & (>= "2.8" | < "3.22" & with-test)}
1515
"dune-build-info"
1616
"either"
1717
"fix"

0 commit comments

Comments
 (0)