Skip to content
This repository was archived by the owner on Feb 15, 2025. It is now read-only.

Commit 3c26cc1

Browse files
committed
Bump dependencies and adjust for nt-tcp API changes
1 parent f77e0dc commit 3c26cc1

File tree

3 files changed

+28
-17
lines changed

3 files changed

+28
-17
lines changed

distributed-process-fsm.cabal

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ cabal-version: >=1.8
44
build-type: Simple
55
license: BSD3
66
license-file: LICENCE
7-
stability: experimental
87
Copyright: Tim Watson 2017
98
Author: Tim Watson
109
Maintainer: Tim Watson <watson.timothy@gmail.com>
@@ -24,18 +23,18 @@ source-repository head
2423
library
2524
build-depends:
2625
base >= 4.8.2.0 && < 5,
27-
distributed-process >= 0.6.6 && < 0.7,
26+
distributed-process >= 0.6.6 && < 0.8,
2827
distributed-process-extras >= 0.3.1 && < 0.4,
29-
distributed-process-client-server >= 0.2.1 && < 0.3,
28+
distributed-process-client-server >= 0.2.5.1 && < 0.3,
3029
binary >= 0.6.3.0 && < 0.9,
3130
deepseq >= 1.3.0.1 && < 1.6,
3231
mtl,
3332
containers >= 0.4 && < 0.6,
3433
unordered-containers >= 0.2.3.0 && < 0.3,
3534
stm >= 2.4 && < 2.5,
36-
time > 1.4 && < 1.8,
35+
time > 1.4 && < 1.9,
3736
transformers,
38-
exceptions >= 0.5
37+
exceptions >= 0.5 && < 11
3938
extensions: CPP
4039
hs-source-dirs: src
4140
ghc-options: -Wall
@@ -52,12 +51,13 @@ test-suite FsmTests
5251
base >= 4.4 && < 5,
5352
ansi-terminal >= 0.5 && < 0.7,
5453
network >= 2.3 && < 2.7,
55-
network-transport >= 0.4 && < 0.5,
56-
network-transport-tcp >= 0.4 && < 0.6,
57-
distributed-process >= 0.6.6 && < 0.7,
58-
distributed-process-fsm,
54+
network-transport >= 0.4 && < 0.6,
55+
network-transport-tcp >= 0.4 && < 0.7,
56+
distributed-process >= 0.6.6 && < 0.8,
5957
distributed-process-extras >= 0.3.1 && < 0.4,
60-
distributed-process-systest >= 0.1.1 && < 0.2,
58+
distributed-process-client-server >= 0.2.5.1 && < 0.3,
59+
distributed-process-fsm,
60+
distributed-process-systest >= 0.1.1 && < 0.3,
6161
distributed-static,
6262
binary >= 0.6.3.0 && < 0.9,
6363
bytestring,

stack.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,22 @@
1-
resolver: nightly-2017-02-03
1+
resolver: lts-11.13
22

33
packages:
44
- '.'
5+
- location:
6+
git: https://github.com/haskell-distributed/distributed-process-systest.git
7+
commit: b4a6b646adb6c81725ddac4babcfc21b86944d98
8+
extra-dep: true
59

610
extra-deps:
7-
- distributed-process-0.6.6 # missing snapshot
8-
- distributed-process-extras-0.3.1 # missing snapshot
9-
- distributed-process-async-0.2.4 # missing snapshot
10-
- distributed-process-systest-0.1.1 # missing prior to Jan-2017
11-
- distributed-process-client-server-0.2.1
11+
- ansi-terminal-0.6.3.1
12+
- network-transport-0.5.2
13+
- network-transport-tcp-0.6.0
14+
- network-transport-inmemory-0.5.2
15+
- distributed-process-0.7.4 # missing snapshot
1216
- rematch-0.2.0.0
17+
- distributed-process-extras-0.3.5
18+
- distributed-process-async-0.2.6
19+
- exceptions-0.10.0
20+
- rank1dynamic-0.4.0
21+
- distributed-static-0.3.8
22+
- distributed-process-client-server-0.2.5.1

tests/TestFSM.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{-# LANGUAGE ScopedTypeVariables #-}
33
{-# LANGUAGE DeriveDataTypeable #-}
44
{-# LANGUAGE DeriveGeneric #-}
5+
{-# LANGUAGE TupleSections #-}
56

67
module Main where
78

@@ -292,6 +293,6 @@ main = testMain $ tests
292293
testMain :: (NT.Transport -> IO [Test]) -> IO ()
293294
testMain builder = do
294295
Right (transport, _) <- createTransportExposeInternals
295-
"127.0.0.1" "10501" defaultTCPParameters
296+
"127.0.0.1" "0" ("127.0.0.1",) defaultTCPParameters
296297
testData <- builder transport
297298
defaultMain testData

0 commit comments

Comments
 (0)