-
Notifications
You must be signed in to change notification settings - Fork 1
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
chore: upgrade Hedgehog to version 1.4 #1117
Conversation
f6a8a1b
to
e5ff05e
Compare
allow-newer: hedgehog-classes:hedgehog | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I intentionally did not sign-off this commit so CI would break and this would not be merged without discussing:
- Do we want to merge this with
allow-newer
(if so, I need to reword the commit message to be conventional-commits, and maybe rebase it first so both commits will build cleanly; I'll not squash, to make it trivial to revert once upstream makes a release) - Do we want to wait for upstream to fix it (bump hedgehog upper bound 1.3 -> 1.5 hedgehogqa/haskell-hedgehog-classes#52)
- Did we want some other option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine. It's more important that we get the GHC 9.6 work moving.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upstream plans to cut a new release this weekend, so I'll wait until next week to merge this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge. I have opened #1122 to track removing the allow-newer
when a release happens.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
This is in preparation for the next commit, which upgrades hedgehog to 1.4. This commit can be reverted once hedgehog-classes makes a new release: upstream has merged a patch widening their bounds, but it is not yet released. Signed-off-by: Ben Price <[email protected]>
This needs a few simple fixes due to `Gen.element` now being polymorphic, which interacts slightly badly with overloaded lists. Signed-off-by: Ben Price <[email protected]>
e5ff05e
to
b50d443
Compare
Now that Hedgehog 1.4 has been released with the fix for replaying tests, we can migrate off 1.1. This is a prerequisite for upgrading ghc to 9.6 (#1077).
Note that currently we need to
allow-newer
to get hedgehog-classes to work with hedgehog 1.4; I have opened an upstream PR at hedgehogqa/haskell-hedgehog-classes#52