aesiniath / http-streams

Haskell HTTP client library for use with io-streams
https://hackage.haskell.org/package/http-streams
BSD 3-Clause "New" or "Revised" License
50 stars 48 forks source link

`http-streams-0.8.9.6` build failure with `aeson-2.2` #139

Closed andreasabel closed 1 year ago

andreasabel commented 1 year ago

0.8.9.6 misses an upper bound <2.2 on aeson:

[4 of 5] Compiling Network.Http.Inconvenience ( lib/Network/Http/Inconvenience.hs, dist/build/Network/Http/Inconvenience.o, dist/build/Network/Http/Inconvenience.dyn_o )

lib/Network/Http/Inconvenience.hs:54:69: error: [GHC-61689]
    Module ‘Data.Aeson’ does not export ‘json'’.
   |
54 | import Data.Aeson (FromJSON, Result (..), ToJSON, encode, fromJSON, json')
   |                                                                     ^^^^^
Error: cabal: Failed to build http-streams-0.8.9.6 (which is required by
test:testsuite from snap-server-1.1.2.1).
andreasabel commented 1 year ago

Fixed by revising all published versions to bound aeson < 2.2:

2023-10-16T23:23:44Z AndreasAbel http-streams-0.8.9.6-r1 2023-10-16T23:23:43Z AndreasAbel http-streams-0.8.9.4-r1 2023-10-16T23:23:43Z AndreasAbel http-streams-0.8.8.1-r1 2023-10-16T23:23:43Z AndreasAbel http-streams-0.8.7.2-r1 2023-10-16T23:23:42Z AndreasAbel http-streams-0.8.7.1-r1 2023-10-16T23:23:42Z AndreasAbel http-streams-0.8.6.1-r1 2023-10-16T23:23:42Z AndreasAbel http-streams-0.8.5.5-r2 2023-10-16T23:23:41Z AndreasAbel http-streams-0.8.5.3-r2 2023-10-16T23:23:41Z AndreasAbel http-streams-0.8.5.2-r2 2023-10-16T23:23:40Z AndreasAbel http-streams-0.8.4.0-r1 2023-10-16T23:23:40Z AndreasAbel http-streams-0.8.3.3-r1 2023-10-16T23:23:40Z AndreasAbel http-streams-0.8.3.2-r1 2023-10-16T23:23:39Z AndreasAbel http-streams-0.8.3.1-r1 2023-10-16T23:23:39Z AndreasAbel http-streams-0.7.2.6-r2 2023-10-16T23:23:38Z AndreasAbel http-streams-0.7.2.5-r2 2023-10-16T23:23:38Z AndreasAbel http-streams-0.7.2.4-r4 2023-10-16T23:23:37Z AndreasAbel http-streams-0.7.2.3-r4 2023-10-16T23:23:37Z AndreasAbel http-streams-0.7.2.2-r5