chore(toolchain): migrate to GHC 9.14 series#288
Open
takoeight0821 wants to merge 8 commits into
Open
Conversation
Update local setup scripts and CI matrix to include GHC 9.14, pin cabal-install 3.16.1.0, and move HLS setup to 2.13.0.0 for the new toolchain. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Drop the unused witherable dependency from package.yaml and regenerate malgo.cabal to keep dependency metadata aligned. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
After validating latest releases, keep GHC at 9.12.2 (project dependencies fail on 9.14 today), pin cabal-install to 3.16.1.0, and set HLS build target to 2.13.0.0 with GHC 9.12.2. Also align docs/devcontainer prompt metadata with the tested toolchain. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Align GitHub Actions setup with local toolchain by pinning cabal-install to 3.16.1.0 instead of latest. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Update local setup, devcontainer scripts, CI matrix, and docs to target GHC 9.14.1 with cabal-install 3.16.1.0 and HLS 2.13.0.0 source build. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Drop the old freeze file and move to scoped allow-newer rules for base ecosystem packages, while constraining path to >=0.9 for compatibility on GHC 9.14. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use happy 2.2 for GHC 9.14 compatibility and remove cabal build-tool-depends on hpack/ormolu to avoid unnecessary transitive breakage during project builds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aeson-0.9.0.0 fails to build on GHC >= 9.8 because 'fail' was removed from the Monad class and moved to MonadFail. path-0.9.5 depends on aeson >= 0.6 && < 1, causing cabal to select the incompatible aeson-0.9.0.0. Adding path:aeson to allow-newer relaxes this upper bound so cabal can select aeson-2.x, which compiles correctly on all supported GHC versions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
setup-hlsto compile against GHC 9.14.1.mise, devcontainer scripts, CI matrix, docs/prompts) to align with GHC 9.14.build-tool-dependsonhpack/ormoluto avoid unrelated transitive breakage.cabal.project.freezeand introduced scopedallow-newerentries incabal.projectto make dependency resolution work on 9.14.Key compatibility choices
constraints: keepdiagnose +megaparsec-compat, requirepath >= 0.9.allow-newer(scoped):*:base,*:containers,*:template-haskell,*:bytestring,*:time,*:ghc-prim, plustext.cabal-version: 3.16.1.0for reproducibility.Validation
mise run testpassed on GHC 9.14.1.