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

fix build for ghc 9.8.1 (#386) #387

Merged
merged 4 commits into from Feb 9, 2024
Merged

Conversation

arguri
Copy link
Contributor

@arguri arguri commented Jan 30, 2024

Before submitting your PR, check that you've:

  • Bumped the version number.
  • Ran stylish-haskell and otherwise adhered to the style guide.

After submitting your PR:

  • Update the Changelog.md file with a link to your PR.
  • Check that CI passes (or if it fails, for reasons unrelated to your change, like CI timeouts).

@Vekhir
Copy link

Vekhir commented Feb 2, 2024

Don't you think that the changelog entry belongs under it's own header? Otherwise looks fine to me.

@parsonsmatt Do you have any suggestions for this PR adding support for GHC 9.8.1 to esqueleto before being merged?

Copy link
Collaborator

@parsonsmatt parsonsmatt left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! There's two items left if you wouldn't mind.

changelog.md Outdated
Comment on lines 7 to 9
- @arguri
- [#387](https://github.com/bitemyapp/esqueleto/pull/387)
- Fix build for ghc 9.8.1 / template-haskell 2.18
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please move this into it's own section of the changelog for this version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I hope I got that numbering right.

src/Database/Esqueleto/Record.hs Show resolved Hide resolved
Copy link
Collaborator

@parsonsmatt parsonsmatt left a comment

Choose a reason for hiding this comment

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

Going to merge the suggestions to fix CI and hopefully get this in. Tested locally and it works great! Thank you!

changelog.md Outdated Show resolved Hide resolved
@@ -33,7 +33,7 @@ jobs:
strategy:
matrix:
cabal: ["3.8.1.0"]
ghc: ["8.6.5", "8.8.4", "8.10.4", "9.0.2", "9.2.2", "9.4.5", "9.6.2"]
ghc: ["8.6.5", "8.8.4", "8.10.4", "9.0.2", "9.2.2", "9.4.5", "9.6.2", "9.8.1"]
Copy link
Collaborator

Choose a reason for hiding this comment

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

CI is failing due to this issue: haskellari/postgresql-libpq#55

We may be able to fix this by adding an allow-newer flag to a cabal.project:

allow-newer:
  postgresql-libpq:Cabal

Copy link
Collaborator

Choose a reason for hiding this comment

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

Nope, this was the Cabal version that needed to change 😅

.github/workflows/haskell.yml Outdated Show resolved Hide resolved
@parsonsmatt parsonsmatt merged commit 30a5e80 into bitemyapp:master Feb 9, 2024
8 checks passed
@parsonsmatt
Copy link
Collaborator

Thank you!

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.

None yet

3 participants