Skip to content

Commit 455f217

Browse files
authored
Merge pull request #476 from NathanReb/turn-ocaml-constraint-to-conflict
Turn OCaml != 5.1.0~aplha1 contraint to a conflict
2 parents 41b97a5 + 2dbb1cc commit 455f217

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

dune-project

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
(package
1616
(name ppxlib)
1717
(depends
18-
(ocaml (and (and (>= 4.04.1) (< 5.2.0)) (<> 5.1.0~alpha1)))
18+
(ocaml (and (and (>= 4.04.1) (< 5.2.0))))
1919
(ocaml-compiler-libs (>= v0.11.0))
2020
(ppx_derivers (>= 1.0))
2121
(sexplib0 (>= v0.12))
@@ -26,6 +26,8 @@
2626
(cinaps (and :with-test (>= v0.12.1))))
2727
(conflicts
2828
(ocaml-migrate-parsetree (< 2.0.0))
29+
(ocaml-base-compiler (= 5.1.0~alpha1))
30+
(ocaml-variants (= 5.1.0~alpha1+options))
2931
base-effects)
3032
(synopsis "Standard infrastructure for ppx rewriters")
3133
(description "Ppxlib is the standard infrastructure for ppx rewriters

ppxlib.opam

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ doc: "https://ocaml-ppx.github.io/ppxlib/"
2121
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
2222
depends: [
2323
"dune" {>= "2.7"}
24-
"ocaml" {>= "4.04.1" & < "5.2.0" & != "5.1.0~alpha1"}
24+
"ocaml" {>= "4.04.1" & < "5.2.0"}
2525
"ocaml-compiler-libs" {>= "v0.11.0"}
2626
"ppx_derivers" {>= "1.0"}
2727
"sexplib0" {>= "v0.12"}
@@ -34,6 +34,8 @@ depends: [
3434
]
3535
conflicts: [
3636
"ocaml-migrate-parsetree" {< "2.0.0"}
37+
"ocaml-base-compiler" {= "5.1.0~alpha1"}
38+
"ocaml-variants" {= "5.1.0~alpha1+options"}
3739
"base-effects"
3840
]
3941
build: [

0 commit comments

Comments
 (0)