From fc3d589a9a1e15c5253215ea3310dabbf99dcce0 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Wed, 29 Nov 2023 12:52:43 +0530 Subject: [PATCH] Relax upper bound of dependencies Allow the following, - base-4.20.* - hspec-2.12.* - deepseq-1.6.* - text-2.1.* --- .../unicode-data-text/unicode-data-text.cabal | 18 +++++++++--------- ucd2haskell/ucd2haskell.cabal | 6 +++--- unicode-data-names/unicode-data-names.cabal | 10 +++++----- .../unicode-data-scripts.cabal | 10 +++++----- .../unicode-data-security.cabal | 10 +++++----- unicode-data/unicode-data.cabal | 10 +++++----- 6 files changed, 32 insertions(+), 32 deletions(-) diff --git a/experimental/unicode-data-text/unicode-data-text.cabal b/experimental/unicode-data-text/unicode-data-text.cabal index bf11b4ba..39b5d45a 100644 --- a/experimental/unicode-data-text/unicode-data-text.cabal +++ b/experimental/unicode-data-text/unicode-data-text.cabal @@ -64,8 +64,8 @@ library hs-source-dirs: lib build-depends: - base >= 4.7 && < 4.19, - text >= 1.2.4 && < 2.1, + base >= 4.7 && < 4.20, + text >= 1.2.4 && < 2.2, unicode-data >= 0.3 && < 0.5 test-suite test @@ -77,12 +77,12 @@ test-suite test other-modules: Unicode.Text.CaseSpec build-depends: - base >= 4.7 && < 4.19, - hspec >= 2.0 && < 2.11, - text >= 1.2.4 && < 2.1, + base >= 4.7 && < 4.20, + hspec >= 2.0 && < 2.12, + text >= 1.2.4 && < 2.2, unicode-data-text build-tool-depends: - hspec-discover:hspec-discover >= 2.0 && < 2.11 + hspec-discover:hspec-discover >= 2.0 && < 2.12 if impl(ghc >= 9.5.1) && impl(ghc < 9.8.0) cpp-options: -DCOMPATIBLE_GHC_UNICODE @@ -92,11 +92,11 @@ benchmark bench hs-source-dirs: bench main-is: Main.hs build-depends: - base >= 4.7 && < 4.19, - deepseq >= 1.1 && < 1.5, + base >= 4.7 && < 4.20, + deepseq >= 1.1 && < 1.6, tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1 && < 1.5, - text >= 1.2.4 && < 2.1, + text >= 1.2.4 && < 2.2, unicode-data >= 0.3 && < 0.5, unicode-data-text -- [NOTE] Recommendation of tasty-bench to reduce garbage collection noisiness diff --git a/ucd2haskell/ucd2haskell.cabal b/ucd2haskell/ucd2haskell.cabal index 690169d1..774740bc 100644 --- a/ucd2haskell/ucd2haskell.cabal +++ b/ucd2haskell/ucd2haskell.cabal @@ -70,7 +70,7 @@ executable ucd2haskell if flag(ucd2haskell) buildable: True build-depends: - base >= 4.7 && < 4.19 + base >= 4.7 && < 4.20 , containers >= 0.5 && < 0.7 , directory >= 1.3.6 && < 1.4 , filepath >= 1.4.100 && < 1.5 @@ -92,10 +92,10 @@ executable test if flag(ucd2haskell) buildable: True build-depends: - base >= 4.7 && < 4.19 + base >= 4.7 && < 4.20 , directory >= 1.3.6 && < 1.4 , filepath >= 1.4.100 && < 1.5 - , hspec >= 2.0 && < 2.11 + , hspec >= 2.0 && < 2.12 , HUnit >= 1.6.2 && < 1.7 , split >= 0.2.3 && < 0.3 , unicode-data diff --git a/unicode-data-names/unicode-data-names.cabal b/unicode-data-names/unicode-data-names.cabal index 44eb22ce..08169ea9 100644 --- a/unicode-data-names/unicode-data-names.cabal +++ b/unicode-data-names/unicode-data-names.cabal @@ -84,7 +84,7 @@ library hs-source-dirs: lib build-depends: - base >= 4.7 && < 4.19, + base >= 4.7 && < 4.20, test-suite test import: default-extensions, compile-options @@ -95,8 +95,8 @@ test-suite test other-modules: Unicode.Char.General.NamesSpec build-depends: - base >= 4.7 && < 4.19 - , hspec >= 2.0 && < 2.11 + base >= 4.7 && < 4.20 + , hspec >= 2.0 && < 2.12 , unicode-data >= 0.4 && < 0.5 , unicode-data-names @@ -120,8 +120,8 @@ benchmark bench hs-source-dirs: bench main-is: Main.hs build-depends: - base >= 4.7 && < 4.19, - deepseq >= 1.1 && < 1.5, + base >= 4.7 && < 4.20, + deepseq >= 1.1 && < 1.6, tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1 && < 1.5, unicode-data-names diff --git a/unicode-data-scripts/unicode-data-scripts.cabal b/unicode-data-scripts/unicode-data-scripts.cabal index e13c7bb7..c17e5f3f 100644 --- a/unicode-data-scripts/unicode-data-scripts.cabal +++ b/unicode-data-scripts/unicode-data-scripts.cabal @@ -76,7 +76,7 @@ library hs-source-dirs: lib build-depends: - base >= 4.7 && < 4.19 + base >= 4.7 && < 4.20 , unicode-data >= 0.4 && < 0.5 test-suite test @@ -88,8 +88,8 @@ test-suite test other-modules: Unicode.Char.General.ScriptsSpec build-depends: - base >= 4.7 && < 4.19 - , hspec >= 2.0 && < 2.11 + base >= 4.7 && < 4.20 + , hspec >= 2.0 && < 2.12 , unicode-data , unicode-data-scripts @@ -99,8 +99,8 @@ benchmark bench hs-source-dirs: bench main-is: Main.hs build-depends: - base >= 4.7 && < 4.19, - deepseq >= 1.1 && < 1.5, + base >= 4.7 && < 4.20, + deepseq >= 1.1 && < 1.6, tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1 && < 1.5, unicode-data, diff --git a/unicode-data-security/unicode-data-security.cabal b/unicode-data-security/unicode-data-security.cabal index 5ea1229e..8187d5ff 100644 --- a/unicode-data-security/unicode-data-security.cabal +++ b/unicode-data-security/unicode-data-security.cabal @@ -78,7 +78,7 @@ library hs-source-dirs: lib build-depends: - base >= 4.7 && < 4.19 + base >= 4.7 && < 4.20 , unicode-data >= 0.4 && < 0.5 test-suite test @@ -90,8 +90,8 @@ test-suite test other-modules: Unicode.Char.Identifiers.SecuritySpec build-depends: - base >= 4.7 && < 4.19 - , hspec >= 2.0 && < 2.11 + base >= 4.7 && < 4.20 + , hspec >= 2.0 && < 2.12 , unicode-data-security benchmark bench @@ -100,8 +100,8 @@ benchmark bench hs-source-dirs: bench main-is: Main.hs build-depends: - base >= 4.7 && < 4.19, - deepseq >= 1.1 && < 1.5, + base >= 4.7 && < 4.20, + deepseq >= 1.1 && < 1.6, tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1, unicode-data-security diff --git a/unicode-data/unicode-data.cabal b/unicode-data/unicode-data.cabal index b5e421d7..e24a43c5 100644 --- a/unicode-data/unicode-data.cabal +++ b/unicode-data/unicode-data.cabal @@ -108,7 +108,7 @@ library hs-source-dirs: lib ghc-options: -O2 build-depends: - base >=4.7 && <4.19 + base >=4.7 && < 4.20 test-suite test import: default-extensions, compile-options @@ -119,8 +119,8 @@ test-suite test other-modules: Unicode.CharSpec build-depends: - base >= 4.7 && < 4.19 - , hspec >= 2.0 && < 2.11 + base >= 4.7 && < 4.20 + , hspec >= 2.0 && < 2.12 , unicode-data -- We need to match a GHC version with the same Unicode version. -- See: test/Unicode/CharSpec.hs for compatibility table. @@ -144,8 +144,8 @@ benchmark bench Unicode.Char.NumericBench Unicode.Char.Numeric.CompatBench build-depends: - base >= 4.7 && < 4.19, - deepseq >= 1.1 && < 1.5, + base >= 4.7 && < 4.20, + deepseq >= 1.1 && < 1.6, tasty-bench >= 0.2.5 && < 0.4, tasty >= 1.4.1 && < 1.5, unicode-data