darcs

Patch 2229 support Cabal 3.4 (and 12 more)

Title support Cabal 3.4 (and 12 more)
Superseder Nosy List ganesh
Related Issues
Status accepted Assigned To
Milestone

Created on 2022-02-05.22:49:52 by ganesh, last changed 2022-02-20.09:38:55 by ganesh.

Files
File name Status Uploaded Type Edit Remove
patch-preview.txt ganesh, 2022-02-05.22:49:44 text/x-darcs-patch
support-cabal-3_4.dpatch ganesh, 2022-02-05.22:49:45 application/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg22946 (view) Author: ganesh Date: 2022-02-05.22:49:45
These patches are all from screened (including the Cabal 3.6 one I just sent),
and I'm proposing them for branch-2.16 in order to make that work with GHC 9.0/Cabal 3.6.

It does involve pulling in some minor refactorings, but from the descriptions they
look fairly safe.

13 patches for repository darcs.net:/opt/darcs/releases/branch-2.16:

patch 2a034bcc04dfedb001936517aef8271ae2afe2b4
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat May 15 18:50:40 BST 2021
  * support Cabal 3.4

patch 529539efd5313cfc85fd670cdae948751bd04f84
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Mon May 24 23:16:26 BST 2021
  * bump setup-depends Cabal bound to match Cabal-Version

patch 821fbe1391f263d5becc87e1dea077a46f1eb2ba
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat May 15 15:55:25 BST 2021
  * fix GHC 9.0 compile error

  I suspect that it was caused by the changes to
  impredicativity in GHC 9.

patch f377828e60e4e7391762aa25c3beb721f19b3ac1
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat May 15 19:01:29 BST 2021
  * support base 4.15

patch 56467dc09aae8aa023fd00f0a45d55dfa637aa1e
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat May 15 21:06:05 BST 2021
  * support QuickCheck 2.14

  Need to make the Test.QuickCheck imports explicit in
  one place because chooseAny was added as a new export
  from Test.QuickCheck in 2.14, so the import from
  Test.QuickCheck.Gen becomes redundant and causes a
  warning.

patch b1e14218f8860db1e247a5a2afec9aa7754081c4
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat May 15 19:01:36 BST 2021
  * support memory 0.16

patch b622c399ae7f820cdf652cc5cd0541ccd86b7485
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat May 15 19:01:58 BST 2021
  * support cryptonite 0.28 and 0.29

patch 3b47f27c22153a70c9b100e75a0c987141cd1abc
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov 17 09:16:05 GMT 2020
  * remove unused function resendEmail

patch b422470a04a1faed3449bc5fe12830a463636bca
Author: Ben Franksen <ben.franksen@online.de>
Date:   Mon Nov 16 08:35:42 GMT 2020
  * clean up some of the email sending mess

  Searching for a sendmail command in paths like /sbin makes sense only on
  Unix-like systems. This code is now guarded behind #ifndef WIN32. Since we
  always use MAPI on Windows, unless a sendmail-command is specified via the
  option or the SENDMAIL environment, I have replaced HAVE_MAPI with WIN32
  enerywhere. Furthermore, the send command itself no longer has #ifdefs, as
  we pull the check for early failure into D.UI.External as (Os-independent)
  checkDefaultSendmail, adding a TODO comment that this should be improved (on
  Windows) to check whether using MAPI has a chance to succeed.

patch a31bfd7b2456df3b46192e948ebd404bc986755d
Author: Ben Franksen <ben.franksen@online.de>
Date:   Sat May 22 15:05:02 BST 2021
  * remove dependency on regex-compat-tdfa

  This copies a small number of trivial wrappers from that packages into a new
  module Darcs.Util.Regex. The only use of a non-trivial function was in the
  darcs send command where we decide if the system encoding is UTF-8
  compatible and warn the user if it is not. This part has been removed
  because non UTF-8 compatible system encodings are no longer relevant today.

patch 701dd989e818b9977ccb96baa9e55db51079df9a
Author: Ben Franksen <ben.franksen@online.de>
Date:   Thu Dec 17 11:19:33 GMT 2020
  * refactor: use isBoring and realPath in D.R.State

patch a3390168fe4165b78fab0ba0b8b6fb2369bd1a10
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov  2 16:12:52 GMT 2021
  * fix for tests/network/external.sh failure on ubuntu with ghc-8.10

  This also slightly re-organizes the script to make it easier to understand
  what's going on.

patch de3550b655ad03bcce5a43e59201c5fb26c5fab4
Author: Ganesh Sittampalam <ganesh@earth.li>
Date:   Sat Feb  5 21:43:38 GMT 2022
  * support Cabal 3.6
Attachments
msg22947 (view) Author: bfrk Date: 2022-02-16.11:39:52
Agreed. The dependent patches are also all in reviewed except 

patch a3390168fe4165b78fab0ba0b8b6fb2369bd1a10
Author: Ben Franksen <ben.franksen@online.de>
Date:   Tue Nov  2 17:12:52 CET 2021
  * fix for tests/network/external.sh failure on ubuntu with ghc-
8.10

which is (at least) harmless. Are you going to create & upload the 
patch release?
msg22948 (view) Author: ganesh Date: 2022-02-20.09:38:54
> Are you going to create & upload the patch release?

Yep, done now.
History
Date User Action Args
2022-02-05 22:49:53ganeshcreate
2022-02-16 11:39:53bfrksetmessages: + msg22947
2022-02-20 09:38:55ganeshsetstatus: needs-screening -> accepted
messages: + msg22948