Skip to content
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

Support ghc-9.2.3 #2936

Merged
merged 6 commits into from
Jun 16, 2022
Merged

Support ghc-9.2.3 #2936

merged 6 commits into from
Jun 16, 2022

Conversation

July541
Copy link
Collaborator

@July541 July541 commented May 31, 2022

Dropped ghc-8.10.6 and ghc-9.0.1, keep supporting ghc-9.2.2.

Copy link
Collaborator

@pepeiborra pepeiborra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much! Just wondering whether we can drop 9.2.2 altogether

.github/workflows/test.yml Show resolved Hide resolved
.github/workflows/caching.yml Show resolved Hide resolved
.github/workflows/test.yml Show resolved Hide resolved
bindist/ghcs Show resolved Hide resolved
bindist/ghcs-Msys Show resolved Hide resolved
Comment on lines -72 to -92
-- for brittany
-- https://github.com/lspitzner/multistate/pull/8
multistate:base,
-- https://github.com/lspitzner/data-tree-print/pull/3
data-tree-print:base,
-- https://github.com/lspitzner/butcher/pull/8
butcher:base,

-- for shake-bench
Chart:lens,
Chart-diagrams:lens,

-- for ekg
ekg-core:base,
ekg-core:ghc-prim,
ekg-wai:base,
ekg-wai:time,

-- for shake-bench
Chart-diagrams:diagrams-core,
SVGFonts:diagrams-core
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome!

@July541
Copy link
Collaborator Author

July541 commented Jun 1, 2022

Thank you so much! Just wondering whether we can drop 9.2.2 altogether

Following https://haskell-language-server.readthedocs.io/en/latest/supported-versions.html#minor-versions, it says "For the latest supported major GHC version we will support at least 2 minor versions". I think the "2 minor versions" means 9.2.2 and 9.2.3.

@July541
Copy link
Collaborator Author

July541 commented Jun 1, 2022

stack build failed because hackage doesn't have ghc-9.2.3 yet, let's wait for it.

@michaelpj
Copy link
Collaborator

Great stuff!

stack build failed because hackage doesn't have ghc-9.2.3 yet, let's wait for it.

Might need to prod the GHC devs about this, they sometimes forget to upload it.

@July541
Copy link
Collaborator Author

July541 commented Jun 2, 2022

Might need to prod the GHC devs about this, they sometimes forget to upload it.

Done. https://gitlab.haskell.org/ghc/ghc/-/issues/21326#note_434846

dhess added a commit to hackworthltd/primer that referenced this pull request Jun 6, 2022
We temporarily pull from
github:July541/haskell-language-server/ghc-9.2.3, until this PR is
merged upstream:

haskell/haskell-language-server#2936

However, more importantly, we re-use the `nonReinstallablePkgs` from
input-output-hk/haskell.nix#1177 to fix a
crash that has been plaguing us since we switched the GHC 9.2.3.
@maerten maerten mentioned this pull request Jun 10, 2022
32 tasks
@mouse07410
Copy link

Nightly for GHC-9.2.3 is already on Stackage.

Is this PR ready to be merged?

@July541
Copy link
Collaborator Author

July541 commented Jun 11, 2022

We should merge #2944 first because build with ghc-9.2.3 will choose fourmolu-0.7.0.0.

@michaelpj
Copy link
Collaborator

fourmolu tests fail, I guess maybe #2944 didn't have a test run where we pick then new version? cc @georgefst

@July541 July541 enabled auto-merge (squash) June 11, 2022 11:02
@July541 July541 disabled auto-merge June 11, 2022 11:02
@georgefst
Copy link
Collaborator

fourmolu tests fail, I guess maybe #2944 didn't have a test run where we pick then new version? cc @georgefst

Hopefully fixed in #2950.

@georgefst
Copy link
Collaborator

georgefst commented Jun 13, 2022

fourmolu tests fail, I guess maybe #2944 didn't have a test run where we pick then new version? cc @georgefst

Hopefully fixed in #2950.

It's merged! Hopefully this PR is now good to go (after incorporating master).

@July541 July541 mentioned this pull request Jun 14, 2022
@aryairani
Copy link

👀

@July541 July541 merged commit e64b61e into haskell:master Jun 16, 2022
@mouse07410
Copy link

Great! Time for a new release? 😉

@July541
Copy link
Collaborator Author

July541 commented Jun 19, 2022

Great! Time for a new release? 😉

As you may saw, hls is trying some improvements recently, and it may be worth waiting until they are ready :)

hololeap pushed a commit to hololeap/haskell-language-server that referenced this pull request Aug 26, 2022
* Support ghc-9.2.3

* ormolu-0.5

* Update stack.yaml

Co-authored-by: Pepe Iborra <pepeiborra@gmail.com>
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

Successfully merging this pull request may close these issues.

6 participants