New submission from Ben Franksen <[email protected]>:

Build system maintenance patches, will self-accept.

5 patches for repository https://darcs.net/screened:

patch 50d9b0b402a896c83aa7929a50a0e0449838600f
Author: Ben Franksen <[email protected]>
Date:   Thu Nov  7 10:18:27 CET 2024
  * support building with cabal-3.12

patch bfc0cd412ca5ea3bd89351b8f67a75d9eb3ef1d8
Author: Ben Franksen <[email protected]>
Date:   Thu Nov  7 10:46:41 CET 2024
  * ci: run tests for ghc-9.10 instead of ghc-9.8

patch 8da98f5de14034aa79a2860212fa34e99585e188
Author: Ben Franksen <[email protected]>
Date:   Thu Nov  7 09:08:31 CET 2024
  * raise upper bound on tls, data-default-class -> data-default

  This allows building against current stackage nightly and restores building
  with ghc-9.8 which broke due to PVP violating updates of these packages.

patch cbb5bbd45204ccabb7ab591aca6501ab4717a051
Author: Ben Franksen <[email protected]>
Date:   Mon Nov 11 21:16:22 CET 2024
  * ci: use latest version of ghc-9.6

patch 04a8e8cea6ba26846c4a136af85c70ef7de3765a
Author: Ben Franksen <[email protected]>
Date:   Mon Nov 11 21:17:35 CET 2024
  * ci: remove macos-11, add (and use) ubuntu-24.04

----------
files: patch-preview.txt, support-building-with-cabal_3_12.dpatch
messages: 24098
nosy: bfrk
status: needs-screening
title: support building with cabal-3.12 (and 4 more)

__________________________________
Darcs bug tracker <[email protected]>
<https://bugs.darcs.net/patch2426>
__________________________________
[support building with cabal-3.12
Ben Franksen <[email protected]>**20241107091827
 Ignore-this: 8beb3dbdc41fcd665448c95e500e684650757454d2229bf46cea737e17902433b4ebc6c94ef8cf5e
] hunk ./.github/workflows/build-and-test.yml 32
+          - '3.12'
hunk ./.github/workflows/build-and-test.yml 73
-        key: cabal-store-${{ matrix.os }}-ghc-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
-        restore-keys: cabal-store-${{ matrix.os }}-ghc-${{ matrix.ghc }}-
+        key: cabal-store-${{ matrix.os }}-cabal-${{ matrix.cabal }}-ghc-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
+        restore-keys: cabal-store-${{ matrix.os }}-cabal-${{ matrix.cabal }}-ghc-${{ matrix.ghc }}-
hunk ./.github/workflows/build-and-test.yml 88
-        key: cabal-store-${{ matrix.os }}-ghc-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
+        key: cabal-store-${{ matrix.os }}-cabal-${{ matrix.cabal }}-ghc-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
hunk ./Setup.hs 11
-         ( LocalBuildInfo(..), absoluteInstallDirs )
+         ( LocalBuildInfo(..), absoluteInstallDirs, buildDir )
hunk ./darcs.cabal 127
-                   Cabal     >= 2.4 && < 3.11,
+                   Cabal     >= 2.4 && < 3.13,

[ci: run tests for ghc-9.10 instead of ghc-9.8
Ben Franksen <[email protected]>**20241107094641
 Ignore-this: 185eb4aa9c52a10433851600af6bd656ed3e32e1cc3491423f973316d0cdc28921a31082678c638f
] hunk ./.github/workflows/build-and-test.yml 35
-      runtests: ${{ matrix.ghc == '8.4.4' || matrix.ghc == '9.8.2' }}
+      runtests: ${{ matrix.ghc == '8.4.4' || matrix.ghc == '9.10.1' }}

[raise upper bound on tls, data-default-class -> data-default
Ben Franksen <[email protected]>**20241107080831
 Ignore-this: e1af6546320196398b9801d9b21983783bf8751cb8ff57085e6b5970580866165db46223f5c83291
 
 This allows building against current stackage nightly and restores building
 with ghc-9.8 which broke due to PVP violating updates of these packages.
] hunk ./darcs.cabal 464
-                      data-default-class >= 0.1.2.0 && < 0.1.3,
+                      data-default      >= 0.7.1.3 && < 0.9,
hunk ./darcs.cabal 466
-                      tls               >= 2.0.6 && < 2.1
+                      tls               >= 2.0.6 && < 2.2
hunk ./src/Darcs/Util/HTTP.hs 49
-import Data.Default.Class ( def )
+import Data.Default ( def )

[ci: use latest version of ghc-9.6
Ben Franksen <[email protected]>**20241111201622
 Ignore-this: 5dfb1c6a5dac3d567afb907595942b955af3ec990ad1737976b2c4b578ba472836de394fc5942ad1
] hunk ./.github/workflows/build-and-test.yml 28
-          - 9.6.4
+          - 9.6.6

[ci: remove macos-11, add (and use) ubuntu-24.04
Ben Franksen <[email protected]>**20241111201735
 Ignore-this: 5aa6c932e3a5e2bd07f85b66c2c587a3a44df7b4533ef86aef9aff1730c1cbb6e54d536b61214c42
] hunk ./.github/workflows/build-and-test.yml 14
-          - ubuntu-22.04
-#           - macos-11
+#           - ubuntu-22.04
+          - ubuntu-24.04

Attachment: support-building-with-cabal_3_12.dpatch
Description: application/darcs-patch

_______________________________________________
darcs-devel mailing list
[email protected]
https://lists.darcs.net/mailman/listinfo/darcs-devel

Reply via email to