Skip to content

On Hackage lsp-types release restricts to aeson <1.6 #373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #2477
Anton-Latukha opened this issue Dec 12, 2021 · 12 comments
Closed
Tracked by #2477

On Hackage lsp-types release restricts to aeson <1.6 #373

Anton-Latukha opened this issue Dec 12, 2021 · 12 comments

Comments

@Anton-Latukha
Copy link

Anton-Latukha commented Dec 12, 2021

Seen that lsp-types was released with 2.0 support, but then the revision was made to < 1.6 https://hackage.haskell.org/package/lsp-types-1.3.0.1/revisions/.

So in the future, a new release with working support of aeson >= 2.0.1 would contribute into HLS having full support for 9.0.1.

Since brittany released support of 9.0.1 requiring aeson >= 2.0.1: https://hackage.haskell.org/package/brittany
That with aeson < 1.6 here currently makes a restriction that prevents Cabal from solving bounds during HLS build for 9.0.1 with enabled brittany plugin:
https://github.com/haskell/haskell-language-server/runs/4498074985?check_suite_focus=true

@Anton-Latukha Anton-Latukha changed the title On Hackage lsp-types release requires aeson <1.6 On Hackage lsp-types release restricts to aeson <1.6 Dec 12, 2021
@jneira
Copy link
Member

jneira commented Dec 12, 2021

Thanks for noting it, we will need a new lsp release with aeson-2.0 support.
Not sure if hls or its deps will need more changes though

@michaelpj
Copy link
Collaborator

I think that revision was to stop the old release from picking the new aeson, I think we just haven't done a release since we fixed it.

@jneira
Copy link
Member

jneira commented Dec 13, 2021

Not sure if hls or its deps will need more changes though

ennocramer/floskell#68

@jneira
Copy link
Member

jneira commented Dec 13, 2021

Not sure if hls or its deps will need more changes though

ndmitchell/hlint#1328

@michaelpj
Copy link
Collaborator

@jneira I think you're the person who can do Hackage releases. Should we go ahead and do one? I don't think there's anything we're especially waiting for.

@jneira
Copy link
Member

jneira commented Dec 14, 2021

well want to check if hls including the test suite is ok against LSP master before the release

in any case will add you to the hackage uploaders list (if you agree obviously)

is https://hackage.haskell.org/user/michaelpj you main account there?

@michaelpj
Copy link
Collaborator

Yeah, I just made a hackage account so I can help out with stuff like this :)

@jneira
Copy link
Member

jneira commented Dec 14, 2021

Yeah, I just made a hackage account so I can help out with stuff like this :)

done for the three packages living here

@jneira
Copy link
Member

jneira commented Dec 15, 2021

well want to check if hls including the test suite is ok against LSP master before the release

the aeson-2 thing is being more complex, so I will open a pr in hls only using master of LSP packages to do the sanity check before the release

@michaelpj
Copy link
Collaborator

I have a WIP branch for this, it's a fair amount of churn for dealing with the numeric type changes. Happy to keep at it, or I can push it so you can start from there.

@michaelpj
Copy link
Collaborator

https://github.com/michaelpj/haskell-language-server/tree/mpj/wip-hls-lsp-upgrade

@michaelpj
Copy link
Collaborator

Released a new version that works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants