I have caqti.2.1.1
and ppx_rapper.0.9.2
. I try to upgrade ppx_rapper
to version 3.1.0 and be able to upgrade it to support Eio. But opam
proposes:
The following actions will be performed:
⊘ remove caqti-eio 2.1.1 [conflicts with caqti]
↘ downgrade caqti 2.1.1 to 1.9.0 [required by ppx_rapper]
↗ upgrade ppx_rapper 0.9.2 to 3.1.0
↘ downgrade caqti-lwt 2.1.1 to 1.9.0 [uses caqti]
↘ downgrade caqti-driver-sqlite3 2.1.1 to 1.9.0 [uses caqti]
Eio would be removed because of the caqti downgrade. However the ppx_rapper.3.1.0
dependencies are:
"dune" {>= "2.0"}
"ocaml" {>= "4.07"}
"pg_query"
"ppxlib" {>= "0.3.1"}
"base" {>= "v0.11.1"}
"caqti" {>= "1.2.0"}
Then I don’t understand the reason of the Caqti downgrade.
NB: The new versions of Caqti change a type and ppx_rapper must be updated to be built with caqti.2.1.1… but it doesn’t seem aparent in the OPAM dependencies.
EDIT: I guess I have found… The opam - ppx_rapper page indicates an incompatibility with versions 2.0.0. I guess the OPAM platform filter tried to build with 2.0.0, failed and add a new constraint.