You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently tried to install lwt with 4.04.0+trunk, and it failed because ppx_tools is not yet compatible with that version. However, setting ppx_tools as an optional dep (because I use a copy of the opam repository that I could easily modify...), I could finally install it.
My suggestion:
set ppx_tools as an optional dependency of lwt in opam
create a package lwt+ppx, with no sources, but that depends on both lwt and ppx_tools. Packages that depend on the ppx syntax of lwt would then use a dependency on that new package instead of the one on lwt.
The text was updated successfully, but these errors were encountered:
I don't think that's a good idea, users expect to have the ppx on the relevant version of ocaml+lwt.
@lefessan The right solution for you is to make base-no-ppx available on 4.04, via a pin. It's a simple one liner, and it doesn't bother non-bleeding edge users. See ocaml/opam-repository#6373
I recently tried to install
lwt
with 4.04.0+trunk, and it failed becauseppx_tools
is not yet compatible with that version. However, settingppx_tools
as an optional dep (because I use a copy of the opam repository that I could easily modify...), I could finally install it.My suggestion:
ppx_tools
as an optional dependency oflwt
in opamlwt+ppx
, with no sources, but that depends on bothlwt
andppx_tools
. Packages that depend on theppx
syntax oflwt
would then use a dependency on that new package instead of the one onlwt
.The text was updated successfully, but these errors were encountered: