darcs

Patch 2326 cabal bounds: support leancheck 1.0 (and 7 more)

Title cabal bounds: support leancheck 1.0 (and 7 more)
Superseder Nosy List ganesh
Related Issues
Status accepted Assigned To
Milestone

Created on 2023-07-09.11:24:42 by ganesh, last changed 2023-07-15.22:36:33 by ganesh.

Files
File name Status Uploaded Type Edit Remove
cabal-bounds_-support-leancheck-1_0.dpatch ganesh, 2023-07-09.11:24:39 application/x-darcs-patch
constrain-aeson-_indirect_-dependency-to-_-2_2.dpatch bfrk, 2023-07-10.13:07:55 application/x-darcs-patch
patch-preview.txt ganesh, 2023-07-09.11:24:39 text/x-darcs-patch
patch-preview.txt bfrk, 2023-07-10.13:07:54 text/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg23509 (view) Author: ganesh Date: 2023-07-09.11:24:39
Various version bumps getting us nearly to GHC 9.6
support.

There's a problem with bumping unix, I'll send a separate
patch with the details.

8 patches for repository darcs-unstable@darcs.net:/opt/darcs/screened:

patch 012fca24f4df569388547e0f1392ad7ebcc41946
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 10:19:26 BST 2023
  * cabal bounds: support leancheck 1.0

patch 7eead0a9c6fed542968c902d98f4a6315be486f6
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 10:31:34 BST 2023
  * cabal bounds: support vector 0.13

patch f360bad8924ea911632ae150e2665d2fb3bd8e05
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 10:34:13 BST 2023
  * cabal bounds: support unix-compat 0.7

patch f46deb66219966aa2079b658461514404366b564
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 10:46:47 BST 2023
  * cabal bounds: support bytestring 0.12

patch 1bfe1c883c50c1fa63f66dde59ffddcf4fedd8c8
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 11:01:21 BST 2023
  * cabal bounds: support Cabal 3.10

patch d1e44704f7f87f4b3dd8d89068f953a97e6eb69a
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 11:49:23 BST 2023
  * explicitly import forM_/when/unless from Control.Monad

  This makes it easier to manage a transition in the
  transformers library (and hence mtl/base). Newer
  versions don't re-exporting these functions as freely.

patch f09476eaec730b43827ebcd7944ab8a0ab7566a6
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 12:01:29 BST 2023
  * cabal bounds: support transformers 0.6.1

patch fb122cf42620fa83248a439e9cbe27ca658d5a38
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sun Jul  9 12:22:29 BST 2023
  * cabal bounds: support base 4.17 (GHC 9.6)

  This currently requires --allow-newer=base to use because
  of other constraints.
Attachments
msg23519 (view) Author: bfrk Date: 2023-07-10.12:08:54
With ghc-8.6.5 I cannot build with these patches:

[...]
Building     http-conduit-2.3.8.2 (lib)

Failed to build http-conduit-2.3.8.2.
Build log (
/home/ben/.cabal/logs/ghc-8.6.5/http-conduit-2.3.8.2-
3cbf20cda03d5edcabeb136f37e22f62f1
):
Configuring library for http-conduit-2.3.8.2..
Preprocessing library for http-conduit-2.3.8.2..
Building library for http-conduit-2.3.8.2..
[1 of 3] Compiling Network.HTTP.Client.Conduit ( 
Network/HTTP/Client/Conduit.hs, dist/b
[2 of 3] Compiling Network.HTTP.Conduit ( Network/HTTP/Conduit.hs, 
dist/build/Network/H
[3 of 3] Compiling Network.HTTP.Simple ( Network/HTTP/Simple.hs, 
dist/build/Network/HTT

Network/HTTP/Simple.hs:106:1: error:
    Could not find module ‘Data.Aeson.Parser’
    Use -v to see a list of the files searched for.
    |
106 | import Data.Aeson.Parser (json')
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: cabal: Failed to build http-conduit-2.3.8.2 (which is 
required by
darcs-2.17.2). See the build log above for details.
msg23520 (view) Author: bfrk Date: 2023-07-10.12:09:49
This is with a cleaned out cabal store and after cabal update.
msg23521 (view) Author: ganesh Date: 2023-07-10.12:12:44
Apologies, I should have mentioned you'll temporarily need to
bound aeson to <2.2 (I did this in cabal.project.local) until
someone fixes the hackage bounds for http-conduit:
https://github.com/snoyberg/http-client/issues/511
msg23525 (view) Author: bfrk Date: 2023-07-10.13:07:55
Re-sending as follow-up to this ticket.

1 patch for repository http://darcs.net/screened:

patch d87a324e1f57ba60baebcefad2e05442a89fa2d0
Author: Ben Franksen <ben.franksen@online.de>
Date:   Mon Jul 10 14:31:51 CEST 2023
  * constrain aeson (indirect) dependency to < 2.2
Attachments
msg23526 (view) Author: bfrk Date: 2023-07-10.13:14:50
All fine, together with my follow-up. CI is happy, too.
History
Date User Action Args
2023-07-09 11:24:42ganeshcreate
2023-07-09 11:33:18ganeshsetstatus: needs-screening -> needs-review
2023-07-09 11:35:13ganeshsetstatus: needs-review -> in-discussion
2023-07-10 12:08:55bfrksetmessages: + msg23519
2023-07-10 12:09:50bfrksetmessages: + msg23520
2023-07-10 12:12:44ganeshsetstatus: in-discussion -> needs-review
messages: + msg23521
2023-07-10 13:07:58bfrksetfiles: + patch-preview.txt, constrain-aeson-_indirect_-dependency-to-_-2_2.dpatch
messages: + msg23525
2023-07-10 13:14:51bfrksetstatus: needs-review -> accepted-pending-tests
messages: + msg23526
2023-07-15 22:36:33ganeshsetstatus: accepted-pending-tests -> accepted