Skip to content

Commit

Permalink
Merge pull request #476 from NathanReb/turn-ocaml-constraint-to-conflict
Browse files Browse the repository at this point in the history
Turn OCaml != 5.1.0~aplha1 contraint to a conflict
  • Loading branch information
NathanReb authored Feb 19, 2024
2 parents 41b97a5 + 2dbb1cc commit 455f217
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(package
(name ppxlib)
(depends
(ocaml (and (and (>= 4.04.1) (< 5.2.0)) (<> 5.1.0~alpha1)))
(ocaml (and (and (>= 4.04.1) (< 5.2.0))))
(ocaml-compiler-libs (>= v0.11.0))
(ppx_derivers (>= 1.0))
(sexplib0 (>= v0.12))
Expand All @@ -26,6 +26,8 @@
(cinaps (and :with-test (>= v0.12.1))))
(conflicts
(ocaml-migrate-parsetree (< 2.0.0))
(ocaml-base-compiler (= 5.1.0~alpha1))
(ocaml-variants (= 5.1.0~alpha1+options))
base-effects)
(synopsis "Standard infrastructure for ppx rewriters")
(description "Ppxlib is the standard infrastructure for ppx rewriters
Expand Down
4 changes: 3 additions & 1 deletion ppxlib.opam
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ doc: "https://ocaml-ppx.github.io/ppxlib/"
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
depends: [
"dune" {>= "2.7"}
"ocaml" {>= "4.04.1" & < "5.2.0" & != "5.1.0~alpha1"}
"ocaml" {>= "4.04.1" & < "5.2.0"}
"ocaml-compiler-libs" {>= "v0.11.0"}
"ppx_derivers" {>= "1.0"}
"sexplib0" {>= "v0.12"}
Expand All @@ -34,6 +34,8 @@ depends: [
]
conflicts: [
"ocaml-migrate-parsetree" {< "2.0.0"}
"ocaml-base-compiler" {= "5.1.0~alpha1"}
"ocaml-variants" {= "5.1.0~alpha1+options"}
"base-effects"
]
build: [
Expand Down

0 comments on commit 455f217

Please sign in to comment.