From 612038585a8a455193a6ffc65117a3befa4651f0 Mon Sep 17 00:00:00 2001 From: Oleg Grenrus Date: Tue, 28 May 2019 15:27:52 +0300 Subject: [PATCH] Allow newer network, semigroups, hashable, machines --- .travis.yml | 12 ++++++++++++ cabal.project | 12 ++++++++++++ servant-client/servant-client.cabal | 2 +- servant-docs/servant-docs.cabal | 2 +- servant-http-streams/servant-http-streams.cabal | 2 +- servant-machines/servant-machines.cabal | 2 +- servant-server/servant-server.cabal | 2 +- 7 files changed, 29 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 16eb7385..7e260428 100644 --- a/.travis.yml +++ b/.travis.yml @@ -131,6 +131,12 @@ install: echo "allow-newer: servant-quickcheck:servant-server" >> cabal.project echo "allow-newer: servant-quickcheck:hspec" >> cabal.project echo "allow-newer: servant-quickcheck:http-client" >> cabal.project + echo "allow-newer: vault-0.3.1.2:hashable" >> cabal.project + echo "allow-newer: psqueues-0.2.7.1:hashable" >> cabal.project + echo "allow-newer: sqlite-simple-0.4.16.0:semigroups" >> cabal.project + echo "allow-newer: direct-sqlite-2.3.24:semigroups" >> cabal.project + echo "allow-newer: io-streams-1.5.1.0:network" >> cabal.project + echo "allow-newer: openssl-streams-1.2.2.0:network" >> cabal.project echo "optimization: False" >> cabal.project echo "write-ghc-environment-files: always" >> cabal.project - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-db-sqlite-simple|cookbook-file-upload|cookbook-generic|cookbook-https|cookbook-pagination|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done" @@ -210,6 +216,12 @@ script: echo "allow-newer: servant-quickcheck:servant-server" >> cabal.project echo "allow-newer: servant-quickcheck:hspec" >> cabal.project echo "allow-newer: servant-quickcheck:http-client" >> cabal.project + echo "allow-newer: vault-0.3.1.2:hashable" >> cabal.project + echo "allow-newer: psqueues-0.2.7.1:hashable" >> cabal.project + echo "allow-newer: sqlite-simple-0.4.16.0:semigroups" >> cabal.project + echo "allow-newer: direct-sqlite-2.3.24:semigroups" >> cabal.project + echo "allow-newer: io-streams-1.5.1.0:network" >> cabal.project + echo "allow-newer: openssl-streams-1.2.2.0:network" >> cabal.project echo "optimization: False" >> cabal.project echo "write-ghc-environment-files: always" >> cabal.project - "for pkg in $($HCPKG list --simple-output); do echo $pkg | sed 's/-[^-]*$//' | (grep -vE -- '^(cookbook-basic-auth|cookbook-basic-streaming|cookbook-curl-mock|cookbook-db-postgres-pool|cookbook-db-sqlite-simple|cookbook-file-upload|cookbook-generic|cookbook-https|cookbook-pagination|cookbook-structuring-apis|cookbook-testing|cookbook-using-custom-monad|cookbook-using-free-client|servant|servant-client|servant-client-core|servant-conduit|servant-docs|servant-foreign|servant-http-streams|servant-machines|servant-pipes|servant-server|tutorial)$' || true) | sed 's/^/constraints: /' | sed 's/$/ installed/' >> cabal.project.local; done" diff --git a/cabal.project b/cabal.project index 010472ed..c4420197 100644 --- a/cabal.project +++ b/cabal.project @@ -52,3 +52,15 @@ allow-newer: servant-quickcheck:servant, servant-quickcheck:servant-client, servant-quickcheck:servant-server, servant-quickcheck:hspec, servant-quickcheck:http-client + +-- constraints: semigroups ^>=0.19 +-- constraints: hashable ^>=1.3 +-- constraints: network ^>=3.1 +-- constraints: machines ^>=0.7 + +allow-newer: vault-0.3.1.2:hashable +allow-newer: psqueues-0.2.7.1:hashable +allow-newer: sqlite-simple-0.4.16.0:semigroups +allow-newer: direct-sqlite-2.3.24:semigroups +allow-newer: io-streams-1.5.1.0:network +allow-newer: openssl-streams-1.2.2.0:network diff --git a/servant-client/servant-client.cabal b/servant-client/servant-client.cabal index 410dc8fe..83c63501 100644 --- a/servant-client/servant-client.cabal +++ b/servant-client/servant-client.cabal @@ -124,7 +124,7 @@ test-suite spec entropy >= 0.4.1.3 && < 0.5 , hspec >= 2.6.0 && < 2.8 , HUnit >= 1.6.0.0 && < 1.7 - , network >= 2.8.0.0 && < 3.1 + , network >= 2.8.0.0 && < 3.2 , QuickCheck >= 2.12.6.1 && < 2.14 , servant == 0.16.* , servant-server == 0.16.* diff --git a/servant-docs/servant-docs.cabal b/servant-docs/servant-docs.cabal index 0b44e50f..eccaaa9f 100644 --- a/servant-docs/servant-docs.cabal +++ b/servant-docs/servant-docs.cabal @@ -62,7 +62,7 @@ library , base-compat >= 0.10.5 && < 0.11 , case-insensitive >= 1.2.0.11 && < 1.3 , control-monad-omega >= 0.3.1 && < 0.4 - , hashable >= 1.2.7.0 && < 1.3 + , hashable >= 1.2.7.0 && < 1.4 , http-media >= 0.7.1.3 && < 0.9 , http-types >= 0.12.2 && < 0.13 , lens >= 4.17 && < 4.18 diff --git a/servant-http-streams/servant-http-streams.cabal b/servant-http-streams/servant-http-streams.cabal index f4a16726..4774de23 100644 --- a/servant-http-streams/servant-http-streams.cabal +++ b/servant-http-streams/servant-http-streams.cabal @@ -118,7 +118,7 @@ test-suite spec entropy >= 0.4.1.3 && < 0.5 , hspec >= 2.6.0 && < 2.8 , HUnit >= 1.6.0.0 && < 1.7 - , network >= 2.8.0.0 && < 3.1 + , network >= 2.8.0.0 && < 3.2 , QuickCheck >= 2.12.6.1 && < 2.14 , servant == 0.16.* , servant-server == 0.16.* diff --git a/servant-machines/servant-machines.cabal b/servant-machines/servant-machines.cabal index 2d09ba48..9a5ca435 100644 --- a/servant-machines/servant-machines.cabal +++ b/servant-machines/servant-machines.cabal @@ -35,7 +35,7 @@ library build-depends: base >=4.9 && <5 , bytestring >=0.10.8.1 && <0.11 - , machines >=0.6.4 && <0.7 + , machines >=0.6.4 && <0.8 , mtl >=2.2.2 && <2.3 , servant >=0.15 && <0.17 hs-source-dirs: src diff --git a/servant-server/servant-server.cabal b/servant-server/servant-server.cabal index 01e1e4d9..62f8db55 100644 --- a/servant-server/servant-server.cabal +++ b/servant-server/servant-server.cabal @@ -92,7 +92,7 @@ library , http-types >= 0.12.2 && < 0.13 , network-uri >= 2.6.1.0 && < 2.8 , monad-control >= 1.0.2.3 && < 1.1 - , network >= 2.8 && < 3.1 + , network >= 2.8 && < 3.2 , string-conversions >= 0.4.0.1 && < 0.5 , resourcet >= 1.2.2 && < 1.3 , tagged >= 0.8.6 && < 0.9