-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
1.2.0 hackage release fails to build due to last lsp-types release #2087
Comments
|
The cause of this breakage has been:
So the solution could be make hackage revision over actual lastest hackage versions:
@pepeiborra what was the motivation to relax the lsp-types bound to < 1.4? i guess it was to being able to get lsp-1.2.0.1, could be revert that change as a hackage revision? If that is not possible we'll have to restrict ghcide version everywhere to EDIT: Arguably adding those new fields should not break dependent packages if they would imported lsp qualified, so following strictly pvp a minor bump was correct. |
Hmm, thanks for the link to the pr changing it, however i was curious about the hackage release itself too (not mentioned in the pr). To know if we could go back to |
Alternatively we could backport #2059 to a tag, branch or commit of ghcide-1.4.0.3 and hls-plugin-api-1.1.0.2 and release ghcide-1.4.0.4 and hls-plugin-api-1.1.0.3 |
And to avoid this situation hereinafter and let lsp* add new definitions without bumping up the breaking change version we should import lsp modules qualified everywhere. |
Thanks for checking. Yes, I think it's fine to go back to lsp-types-1.2.* in this case since I ended up rolling back the lsp-types hashconsing patch in our Hackage snapshot too. My opinion is that this trouble has been caused by the change to relax the lsp-types upper bound, which was too optimistic, and we shouldn't read too much into it (I.e. no need to make all imports qualified). Maybe a Hackage revision would suffice. Thanks for looking into it @jneira ! |
Yep, but |
I've done the both revisions:
I've tested locally both builds succesfully and hls-1.2.0 find a build plan (still building) |
Thanks, the issue is fixed )) |
We have to make a hackage revision to use the previous lsp-types version
The text was updated successfully, but these errors were encountered: