bitemyapp / bloodhound

Haskell Elasticsearch client and query DSL
bitemyapp.com
BSD 3-Clause "New" or "Revised" License
424 stars 118 forks source link

chore: test more GHC versions #300

Closed supersven closed 1 month ago

supersven commented 1 month ago
supersven commented 1 month ago

Okay, this one still needs some love. For 9.10.2 it fails with

Warning: Unknown/unsupported 'ghc' version detected (Cabal 3.10.1.0 supports 'ghc' version < 9.8): /home/runner/.ghcup/bin/ghc-9.10.1 is version 9.10.1
Resolving dependencies...
Error: cabal-3.10.1.0: Could not resolve dependencies:
[__0] trying: bloodhound-0.23.0.0 (user goal)
[__1] trying: bloodhound:*test
[__2] trying: aeson-optics-1.2.1 (dependency of bloodhound *test)
[__3] next goal: base (dependency of bloodhound)
[__3] rejecting: base-4.20.0.0/installed-4014 (conflict: aeson-optics => base>=4.10 && <4.20)
[__3] skipping: base-4.20.0.1, base-4.20.0.0 (has the same characteristics that caused the previous version to fail: excluded by constraint '>=4.10 && <4.20' from 'aeson-optics')
[__3] rejecting: base-4.19.1.0, base-4.19.0.0, base-4.18.2.1, base-4.18.2.0, base-4.18.1.0, base-4.18.0.0, base-4.17.2.1, base-4.17.2.0, base-4.17.1.0, base-4.17.0.0, base-4.16.4.0, base-4.16.3.0, base-4.16.2.0, base-4.16.1.0, base-4.16.0.0, base-4.15.1.0, base-4.15.0.0, base-4.14.3.0, base-4.14.2.0, base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from project config /home/runner/work/bloodhound/bloodhound/cabal.project.local requires installed instance)
[__3] fail (backjumping, conflict set: aeson-optics, base, bloodhound)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: bloodhound, aeson, base, aeson-optics, bloodhound:test
Try running with --minimize-conflict-set to improve the error message.
supersven commented 1 month ago

GHC 9.10.x is a different can of worms. This will at least also require an update of aeson-optics: https://github.com/phadej/aeson-optics/pull/21

I removed GHC 9.10.x from the matrix for now.