Skip to content

Add GHC 9.10.2 & update Prometheus dependency#57

Merged
adinapoli merged 8 commits intomasterfrom
ci-add-ghc-9.10.2
Mar 23, 2026
Merged

Add GHC 9.10.2 & update Prometheus dependency#57
adinapoli merged 8 commits intomasterfrom
ci-add-ghc-9.10.2

Conversation

@PiDelport
Copy link
Copy Markdown
Contributor

@PiDelport PiDelport commented Aug 26, 2025

This adds GHC 9.10.2 to tested-with and the CI matrix, and updates the prometheus dependency to allow 2.3.0.

Are there other GHC versions we also want to add, while here?

Capture changes due to new version of haskell-ci.
@PiDelport PiDelport requested a review from adinapoli August 26, 2025 15:19
@PiDelport PiDelport self-assigned this Aug 26, 2025
prometheus 2.3.0 changes the behaviour of the `observeAndSample`
function:

- bitnomial/prometheus#51

This does not seem to require any changes in Ridley.

Change log:

- https://github.com/bitnomial/prometheus/blob/master/CHANGELOG.md#230
@PiDelport PiDelport changed the title CI: Add GHC 9.10.2 Add GHC 9.10.2 & update Prometheus dependency Aug 26, 2025
Comment thread ridley.cabal
shelly >= 1.8.2,
safe-exceptions < 1.8,
transformers,
prometheus > 0.5.0 && < 2.3.0,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @PiDelport ! I remember adding that constraint because there were a few breaking changes in prometheus-2.3.0, but I don't remember on top of my head -- have you noticed anything out of the ordinary?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah, i did not look very deeply: i just ran the tests and checked that nothing refers directly to observeAndSample.

@PiDelport
Copy link
Copy Markdown
Contributor Author

I pushed a fixed for the build issue with katip 0.8.8.3 failing on GHC <= 9.6.

@PiDelport
Copy link
Copy Markdown
Contributor Author

A few more cleanups, and the build is green! ✅

@adinapoli adinapoli merged commit 068c3b3 into master Mar 23, 2026
8 checks passed
@adinapoli adinapoli deleted the ci-add-ghc-9.10.2 branch March 23, 2026 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants