From 72e0d20ddd52a703634c991242deb6994c018eca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20L=C3=A4ndle?= Date: Sun, 7 Jul 2024 19:31:39 +0200 Subject: [PATCH] Support Cabal 3.12. --- package.yaml | 4 ++-- polysemy-plugin/package.yaml | 4 ++-- polysemy-plugin/polysemy-plugin.cabal | 6 +++--- polysemy.cabal | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package.yaml b/package.yaml index cfcda7db..1c4a552b 100644 --- a/package.yaml +++ b/package.yaml @@ -18,7 +18,7 @@ description: Please see the README on GitHub at = 4.9 && < 5 -- containers >= 0.5 && < 0.7 +- containers >= 0.5 && < 0.8 - mtl >= 2.2.2 && < 3 - syb >= 0.7 && < 0.8 - stm >= 2 && < 3 @@ -33,7 +33,7 @@ dependencies: custom-setup: dependencies: - base >= 4.9 && < 5 - - Cabal <3.11 + - Cabal <3.13 - cabal-doctest >=1.0.6 && <1.1 default-extensions: diff --git a/polysemy-plugin/package.yaml b/polysemy-plugin/package.yaml index 98fa576f..e8d555fd 100644 --- a/polysemy-plugin/package.yaml +++ b/polysemy-plugin/package.yaml @@ -23,12 +23,12 @@ dependencies: - polysemy >= 1.7 - syb >= 0.7 && < 0.8 - transformers >= 0.5.2.0 && < 0.7 -- containers >= 0.5 && < 0.7 +- containers >= 0.5 && < 0.8 custom-setup: dependencies: - base >= 4.9 && < 5 - - Cabal <3.11 + - Cabal <3.13 - cabal-doctest >=1.0.6 && <1.1 library: diff --git a/polysemy-plugin/polysemy-plugin.cabal b/polysemy-plugin/polysemy-plugin.cabal index 6b4affc1..57951ccc 100644 --- a/polysemy-plugin/polysemy-plugin.cabal +++ b/polysemy-plugin/polysemy-plugin.cabal @@ -27,7 +27,7 @@ source-repository head custom-setup setup-depends: - Cabal <3.11 + Cabal <3.13 , base >=4.9 && <5 , cabal-doctest >=1.0.6 && <1.1 @@ -65,7 +65,7 @@ library UnicodeSyntax build-depends: base >=4.9 && <5 - , containers >=0.5 && <0.7 + , containers >=0.5 && <0.8 , ghc >=8.6.5 && <10 , ghc-tcplugins-extra >=0.3 && <0.5 , polysemy >=1.7 @@ -110,7 +110,7 @@ test-suite polysemy-plugin-test ghc-options: -threaded -rtsopts -with-rtsopts=-N -fplugin=Polysemy.Plugin build-depends: base >=4.9 && <5 - , containers >=0.5 && <0.7 + , containers >=0.5 && <0.8 , doctest >=0.16.0.1 && <0.23 , ghc >=8.6.5 && <10 , ghc-tcplugins-extra >=0.3 && <0.5 diff --git a/polysemy.cabal b/polysemy.cabal index 4826c02b..31201b39 100644 --- a/polysemy.cabal +++ b/polysemy.cabal @@ -27,7 +27,7 @@ source-repository head custom-setup setup-depends: - Cabal <3.11 + Cabal <3.13 , base >=4.9 && <5 , cabal-doctest >=1.0.6 && <1.1 @@ -100,7 +100,7 @@ library build-depends: async >=2.2 && <3 , base >=4.9 && <5 - , containers >=0.5 && <0.7 + , containers >=0.5 && <0.8 , first-class-families >=0.5.0.0 && <0.9 , mtl >=2.2.2 && <3 , stm ==2.* @@ -166,7 +166,7 @@ test-suite polysemy-test build-depends: async >=2.2 && <3 , base >=4.9 && <5 - , containers >=0.5 && <0.7 + , containers >=0.5 && <0.8 , doctest >=0.16.0.1 && <0.23 , first-class-families >=0.5.0.0 && <0.9 , hspec >=2.6.0 && <3