Closed mbg closed 2 years ago
Thanks. :cake:
hey @mbg mind checking the tests on master that are failing? Is that to be expected?
@denibertovic Neither expected nor unexpected; it's the build with the most recent nightly Stack resolver (+ GHC 9.2.2), rather than one of the LTS resolvers (and supported GHC versions), so it may be a recent change in one of the dependencies/GHC.
I am a little puzzled though because I don't immediately see what's different between that build and the one with GHC 9.0.2 (e.g. the aeson
version in both is the same). It's the tests that fail to compile. I will have a look though and see if it is an easy fix and, if so, open a PR with GHC 9.2 / nightly support.
(I should also note that the stackage-nightly
workflow doesn't normally run when pushing to master
, it normally only runs on a schedule and is therefore disconnected from commits. It only ran associated to a commit this time because the file defining it changed.)
Ah, lens-aeson
(which is only used by the tests) got updated in the nightly Stack resolver to version 1.2
which includes breaking changes to its types.
@denibertovic I have opened https://github.com/denibertovic/docker-hs/pull/95 for this
This PR builds on #92 (so that should be merged first) and makes the following changes:
Docker.Client.Types
is updated to supportaeson >= 2
while still maintaining backwards compatibility with older versionsDocker.Client.Http
to support GHC 9aeson >= 2
, so I have added a configuration file for that and added it to the matrix build.stackage-nightly
is added which builds the library using the latestnightly
resolver.