From 507f0a4671e05027a0521066bebc70f8755da97e Mon Sep 17 00:00:00 2001 From: Maxim Koltsov Date: Fri, 14 May 2021 12:34:04 +0300 Subject: [PATCH] Allow hspec < 2.9 https://github.com/commercialhaskell/stackage/issues/6010 --- servant-client-core/servant-client-core.cabal | 4 ++-- servant-client/servant-client.cabal | 4 ++-- servant-foreign/servant-foreign.cabal | 5 ++--- servant-http-streams/servant-http-streams.cabal | 4 ++-- servant-server/servant-server.cabal | 4 ++-- servant/servant.cabal | 4 ++-- 6 files changed, 12 insertions(+), 13 deletions(-) diff --git a/servant-client-core/servant-client-core.cabal b/servant-client-core/servant-client-core.cabal index 9c99f10c..61de0ce8 100644 --- a/servant-client-core/servant-client-core.cabal +++ b/servant-client-core/servant-client-core.cabal @@ -103,8 +103,8 @@ test-suite spec -- Additional dependencies build-depends: deepseq >= 1.4.2.0 && < 1.5 - , hspec >= 2.6.0 && < 2.8 + , hspec >= 2.6.0 && < 2.9 , QuickCheck >= 2.12.6.1 && < 2.15 build-tool-depends: - hspec-discover:hspec-discover >= 2.6.0 && <2.8 + hspec-discover:hspec-discover >= 2.6.0 && <2.9 diff --git a/servant-client/servant-client.cabal b/servant-client/servant-client.cabal index 9f6a6f64..7c350257 100644 --- a/servant-client/servant-client.cabal +++ b/servant-client/servant-client.cabal @@ -119,7 +119,7 @@ test-suite spec -- Additional dependencies build-depends: entropy >= 0.4.1.3 && < 0.5 - , hspec >= 2.6.0 && < 2.8 + , hspec >= 2.6.0 && < 2.9 , HUnit >= 1.6.0.0 && < 1.7 , network >= 2.8.0.0 && < 3.2 , QuickCheck >= 2.12.6.1 && < 2.15 @@ -128,7 +128,7 @@ test-suite spec , tdigest >= 0.2 && < 0.3 build-tool-depends: - hspec-discover:hspec-discover >= 2.6.0 && < 2.8 + hspec-discover:hspec-discover >= 2.6.0 && < 2.9 test-suite readme type: exitcode-stdio-1.0 diff --git a/servant-foreign/servant-foreign.cabal b/servant-foreign/servant-foreign.cabal index 5a821369..4ce32d2d 100644 --- a/servant-foreign/servant-foreign.cabal +++ b/servant-foreign/servant-foreign.cabal @@ -74,8 +74,7 @@ test-suite spec -- Additional dependencies build-depends: - hspec >= 2.6.0 && <2.8 - + hspec >= 2.6.0 && <2.9 build-tool-depends: - hspec-discover:hspec-discover >=2.6.0 && <2.8 + hspec-discover:hspec-discover >=2.6.0 && <2.9 default-language: Haskell2010 diff --git a/servant-http-streams/servant-http-streams.cabal b/servant-http-streams/servant-http-streams.cabal index 055dc3d5..ecdee5c6 100644 --- a/servant-http-streams/servant-http-streams.cabal +++ b/servant-http-streams/servant-http-streams.cabal @@ -112,7 +112,7 @@ test-suite spec -- Additional dependencies build-depends: entropy >= 0.4.1.3 && < 0.5 - , hspec >= 2.6.0 && < 2.8 + , hspec >= 2.6.0 && < 2.9 , HUnit >= 1.6.0.0 && < 1.7 , network >= 2.8.0.0 && < 3.2 , QuickCheck >= 2.12.6.1 && < 2.15 @@ -121,7 +121,7 @@ test-suite spec , tdigest >= 0.2 && < 0.3 build-tool-depends: - hspec-discover:hspec-discover >= 2.6.0 && < 2.8 + hspec-discover:hspec-discover >= 2.6.0 && < 2.9 test-suite readme type: exitcode-stdio-1.0 diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index f4833943..98c65d26 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -157,7 +157,7 @@ test-suite spec build-depends: aeson >= 1.4.1.0 && < 1.6 , directory >= 1.3.0.0 && < 1.4 - , hspec >= 2.6.0 && < 2.8 + , hspec >= 2.6.0 && < 2.9 , hspec-wai >= 0.10.1 && < 0.12 , QuickCheck >= 2.12.6.1 && < 2.15 , should-not-typecheck >= 2.1.0 && < 2.2 @@ -165,4 +165,4 @@ test-suite spec , wai-extra >= 3.0.24.3 && < 3.2 build-tool-depends: - hspec-discover:hspec-discover >= 2.6.0 && <2.8 + hspec-discover:hspec-discover >= 2.6.0 && <2.9 diff --git a/servant/servant.cabal b/servant/servant.cabal index d5d8d62f..543887a3 100644 --- a/servant/servant.cabal +++ b/servant/servant.cabal @@ -163,9 +163,9 @@ test-suite spec -- Additional dependencies build-depends: - hspec >= 2.6.0 && < 2.8 + hspec >= 2.6.0 && < 2.9 , QuickCheck >= 2.12.6.1 && < 2.15 , quickcheck-instances >= 0.3.19 && < 0.4 build-tool-depends: - hspec-discover:hspec-discover >= 2.6.0 && < 2.8 + hspec-discover:hspec-discover >= 2.6.0 && < 2.9