Skip to content

Commit 4327bbd

Browse files
committed
Explicit support for GHC 9.12
1 parent df65f6b commit 4327bbd

File tree

13 files changed

+37
-28
lines changed

13 files changed

+37
-28
lines changed

.github/workflows/cabal.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,26 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
ghc-version:
22-
- "8.10.7"
23-
- "9.0.2"
24-
- "9.2.8"
25-
- "9.4.5"
26-
- "9.6.4"
27-
- "9.8.2"
28-
- "9.10.1"
29-
operating-system:
30-
- "ubuntu-latest"
21+
include:
22+
- ghc-version: "8.10.7"
23+
cabal-flags: ""
24+
- ghc-version: "9.0.2"
25+
cabal-flags: ""
26+
- ghc-version: "9.2.8"
27+
cabal-flags: ""
28+
- ghc-version: "9.4.5"
29+
cabal-flags: ""
30+
- ghc-version: "9.6.4"
31+
cabal-flags: ""
32+
- ghc-version: "9.8.2"
33+
cabal-flags: ""
34+
- ghc-version: "9.10.1"
35+
cabal-flags: ""
36+
# Temporary cabal flags until all dependencies are updated
37+
- ghc-version: "9.12.1"
38+
cabal-flags: "--allow-newer=base --allow-newer=template-haskell --allow-newer=ghc-prim"
3139

32-
runs-on: ${{ matrix.operating-system }}
40+
runs-on: "ubuntu-latest"
3341

3442
steps:
3543
- uses: actions/checkout@v4
@@ -44,7 +52,7 @@ jobs:
4452
- name: Generate freeze file
4553
run: |
4654
cabal configure --enable-tests --test-show-details=direct
47-
cabal freeze --minimize-conflict-set
55+
cabal freeze ${{matrix.cabal-flags}} --minimize-conflict-set
4856
cat cabal.project.freeze
4957
5058
- name: Cache cabal work
@@ -58,10 +66,10 @@ jobs:
5866
key: ${{ runner.os }}-${{ hashFiles('cabal.project', 'cabal.project.local') }}-cabal-install
5967

6068
- name: Build dependencies only
61-
run: cabal build all --only-dependencies
69+
run: cabal build all --only-dependencies ${{matrix.cabal-flags}}
6270

6371
- name: Build all packages
64-
run: cabal build all
72+
run: cabal build all ${{matrix.cabal-flags}}
6573

6674
- name: Run all tests
67-
run: cabal test all
75+
run: cabal test all ${{matrix.cabal-flags}}

packages/distributed-process-async/distributed-process-async.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ description: This package provides a higher-level interface over Processes, i
1515
concurrent, possibly distributed Process that will eventually deliver a value of type a.
1616
The package provides ways to create Async computations, wait for their results, and cancel them.
1717
category: Control
18-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
18+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
1919
extra-doc-files: CHANGELOG.md
2020

2121
source-repository head

packages/distributed-process-client-server/distributed-process-client-server.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: Modelled after Erlang OTP's gen_server, this framework provides
1616
development into a set of modules and standards designed to help you build
1717
concurrent, distributed applications with relative ease.
1818
category: Control
19-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
19+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
2020
extra-doc-files: CHANGELOG.md
2121

2222
source-repository head

packages/distributed-process-execution/distributed-process-execution.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description:
1616
The currently implementation provides only a subset of the plumbing required, comprising tools
1717
for event management, mailbox buffering and message routing.
1818
category: Control
19-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
19+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
2020
extra-doc-files: ChangeLog
2121

2222
source-repository head

packages/distributed-process-extras/distributed-process-extras.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ synopsis: Cloud Haskell Extras
1414
description: Supporting library, providing common types and utilities used by the
1515
various libraries built on top of distributed-process
1616
category: Control
17-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
17+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
1818
extra-doc-files: ChangeLog
1919

2020
source-repository head

packages/distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Description: Simple backend based on the TCP transport which offers node
1515
discovery based on UDP multicast. This is a zero-configuration
1616
backend designed to get you going with Cloud Haskell quickly
1717
without imposing any structure on your application.
18-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
18+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
1919
Category: Control
2020
extra-doc-files: ChangeLog
2121

packages/distributed-process-supervisor/distributed-process-supervisor.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description: A part of the Cloud Haskell framework
2020

2121
For detailed information see "Control.Distributed.Process.Supervisor"
2222
category: Control
23-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
23+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
2424
extra-doc-files: ChangeLog
2525

2626
source-repository head

packages/distributed-process/ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Unreleased
22

33
* Added documentation on the unit of measurement for timeout durations (#340)
4+
* Added upper bound on `template-haskell` to prevent future breakage.
45

56
2024-09-03 Laurent P. René de Cotret <[email protected]> 0.7.7
67

packages/distributed-process/distributed-process.cabal

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
Name: distributed-process
3-
Version: 0.7.7
3+
Version: 0.7.8
44
Build-Type: Simple
55
License: BSD-3-Clause
66
License-File: LICENSE
@@ -21,7 +21,7 @@ Description: This is an implementation of Cloud Haskell, as described in
2121

2222
You will probably also want to install a Cloud Haskell backend such
2323
as distributed-process-simplelocalnet.
24-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
24+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
2525
Category: Control
2626
extra-doc-files: ChangeLog
2727

@@ -113,7 +113,7 @@ Library
113113
UndecidableInstances
114114
if flag(th)
115115
other-extensions: TemplateHaskell
116-
Build-Depends: template-haskell >= 2.6
116+
Build-Depends: template-haskell >= 2.6 && <2.24
117117
Exposed-modules: Control.Distributed.Process.Internal.Closure.TH
118118
CPP-Options: -DTemplateHaskellSupport
119119

packages/distributed-static/distributed-static.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Copyright: Well-Typed LLP
2525
Category: Control
2626
Build-Type: Simple
2727
extra-doc-files: ChangeLog
28-
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1
28+
tested-with: GHC==8.10.7 GHC==9.0.2 GHC==9.2.8 GHC==9.4.5 GHC==9.6.4 GHC==9.8.2 GHC==9.10.1 GHC==9.12.1
2929

3030
source-repository head
3131
Type: git

0 commit comments

Comments
 (0)