Skip to content

Conversation

@coot
Copy link
Collaborator

@coot coot commented May 26, 2025

No description provided.

@coot coot linked an issue Jun 2, 2025 that may be closed by this pull request
@coot coot changed the title ghc-9.10.2: updated index-state is enough ghc-9.2 and ghc-9.10.2 support Jun 2, 2025
@coot
Copy link
Collaborator Author

coot commented Jun 2, 2025

@jasagredo could you review it?

@coot coot requested a review from Copilot June 2, 2025 13:43
Copy link

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

This PR updates package configurations to support newer GHC versions by bumping base bounds, adding conditional extensions for older compilers, and refreshing the Cabal index and allow-newer settings.

  • Bump base lower bound to require at least base-4.16
  • Add GADTs extension for ghc < 9.4 in two libraries
  • Update index-state and adjust the allow-newer condition in cabal.project

Reviewed Changes

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

File Description
io-sim/io-sim.cabal Raised base lower bound from 4.9 to 4.16
io-classes/io-classes.cabal Raised base lower bound, added if impl(ghc < 9.4) GADTs blocks
cabal.project Bumped index-state timestamp and changed allow-newer guard
Comments suppressed due to low confidence (2)

io-sim/io-sim.cabal:65

  • The upper bound '<4.22' excludes base versions shipped with GHC 9.8 and above (including GHC 9.10.2). Consider extending it to '<4.24' or '<5' to match the intended support range.
build-depends:       base              >=4.16 && <4.22,

cabal.project:15

  • The condition was updated to 'ghc >= 9.12', but PR metadata mentions GHC 9.10.2 support. Verify whether this should remain '>= 9.10.2' or be aligned with the new target version.
if impl (ghc >= 9.12)

Copy link
Contributor

@jasagredo jasagredo left a comment

Choose a reason for hiding this comment

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

Let's get this released and then we release fs-sim and fs-api.

@coot coot added this pull request to the merge queue Jun 2, 2025
@coot coot removed this pull request from the merge queue due to a manual request Jun 2, 2025
@coot
Copy link
Collaborator Author

coot commented Jun 2, 2025

I needed to bump io-classes version (one cannot make a revision with these changes).

@coot coot enabled auto-merge June 2, 2025 14:34
@coot coot added this pull request to the merge queue Jun 2, 2025
Merged via the queue into main with commit 7371486 Jun 2, 2025
13 of 14 checks passed
@coot coot deleted the coot/ghc-9.10 branch June 2, 2025 14:53
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.

Incompatibility with GHC 9.2 although cabal bounds allow it

3 participants