-
Notifications
You must be signed in to change notification settings - Fork 22
deps(test): upgrade hedgehog-extras to 0.10.0.0 #1277
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
Merged
newhoggy
merged 7 commits into
master
from
newhoggy/upgrade-to-hedgehog-extras-0.10.0.0
Sep 29, 2025
Merged
deps(test): upgrade hedgehog-extras to 0.10.0.0 #1277
newhoggy
merged 7 commits into
master
from
newhoggy/upgrade-to-hedgehog-extras-0.10.0.0
Sep 29, 2025
+150
−212
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0fa48a3 to
027fd79
Compare
6d815c2 to
ae1a506
Compare
ae1a506 to
ca97842
Compare
carbolymer
approved these changes
Sep 22, 2025
3167233 to
4b451c3
Compare
hamishmack
approved these changes
Sep 26, 2025
f12acaf to
d3d4e72
Compare
Updates hedgehog-extras dependency to version 0.10, which introduces breaking API changes requiring MonadBaseControl constraint additions to test code. - Add FlexibleContexts language extension for constraint handling - Import Control.Monad.Trans.Control for MonadBaseControl - Add MonadBaseControl IO constraint to hash_trip_fun signature - Add MonadAssertion constraint for hedgehog compatibility Also updates hackage index to 2025-09-10 to access the newer version.
Removes the fixed 2024.09.15 version pin from haskell.nix input, allowing the project to track the latest haskell.nix infrastructure. This update brings: - Latest GHC compiler infrastructure improvements - Updated Haskell Language Server (HLS) versions 2.10 and 2.11 - New hackage-for-stackage and hackage-internal inputs - Removal of deprecated hydra and ghc-8.6.5-iohk dependencies - Addition of nixpkgs-2411 and nixpkgs-2505 channels The flake.lock updates reflect the new dependency graph structure with cleaner separation between hackage snapshots and internal tooling.
Adds --hsc2hs-option=--cflag=-Wno-int-conversion to the basement package configure flags to suppress int conversion warnings that cause build failures on mingw32 Windows targets. This fixes a known issue where basement's C bindings fail to compile under mingw32 due to stricter type checking in newer GCC versions.
Updates critical cryptographic and build infrastructure dependencies to their latest stable versions for improved performance and security. - Upgrade blst from v0.3.11 to v0.3.14 (supranational BLS12-381 library) - Update nixpkgs from release-22.11 to release-25.05 - Refresh iohk-nix with latest dependency pins The blst upgrade includes performance improvements and bug fixes for BLS signature operations. The nixpkgs update provides newer compiler toolchains and system packages required for the build infrastructure.
Adds constraint network <3.2.8.0 specifically for Windows builds to work around network-3.2.8.0 issues when running tests under WINE (see haskell/network#604). This ensures test suites can run successfully in cross-platform CI environments using WINE for Windows testing.
d3d4e72 to
080ac73
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog
Context
This PR upgrades the hedgehog-extras testing dependency from version
^>=0.7.1to^>=0.10to keep the project aligned with the latest hedgehog testing ecosystem. The upgrade requires additional type constraints in test modules to maintain API compatibility with the new version.The hedgehog-extras library provides testing utilities for Hedgehog property-based testing, and this upgrade brings performance improvements and enhanced testing capabilities to the cardano-cli test suite.
How to trust this PR
Key Changes Made:
hedgehog-extrasconstraint from^>=0.7.1to^>=0.10incardano-cli.cabalFlexibleContextsto Hash test moduleMonadBaseControl IO,H.MonadAssertionfor API compatibility2025-09-10T10:05:13Zfor proper dependency resolutionTesting the Changes:
Files Modified:
cabal.project- Updated hackage index statecardano-cli/cardano-cli.cabal- Updated hedgehog-extras version constraintcardano-cli/test/cardano-cli-test/Test/Cli/Run/Hash.hs- Added required type constraints and language extensionflake.lock- Updated hackage.nix referenceThe changes are minimal and focused on maintaining compatibility with the upgraded dependency while preserving all existing functionality.
Checklist