Skip to content

Commit 33bf088

Browse files
Relax upper bounds in dependencies.
1 parent 2dd3d76 commit 33bf088

File tree

6 files changed

+16
-11
lines changed

6 files changed

+16
-11
lines changed

benchmarks/Channels.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ initialProcess "CLIENT" = do
3636
main :: IO ()
3737
main = do
3838
[role, host, port] <- getArgs
39-
Right transport <- createTransport host port defaultTCPParameters
39+
Right transport <- createTransport
40+
host port (\sn -> (host, port)) defaultTCPParameters
4041
node <- newLocalNode transport initRemoteTable
4142
runProcess node $ initialProcess role

benchmarks/Latency.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ initialProcess "CLIENT" = do
3131
main :: IO ()
3232
main = do
3333
[role, host, port] <- getArgs
34-
Right transport <- createTransport host port defaultTCPParameters
34+
Right transport <- createTransport
35+
host port (\sn -> (host, sn)) defaultTCPParameters
3536
node <- newLocalNode transport initRemoteTable
3637
runProcess node $ initialProcess role

benchmarks/ProcessRing.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ main = do
110110
argv <- getArgs
111111
(opt, _) <- parseArgv argv
112112
putStrLn $ "options: " ++ (show opt)
113-
Right transport <- createTransport "127.0.0.1" "8090" defaultTCPParameters
113+
Right transport <- createTransport
114+
"127.0.0.1" "8090" (\sn -> ("127.0.0.1", sn)) defaultTCPParameters
114115
node <- newLocalNode transport initRemoteTable
115116
catch (void $ runProcess node $ initialProcess opt)
116117
(\(e :: SomeException) -> putStrLn $ "ERROR: " ++ (show e))

benchmarks/Spawns.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ initialProcess "CLIENT" = do
4242
main :: IO ()
4343
main = do
4444
[role, host, port] <- getArgs
45-
Right transport <- createTransport host port defaultTCPParameters
45+
Right transport <- createTransport
46+
host port (\sn -> (host, sn)) defaultTCPParameters
4647
node <- newLocalNode transport initRemoteTable
4748
runProcess node $ initialProcess role

benchmarks/Throughput.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ initialProcess "CLIENT" = do
6767
main :: IO ()
6868
main = do
6969
[role, host, port] <- getArgs
70-
Right transport <- createTransport host port defaultTCPParameters
70+
Right transport <- createTransport
71+
host port (\sn -> (host, sn)) defaultTCPParameters
7172
node <- newLocalNode transport initRemoteTable
7273
runProcess node $ initialProcess role

distributed-process.cabal

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Library
5252
bytestring >= 0.9 && < 0.11,
5353
random >= 1.0 && < 1.2,
5454
distributed-static >= 0.2 && < 0.4,
55-
rank1dynamic >= 0.1 && < 0.4,
55+
rank1dynamic >= 0.1 && < 0.5,
5656
syb >= 0.3 && < 0.8,
5757
exceptions >= 0.5,
5858
containers >= 0.5 && < 0.6,
@@ -121,7 +121,7 @@ benchmark distributed-process-throughput
121121
Type: exitcode-stdio-1.0
122122
Build-Depends: base >= 4.6 && < 5,
123123
distributed-process,
124-
network-transport-tcp >= 0.3 && < 0.6,
124+
network-transport-tcp >= 0.3 && < 0.7,
125125
bytestring >= 0.9 && < 0.11,
126126
binary >= 0.6.3 && < 0.9
127127
Main-Is: benchmarks/Throughput.hs
@@ -131,7 +131,7 @@ benchmark distributed-process-latency
131131
Type: exitcode-stdio-1.0
132132
Build-Depends: base >= 4.6 && < 5,
133133
distributed-process,
134-
network-transport-tcp >= 0.3 && < 0.6,
134+
network-transport-tcp >= 0.3 && < 0.7,
135135
bytestring >= 0.9 && < 0.11,
136136
binary >= 0.6.3 && < 0.9
137137
Main-Is: benchmarks/Latency.hs
@@ -141,7 +141,7 @@ benchmark distributed-process-channels
141141
Type: exitcode-stdio-1.0
142142
Build-Depends: base >= 4.6 && < 5,
143143
distributed-process,
144-
network-transport-tcp >= 0.3 && < 0.6,
144+
network-transport-tcp >= 0.3 && < 0.7,
145145
bytestring >= 0.9 && < 0.11,
146146
binary >= 0.6.3 && < 0.9
147147
Main-Is: benchmarks/Channels.hs
@@ -151,7 +151,7 @@ benchmark distributed-process-spawns
151151
Type: exitcode-stdio-1.0
152152
Build-Depends: base >= 4.6 && < 5,
153153
distributed-process,
154-
network-transport-tcp >= 0.3 && < 0.6,
154+
network-transport-tcp >= 0.3 && < 0.7,
155155
bytestring >= 0.9 && < 0.11,
156156
binary >= 0.6.3 && < 0.9
157157
Main-Is: benchmarks/Spawns.hs
@@ -161,7 +161,7 @@ benchmark distributed-process-ring
161161
Type: exitcode-stdio-1.0
162162
Build-Depends: base >= 4.6 && < 5,
163163
distributed-process,
164-
network-transport-tcp >= 0.3 && < 0.6,
164+
network-transport-tcp >= 0.3 && < 0.7,
165165
bytestring >= 0.9 && < 0.11,
166166
binary >= 0.6.3 && < 0.9
167167
Main-Is: benchmarks/ProcessRing.hs

0 commit comments

Comments
 (0)