Skip to content

Upgrade GHC to 9.2.8 #50

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

Draft
wants to merge 3 commits into
base: copilot/fix-37a0379b-1a0c-4996-8923-e15698cc5e21
Choose a base branch
from

Conversation

Copilot
Copy link

@Copilot Copilot AI commented Jul 16, 2025

This PR upgrades the GHC version from 9.0.1 to 9.2.8 as requested in the issue.

Changes Made

Stack Configuration

  • Updated stack.yaml resolver from nightly-2022-01-04 to lts-20.26 (which uses GHC 9.2.8)
  • Added necessary extra dependencies for compatibility:
    • aeson-2.2.3.0
    • hashable-1.3.5.0

Package Configuration

  • Updated package.yaml tested-with field to include GHC == 9.2.8
  • Updated template-haskell dependency bounds from <2.18 to <2.19 to accommodate GHC 9.2.8's bundled version
  • Pinned path dependency to ==0.9.2.* for compatibility

CI Configuration

  • Updated .github/workflows/ci.yaml to test with lts-20.26 instead of lts-18.21
  • This ensures CI tests the new GHC version

Cabal File

  • Updated strong-path.cabal to reflect the package.yaml changes
  • Added GHC 9.2.8 to the tested-with field

Testing

Build Test: Library compiles successfully with GHC 9.2.8 using cabal
Functionality Test: Core StrongPath functionality (QuasiQuoters, path operations) works correctly
Documentation Test: Haddock documentation builds successfully

Compatibility

The upgrade maintains backward compatibility with existing code while adding support for GHC 9.2.8. The library now supports:

  • GHC 8.10.7 (lts-18.21)
  • GHC 9.0.1 (nightly-2022-01-04)
  • GHC 9.2.8 (lts-20.26) ← New

Notes

  • The path dependency is pinned to version 0.9.2 to avoid compatibility issues with newer versions and GHC 9.2.8
  • Template Haskell bounds were updated to accommodate GHC 9.2.8's bundled template-haskell 2.18.0.0
  • All existing functionality continues to work as expected

Warning

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.stackage.org
    • Triggering command: curl -s REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

@Copilot Copilot AI changed the title [WIP] Upgrade GHC to 9.2.8 Upgrade GHC to 9.2.8 Jul 16, 2025
@Copilot Copilot AI requested a review from cprecioso July 16, 2025 13:29
Copilot finished work on behalf of cprecioso July 16, 2025 13:29
@cprecioso cprecioso changed the base branch from main to copilot/fix-37a0379b-1a0c-4996-8923-e15698cc5e21 July 17, 2025 08:45
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