mu-haskell icon indicating copy to clipboard operation
mu-haskell copied to clipboard

Support Aeson 2.x and LTS 19?

Open nodew opened this issue 2 years ago • 5 comments

From this PR #332, I see LTS 19 unfortunately doesn't work, due to the Aeson 2.x versioning. Could we upgrade Aeson to 2.x? Is there any hard dependency on Aeson 1.x?

nodew avatar Sep 19 '22 10:09 nodew

The problem is that some of the dependencies we use are not compatible with Aeson 1.x. But I can try again, maybe it works this time!

serras avatar Sep 23 '22 13:09 serras

Has there been any progress on this recently? I'd like to use mu-haskell in a new project, but not having LTS 19 is turning out to be a dealbreaker.

Taking a stab at it myself, the issues with Aeson 2 seem relatively easy to fix (just KeyMap for objects, plus passing the -json build flag to the graphql package), but next I see an issue in http2-client (maybe GHC version-related?) that I'm not immediately sure what to do about.

sfwc avatar Nov 09 '22 18:11 sfwc

Not really. The main problem is indeed http2-client, which no longer compiles. Not only that, the package http2 has added its own Client module which conflicts with that one :/

serras avatar Nov 10 '22 08:11 serras

The problem is that some of the dependencies we use are not compatible with Aeson 1.x. But I can try again, maybe it works this time!

I think you meant to say 2.x?

Anyway, is there some way others can help out here? Are we blocked by https://github.com/haskell-grpc-native/http2-client/issues/79?

listx avatar Jan 24 '23 17:01 listx

@listx That's exactly the blocker

serras avatar Jan 24 '23 19:01 serras