Skip to content

Conversation

@PiDelport
Copy link

@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
shelly >= 1.8.2,
safe-exceptions < 1.8,
transformers,
prometheus > 0.5.0 && < 2.3.0,
Copy link
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
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
Author

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

@PiDelport
Copy link
Author

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

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.

3 participants