Skip to content

Support ghc-9.14#1146

Open
erikd wants to merge 3 commits intomasterfrom
erikd/ghc-9.14
Open

Support ghc-9.14#1146
erikd wants to merge 3 commits intomasterfrom
erikd/ghc-9.14

Conversation

@erikd
Copy link
Contributor

@erikd erikd commented Mar 23, 2026

Changelog

- description: |
    Support ghc-9.,14
# uncomment types applicable to the change:
  type:
  # - feature        # introduces a new feature
  # - breaking       # the API has changed in a breaking way
  # - compatible     # the API has changed but is non-breaking
  # - optimisation   # measurable performance improvements
  # - refactoring    # QoL changes
  # - bugfix         # fixes a defect
  # - test           # fixes/modifies tests
  - maintenance    # not directly related to the code
  # - release        # related to a new release preparation
  # - documentation  # change in code docs, haddocks...
# uncomment at least one main project this PR is associated with
  projects:
  - cardano-api
  - cardano-api-gen
  # - cardano-rpc
  # - cardano-wasm

Context

How to trust this PR

Incredibly minor changes.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Cabal configuration to allow building cardano-api and cardano-api-gen with GHC 9.14 / base-4.23, and adjusts the repo’s cabal.project to accommodate dependency ecosystem changes for newer GHC.

Changes:

  • Bump base upper bound from <4.22 to <4.23 in cardano-api and cardano-api-gen.
  • Add GHC-9.14-specific warning suppressions in cardano-api.cabal.
  • Update cabal.project index-state, proto-lens override, and add a GHC-9.14 allow-newer block.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

File Description
cardano-api/cardano-api.cabal Expands base bound and adds GHC 9.14 conditional ghc-options to handle new warnings.
cardano-api-gen/cardano-api-gen.cabal Expands base bound to support base-4.23.
cabal.project Updates index-state, proto-lens source override, and adds GHC 9.14 allow-newer relaxations.

@erikd erikd requested a review from a team as a code owner March 23, 2026 00:59
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.

2 participants