-
-
Notifications
You must be signed in to change notification settings - Fork 368
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
Release 1.7.0 #2739
Comments
I'm preparing a ghcup release. |
Released. |
This should also be merged before release #2738 Who is maintaning the vscode extension? |
@jneira takes care of releases, iirc |
Doing the release is matter of push a tag, create a github release and make it definitive (see https://github.com/haskell/vscode-haskell/blob/master/.github/workflows/build.yml). |
The question is how does vscode extension install HLS? |
Here is the main entry point: https://github.com/haskell/vscode-haskell/blob/79456aaaa98b98f9e7b9f690bb18ab2b2838b6e2/src/extension.ts#L194 |
One issue with using ghcup to install HLS is specifying the target GHC version, which can be custom to the cradle and different from the one set in ghcup or the one in the PATH. Currently the VSCode extension uses the hls-wrapper to find out the project GHC version. If not using ghcup, we would need to teach the VSCode extension to use the make script included in the new HLS binary distribution |
What's the exact issue? ghcup just installs all of them. |
Validation: ghcup doesn't know what the project ghc is so it cannot validate whether HLS binaries exist. |
Why would ghcup need to know that? The VSCode extension knows and can easily check whether a |
I thought that we wanted to make the VSCode extension dumb and delegate all the work on GHCup. |
I don't see how that would work. GHCup isn't going to add functionality specific to a VSCode extension. It can install HLS into an isolated dir easily without affecting the global installation. So something along these lines:
So, is anyone going to work on the VSCode extension? I'm not a VSCode user and not familiar with the code. |
@wz1000 reported some bug with the new hie-bios version. No details yet |
Another release blocker: #2746 |
Do we have details now? |
Opened an issue: haskell/hie-bios#336 |
I can do the HLS release this time, but I will need hackage permissions for the many packages. |
Is the hie-bios update included here? I am having problem with HLS not recognizing "with-compiler" option. |
Thank you !!! I will create an |
@Abastro What hie-bios update? This release comes with hie-bios 0.9.0, the latest hackage release and without new patches. Can you specify our issue? |
Yes, hie-bios 0.9.0 comes with a fix to conform to cabal's "with-compiler". |
@Abastro Why not? I installed it from source, and it worked out of the box. Or do you mean you tried installing hie-bios alongside HLS? You'll have to build HLS from source, too. |
@fendor I tried building from source through ghcup, with constraint on hie-bios == 0.9.0 and allow-newer. Did not work for me :< |
Installation failed, the feature did not work or HLS crashed? |
Did not install. Cabal does not even try hie-bios 0.9.0., even with |
Try |
Yep, also fails - with following ghcup log's cabal part.
The command I tried: |
You can't build 8.10.7 and 9.0.2 in one go, because 9.0.2 needs |
Oh, I see. Thank you! |
Seems like installing the master branch did the trick. Anyway, thanks! (Still, would be grateful for the formal release) |
who has an overview of that GHCs are to be supported? These two files will need adjustment: |
Good point, we'll need to add support for GHC 9.2.2 before the 1.7.0 release. |
9.2.2 is broken on windows ... not sure it's worth the support. |
How about GHC 9.2.1? |
9.2.1 has severe bugs in native M1 code generator. I'm not totally sure if 8.10.7 with llvm backend is better, though. https://downloads.haskell.org/~ghc/9.2.2/docs/html/users_guide/9.2.2-notes.html gives some.overview |
As discussed in #2763 (comment), the functionality added in that PR is possibly in a weird state, of being implemented but not supported by editor integrations. It would be a shame to release it like that, so it would be great to get some help from someone who knows more about how plugin-specific options work. |
I think we can do that after releasing the server if we need to. Having the option isn't harmful by itself. |
Does this release support Apple M1 Macs natively (ie, not just through LLVM). Sorry if this has been answered multiple times before. |
I suggest to move forward with the release and not let the vscode extension block it. The only decision that needs to be made for that is whether we still distribute the static binaries on the github release page. I'd vote for no (especially since that logic is removed from the github workflow). The extension currently would ignore the newly uploaded make-based tarballs afais (because the asset name doesn't match): https://github.com/haskell/vscode-haskell/blob/70f6883af669ef176fe3cf8ec4963921de686f79/src/hlsBinaries.ts#L382-L413 So we can just go ahead. |
@wz1000 are you still good to do the 1.7.0 release? |
Yes, I will do the release this week. |
All the binary and hackage releases have been made. |
The main change in this release will be the switch to dynamically linked binaries for distribution, contributed by @hasufell
As usual we need a volunteer to drive the release.
Release blockers
Prerelease steps
Github release steps
Nix users should run command
gen-hls-changelogs
(a wrapper of the script) in nix-shell instead.hackage release
ghcup release
The text was updated successfully, but these errors were encountered: